Commit Graph

40567 Commits

Author SHA1 Message Date
Jon Coppeard
ae7b086920 Bug 1171430 - Do not poison the nursery's chunk kind marker; r=terrence 2015-06-10 04:11:00 -07:00
Thomas Escalon
c051c4896e Bug 1132189 - Rename "Analysis Helper" thread. r=bhackett 2015-06-09 09:02:11 +02:00
Benjamin Bouvier
e4bc6fd109 Bug 1172824: Initialize a few members in CompartmentCheckTracer (CID 1304705); r=terrence 2015-06-09 10:27:51 +02:00
Benjamin Bouvier
adc2c95688 Bug 1172824: Initialize a few more members in VerifyPreTracer (CID 1304706); r=terrence 2015-06-09 10:20:54 +02:00
Benjamin Bouvier
6156ef9f94 Bug 1172824: Close dumpFile in case of error in DumpHeap (CID 1302587); r=jonco 2015-06-09 10:15:52 +02:00
Hannes Verschore
3c87431a7f Bug 1139376: Ionmonkey - Make removing of guards aware of phis, r=nbp 2015-06-02 12:25:45 +02:00
Lars T Hansen
80635ab557 Bug 1172638 - guard a test case. r=bbouvier 2015-06-09 13:15:34 +02:00
Mike Hommey
84d277f514 Bug 1169769 - Stop pretending js/src is a top-level directory. r=gps
It hasn't been a top-level directory since bug 969164.
2015-06-10 10:49:23 +09:00
Mike Hommey
555150fd1b bug 1172632 - Move some allocator related configure checks in a common location for both top-level and js/src to use. r=mshal 2015-06-10 10:49:22 +09:00
Birunthan Mohanathas
9e7d61cd4e Bug 1170758 - Make non-debug GraphSpewer constructor explicit. r=nbp 2015-06-02 15:10:16 -07:00
Steve Fink
33bdecf15d Bug 1172682 - Comment and refactor analysis code, r=terrence
The one change this patch makes in functionality is that it properly computes minimumUse in more cases, in anticipation of it being used for hazards (in addition to its current use for unnecessary roots).
2015-06-09 14:53:40 -07:00
Steve Fink
6485c83563 No bug. Add a --function argument for analyzing a single function by name. 2015-06-09 14:53:17 -07:00
Steve Fink
e911b79d0e Bug 1166101 - redirect aka os.file.redirect should not be available in fuzzing mode 2015-06-08 12:32:17 -07:00
Paolo Amadini
e904f4aadc Bug 1158133 - Add a way to disable async stacks, and disable by default on mobile platforms. r=bent,jimb 2015-06-09 11:17:09 +02:00
Jason Orendorff
aaf72f9205 Bug 1125624, part 1 - Implement ValidateAndApplyPropertyDescriptor steps 3-4, so that (once the corresponding code in StandardDefineProperty is deleted) freezing an already-frozen object with an addProperty class hook will not call the hook. r=Waldo.
Calling the hook is bad because sometimes the object is an XPConnect object with an addProperty hook that always throws.
2015-05-12 10:24:30 -05:00
Brian Hackett
4e28a50789 Bug 1172545 - Recover from OOM if Ion compilation is skipped due to not being able to allocate a 'this' object, r=jandem. 2015-06-11 08:38:59 -07:00
Jon Coppeard
bcb8413004 Bug 1172641 - Fix class tests to not fail on builds where classes are not enabled. r=shu 2015-06-09 07:20:00 +02:00
Carsten "Tomcat" Book
ebee852547 Backed out changeset 136d0f3fe47c (bug 1172193) for causing bc3 leaks in browser_notifications.js on a CLOSED TREE 2015-06-11 16:35:44 +02:00
Carsten "Tomcat" Book
f34572553c Backed out changeset bf800c62eeba (bug 1172641) 2015-06-11 16:35:09 +02:00
Benjamin Bouvier
669d22b3d7 Bug 1172895: Raise the stack size limit for JS helper threads; r=bhackett 2015-06-09 23:09:37 +02:00
Nicolas B. Pierron
01b5681a22 Bug 1166711 part 2.7 - ScalarReplacement: Replace M{Store,Load}UnboxedString by an offset on the MObjectState. r=bhackett 2015-06-11 14:30:34 +02:00
Nicolas B. Pierron
563e2fe0c1 Bug 1166711 part 2.6 - ScalarReplacement: Replace M{Store,Load}UnboxedObjectOrNull by an offset on the MObjectState. r=bhackett 2015-06-11 14:30:34 +02:00
Nicolas B. Pierron
a4b849305e Bug 1166711 part 2.5 - ScalarReplacement: Replace M{Store,Load}UnboxedScalar by an offset on the MObjectState. r=bhackett 2015-06-11 14:30:33 +02:00
Nicolas B. Pierron
775f0fc05c Bug 1166711 part 2.4 - MObjectState: Add support for encoding unboxed objects. r=bhackett 2015-06-11 14:30:33 +02:00
Nicolas B. Pierron
7095ec698f Bug 1166711 part 2.3 - M{Load,Store}UnboxedScalar: Rename indexType to storageType. r=bbouvier 2015-06-11 14:30:32 +02:00
Nicolas B. Pierron
4b01311b3b Bug 1166711 part 2.2 - IonBuilder::loadUnboxedProperty: Rename scaledOffset to index. r=bhackett 2015-06-11 14:30:32 +02:00
Nicolas B. Pierron
8625b5478f Bug 1166711 part 2.1 - Check Scalar Replacement with both unboxed object and without. r=bhackett 2015-06-11 14:30:31 +02:00
Nicolas B. Pierron
21c7185f01 Bug 1166711 part 1.1 - Recover CreateThisWithTemplate with unboxed objects. r=bhackett 2015-06-11 14:30:31 +02:00
Nicolas B. Pierron
20eacb93b2 Bug 1166711 part 0.5 - Add a big comment to explain Recover instructions. r=bhackett 2015-06-11 14:30:31 +02:00
Nicolas B. Pierron
7afe03e95a Bug 1166711 part 0.3 - Scalar Replacement split functions and improve the spew. r=bhackett 2015-06-11 14:30:30 +02:00
Nicolas B. Pierron
6391cb050e Bug 1166711 part 0.2 - JitSpew add scope-base indentation level. r=bhackett 2015-06-11 14:30:30 +02:00
Nicolas B. Pierron
387d2aabee Bug 1166711 part 0.1 - Use JitSpewPrinter instead of stderr. r=bhackett 2015-06-11 14:30:30 +02:00
Nicolas B. Pierron
bbc785705d Bug 1165348 - Move Scalar Replacement after GVN. r=jandem 2015-06-11 14:30:29 +02:00
Nicolas B. Pierron
62b7e6ca21 Bug 1125481 - FunctionInfo: Remove useless inline keywords. r=Waldo 2015-06-11 13:32:24 +02:00
Nicolas B. Pierron
6d61608445 Bug 1125481 - Replace FunctionInfo macros by variadic templates. r=Waldo 2015-06-11 13:32:24 +02:00
Nicolas B. Pierron
2d60798ee7 Bug 1168500 - Replace the operator, by variadic templates. r=Waldo 2015-06-11 13:32:23 +02:00
Nick Fitzgerald
8cbd1d4f0f Bug 1173513 - Point to SavedFrame.md docs from JSAPI comments; r=fitzgen 2015-06-10 15:59:00 +02:00
Nicolas B. Pierron
ba1da262a5 Bug 1170750 - Replace %f by %.16g in js/src. r=jandem 2015-06-11 13:19:32 +02:00
Jon Coppeard
e87e03db01 Bug 1172641 - Fix class tests to not fail on builds where classes are not enabled r=shu 2015-06-11 07:58:36 +01:00
Jon Coppeard
4d0cadfbfb Bug 1172193 - Also collect zones with cross zone pointers into the scheduled set r=terrence 2015-06-11 07:58:36 +01:00
Eric Rahm
8a8ff888d2 Bug 1171722 - Part 3: Specify gcreason::XPCONNECT_SHUTDOWN during xpconnect shutdown. r=mccr8 2015-06-10 21:31:33 -07:00
Eric Rahm
f52699c13a Bug 1171722 - Part 2: Add gcreason::XPCONNECT_SHUTDOWN. r=terrence 2015-06-10 21:31:32 -07:00
Eric Rahm
921eea9181 Bug 1171722 - Part 1: Add gcreason to GCSliceCallback. r=fitzgen 2015-06-10 21:31:31 -07:00
Tooru Fujisawa
8d5e07d2d5 Bug 1170716 - Part 3: Use getLastWarning in test for warning with JSEXN_NONE. r=jandem 2015-06-11 13:14:14 +09:00
Tooru Fujisawa
e897dd83b1 Bug 1170716 - Part 2: Report unreachable code after return statement as JSEXN_NONE. r=jandem 2015-06-11 13:14:13 +09:00
Tooru Fujisawa
e6c52001a6 Bug 1170716 - Part 1: Add js shell functions to get last warning. r=jandem 2015-06-11 13:14:13 +09:00
Sean Stangl
5660a216d9 Bug 1167244 - Handle nullptr return from maybeGetProperty(). r=bhackett 2015-06-10 19:14:27 -07:00
Sean Stangl
6816932cd0 Bug 1166527 - Import ARM64 Architecture and Assembler. r=nbp 2015-06-10 19:06:12 -07:00
Wes Kocher
45aceb23fe Merge m-c to inbound, a=merge CLOSED TREE 2015-06-10 18:38:28 -07:00
Sean Stangl
f63ec6172f Bug 1166037 - Follow-up - Revert SimulatorType to Simulator. no_r=me 2015-06-10 15:33:21 -07:00
Sean Stangl
a108009351 Bug 1166037 - Import ARM64 Baseline changes. r=djvj 2015-06-10 15:08:35 -07:00
Terrence Cole
2e63d1ae21 No Bug - Remove an unneeded annotation DONTBUILD; r=sfink 2015-06-10 14:50:55 -07:00
Terrence Cole
e492b4ca40 Bug 1171612 - Use C++11 features to make Statistics module nicer; r=sfink 2015-06-04 11:49:31 -07:00
Terrence Cole
e15918b143 Bug 1164982 - Record telemetry for GC max pause during animations; r=sfink 2015-06-04 09:30:44 -07:00
Steve Fink
79cc655984 Bug 1172109 - Name some anonymous structs to help out the analysis, r=terrence 2015-06-08 11:59:26 -07:00
Nicolas B. Pierron
2150af78d3 Bug 923717 - Add IC fuzzing mode. r=efaust 2015-06-08 20:22:57 +02:00
Jeff Walden
34ae066f65 Bug 1168474 - Remove assorted arity-checks that are easily done another way (or not at all). r=shu 2015-05-19 16:35:55 -07:00
Jeff Walden
7fce2ca1d6 Bug 1167823 - Remove dead code for checking whether a parse tree node has side effects. r=shu 2015-05-19 15:47:28 -07:00
Jeff Walden
053b0396c8 Bug 1167823 - Handle more nodes by kind when checking for side effects. r=shu 2015-05-19 15:45:55 -07:00
Jeff Walden
b0f3f6cdaf Bug 1167823 - Handle more nodes by kind when checking for side effects. r=shu 2015-05-19 15:15:14 -07:00
Jeff Walden
6143a91ac2 Bug 1167823 - Handle functions by kind when checking for side effects. r=shu 2015-05-22 19:02:40 -07:00
Jeff Walden
a8c96f9639 Bug 1167823 - Handle various other nodes by kind when checking for side effects. r=shu 2015-05-22 19:02:40 -07:00
Jeff Walden
b1ff8796ce Bug 1167823 - Handle various list-ful nodes by kind when checking for side effects. r=shu 2015-05-22 19:02:40 -07:00
Jeff Walden
5ed3c64b5e Bug 1167823 - Handle try/catch by kind when checking for side effects. r=shu 2015-05-22 19:02:40 -07:00
Jeff Walden
2bbdb7ed1e Bug 1167823 - Handle more nodes by kind when checking for side effects. r=shu 2015-05-19 08:29:08 -07:00
Jeff Walden
a6dbb22eca Bug 1167823 - Handle more nodes by kind when checking for side effects. r=shu 2015-05-19 08:29:08 -07:00
Jeff Walden
e49bca613d Bug 1167823 - Check various binary operators for side effects, by node kind. r=shu 2015-05-19 08:29:08 -07:00
Jeff Walden
31fc2424c5 Bug 1167823 - Handle more nodes by kind when checking for side effects. r=shu 2015-03-04 13:21:30 -08:00
Jeff Walden
6ef1d2e92c Bug 1167823 - Handle more nodes by kind in BytecodeEmitter::checkSideEffects. r=shu 2015-05-19 08:29:08 -07:00
Jeff Walden
4f3b161b37 Bug 1167823 - Handle various nullary/unary nodes in BytecodeEmitter::checkSideEffects. r=shu 2015-03-04 13:21:30 -08:00
Jeff Walden
32716243c2 Bug 1167823 - Begin rewriting CheckSideEffects to work by kind, not arity. r=shu 2015-03-04 13:21:30 -08:00
Hannes Verschore
6f31145b53 Bug 1169213 - SharedStubs: Introduce JitFrame_IonStub to allow vmcalls out of sharedstubs in IonMonkey, r=npb 2015-06-08 16:39:19 +02:00
Hannes Verschore
3ece3a1cb6 Bug 1168753 - SharedStubs: Simplification to push BaselineFrame* in stubs, r=jandem 2015-06-08 16:38:55 +02:00
Hannes Verschore
831004c9ab Bug 1168750 - SharedStubs: (part4) Track for which engine a stub needs to get compiled, r=jandem 2015-06-08 16:38:55 +02:00
Hannes Verschore
abda88fcb6 Bug 1168750 - SharedStubs: (part3) Make split between baseline only and shared stubs, r=jandem 2015-06-08 16:38:55 +02:00
Hannes Verschore
c7b95f0a21 Bug 1168750 - SharedStubs: (part2) Rename registers used by baseline stubs for use with shared stubs, r=jandem 2015-06-08 16:38:54 +02:00
Hannes Verschore
c28ca4e027 Bug 1168750 - SharedStubs: (part1) Rename BaselineRegisters.h and BaselineHelpers.h, r=jandem 2015-06-08 16:38:54 +02:00
Tooru Fujisawa
dd56835ae8 Bug 1171777 - Make sure the index is nonnegative in GetElement IC with hole. r=jandem 2015-06-08 22:31:43 +09:00
Tooru Fujisawa
137a1cef35 Bug 1171871 - Fix bytecode documentation comment for JSOP_NEWTARGET. r=efaust 2015-06-08 22:31:43 +09:00
Gabor Krizsanits
b9a120b0e1 Bug 1164014 - Shim optimization. r=billm 2015-06-08 09:28:54 +02:00
Brian Hackett
4f0fc5bb15 Bug 1167677 - Enable code which was accidentally left disabled. 2015-06-07 18:45:32 -07:00
Brian Hackett
028ba3c835 Bug 1167677 - Try harder to find scratch registers for memory->memory MoveGroup moves, r=sunfish. 2015-06-06 11:16:43 -07:00
Brian Hackett
c754c596a3 Bug 1169460 - Fix imprecise computation in BacktrackingAllocator::minimalUse, r=sunfish. 2015-06-06 09:03:59 -07:00
Brian Hackett
e4920b0750 Bug 1170355 - Watch for indexes that don't fit in a jsid in Array.shift, r=jandem. 2015-06-06 08:37:35 -07:00
Eric Faust
c1a1c2405c Bug 1172150 - Remove bogus assert. (r=bz) 2015-06-05 20:37:51 -07:00
Tom Schuster
b0d653238e Bug 1170959 - Remove JS_GetPropertyDescriptor from a JSAPI test. r=efaust 2015-06-05 21:36:47 +02:00
Carsten "Tomcat" Book
90a6317b44 Merge mozilla-central to mozilla-inbound 2015-06-05 15:36:32 +02:00
Carsten "Tomcat" Book
0f0eb9d111 merge mozilla-inbound to mozilla-central a=merge 2015-06-05 15:25:08 +02:00
Mike Hommey
b609bbf3ce Fixup for hazard bustage after bug 1168719 on a CLOSED TREE. r=sfink 2015-06-05 14:40:11 +09:00
Wes Kocher
4a987abbc1 Merge m-c to fx-team, a=merge 2015-06-04 18:30:52 -07:00
Nick Fitzgerald
992648b749 Bug 1169869 - Document the Debugger's onPromiseSettled hook DONTBUILD; r=jimb 2015-06-04 17:33:49 -07:00
Tooru Fujisawa
ff690cf647 Bug 1168416 - Do not change lastIndex property if not writable in RegExp.prototype.{test,exec}. r=Waldo 2015-06-05 09:56:10 +09:00
Terrence Cole
2d4c1babe7 Bug 1171749 - Re-add nonincremental reason to compact stats output; r=sfink 2015-06-04 16:02:04 -07:00
Terrence Cole
ea3c382dcb Bug 811911 - Use UTF-8 output for TwoByte chars in Error objects; r=jandem 2015-06-04 08:43:11 -07:00
Terrence Cole
b75cc2eb2c Bug 1170717 - Move heapState check up to readBarrier; r=jonco 2015-06-02 14:49:59 -07:00
Jon Coppeard
3440e844d9 Bug 1168769 - Simplify parser's LexicalLookup function r=waldo 2015-06-04 10:16:06 +01:00
Mike Hommey
83384b7faf Bug 1166243 - Remove build() function from js and xpc shells. r=bholley,r=efaust 2015-06-04 13:59:47 +09:00
Eric Faust
d9c39bce44 Bug 1141865 - Part 7: Make new.target work in generator functions. (r=jorendorff, r=jandem) 2015-06-03 02:01:15 -07:00
Eric Faust
68caf6f9a6 Bug 1141865 - Part 6: Implement new.target in arrow functions. (r=jandem, r=jorendorff) 2015-06-03 02:01:15 -07:00
Eric Faust
914f63ba34 Bug 1141865 - Part 5: Implement new.target inside eval. (r=jorendorff, r=jandem) 2015-06-03 02:01:15 -07:00
Eric Faust
0f49aa5a97 Bug 1141865 - Part 4: Remove LCallDirectEvalV in anticipation of register pressure with new.target in eval frames. (r=jandem) 2015-06-03 02:01:15 -07:00
Eric Faust
71f9cd437e Bug 1141865 - Part 3: Parse new.target, add Reflect support, and tests. (r=jorendorff, r=shu) 2015-06-03 02:01:15 -07:00
Eric Faust
421f8543e7 Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-03 02:01:14 -07:00
Eric Faust
bccf4effd7 Bug 1141865 - Part 1: Make two ICCall_Fallback, one for constructing invocations. (r=jandem) 2015-06-03 02:01:14 -07:00
Eric Rahm
29f00ac208 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm
f2c51f1dd9 Bug 1165515 - Part 9: Remove instances of using numeric log levels 1-5. rs=froydnj 2015-06-03 15:22:35 -07:00
Eric Rahm
f3d0db1203 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Brian Hackett
85dc0750b5 Bug 1166709 - Mark definite properties when replacing the unboxed group used for literals at some pc, r=jandem. 2015-06-03 11:31:28 -07:00
Jon Coppeard
8321ec5336 Bug 1168666 - Update assertions to allow export specs to contain batch exports r=waldo 2015-06-05 09:55:03 +01:00
Nicholas Nethercote
16fe493889 Bug 1171305 - Remove lots of now-unnecessary null-checks involving XPCMaps. r=mrbkap.
Possible because both |new| and PLDHashTable initialization are infallible now.

I had to use NS_ABORT_OOM for a couple of the maps that use js::HashTable,
which still has fallible initialization. There were a couple of uses of those
maps that weren't protected by null-checks, so we would have got crashes anyway
if they had OOMed.
2015-05-05 18:20:33 -07:00
Terrence Cole
67d809cf4b Bug 1170673 - MSVC is less flexible with zero-sized arrays; r=shu 2015-06-02 10:50:48 -07:00
Terrence Cole
948a1d6deb Bug 1169086 - Use virtual dispatch to implement callback tracer; r=jonco, r=mccr8 2015-05-28 16:35:08 -07:00
James Willcox
6c2fa79a64 Bug 1165460 - Work around on-demand linker badness with NDK r10e/GCC 4.9 r=dhylands,glandium 2015-06-03 10:26:18 -05:00
Jon Coppeard
031c1c3e62 Bug 1155618 - Test OOM behaviour of global creation r=terrence 2015-06-03 14:36:47 +01:00
Carsten "Tomcat" Book
0f54b30489 Backed out changeset 2901436c9047 (bug 1141865) for e10-s asan m4 test failures on a CLOSED TREE 2015-06-03 12:46:33 +02:00
Carsten "Tomcat" Book
2a6567d1e6 Backed out changeset d038c5da19b0 (bug 1141865) 2015-06-03 12:44:59 +02:00
Carsten "Tomcat" Book
f1063bda01 Backed out changeset 8f94d0d72a21 (bug 1141865) 2015-06-03 12:42:45 +02:00
Carsten "Tomcat" Book
b94ce6996e Backed out changeset 6031f4ce0f9c (bug 1141865) 2015-06-03 12:42:16 +02:00
Carsten "Tomcat" Book
ab8a66d9bd Backed out changeset 24403e652d6d (bug 1141865) 2015-06-03 12:42:03 +02:00
Carsten "Tomcat" Book
060ea0483d Backed out changeset 0f963fbdc918 (bug 1141865) 2015-06-03 12:41:48 +02:00
Carsten "Tomcat" Book
4d397a9f8e Backed out changeset 213b09228bdf (bug 1141865) 2015-06-03 12:41:25 +02:00
Eric Faust
367767d2b8 Bug 1141865 - Part 7: Make new.target work in generator functions. (r=jorendorff, r=jandem) 2015-06-03 02:01:15 -07:00
Eric Faust
758e234c38 Bug 1141865 - Part 6: Implement new.target in arrow functions. (r=jandem, r=jorendorff) 2015-06-03 02:01:15 -07:00
Eric Faust
4640c14af8 Bug 1141865 - Part 5: Implement new.target inside eval. (r=jorendorff, r=jandem) 2015-06-03 02:01:15 -07:00
Eric Faust
2a8e864cbe Bug 1141865 - Part 4: Remove LCallDirectEvalV in anticipation of register pressure with new.target in eval frames. (r=jandem) 2015-06-03 02:01:15 -07:00
Eric Faust
3163a6e018 Bug 1141865 - Part 3: Parse new.target, add Reflect support, and tests. (r=jorendorff, r=shu) 2015-06-03 02:01:15 -07:00
Eric Faust
74dcf60e14 Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-03 02:01:14 -07:00
Eric Faust
a954d0ea23 Bug 1141865 - Part 1: Make two ICCall_Fallback, one for constructing invocations. (r=jandem) 2015-06-03 02:01:14 -07:00
Jan de Mooij
ec73ce58fd Bug 1143679 - Make TryNoteIterIon behave more like Baseline/interpreter iterators. r=shu 2015-06-03 09:35:30 +02:00
Nicholas Nethercote
265569e6b8 Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj. 2015-05-19 16:46:17 -07:00
Tooru Fujisawa
37628e40d2 Bug 774364 - Part 1: Inline Math.random() in Ion on x86_64. r=sstangl 2015-06-02 17:28:32 +09:00
Daniel Holbert
81ba5dba54 Bug 1166847 followup: Add 'override' annotation to some new overriding methods in jswrapper.h. rs=ehsan 2015-06-02 19:45:24 -07:00
Wes Kocher
315a009cb0 Merge m-c to inbound, a=merge 2015-06-02 18:43:25 -07:00
Wes Kocher
dd975b7704 Merge inbound to central, a=merge 2015-06-02 18:20:12 -07:00
Ryan VanderMeulen
e8686eca4b Backed out changeset 5f2e8622f945 (bug 1139376) for causing frequent Win8 w-p-t timeouts. 2015-06-02 16:05:41 -04:00
Eddy Bruël
ed0eb87e01 Bug 1166847 - Implement OpaqueCrossCompartmentWrapper;r=evilpies 2015-06-02 16:54:54 +02:00
Wes Kocher
552912acca Backed out 7 changesets (bug 1141865) for assertion failures in various test suites CLOSED TREE
Backed out changeset 3796a4c827e4 (bug 1141865)
Backed out changeset 41a10ac99656 (bug 1141865)
Backed out changeset 027bba006fbb (bug 1141865)
Backed out changeset fc9d645f55b3 (bug 1141865)
Backed out changeset 6b87d4ed5d30 (bug 1141865)
Backed out changeset fcbf3e53cce6 (bug 1141865)
Backed out changeset 4a9a06c26be7 (bug 1141865)
2015-06-01 18:25:38 -07:00
Wes Kocher
0eb5b661b2 Backed out changeset c0e7bdb0da7b (bug 1141865) for assertions 2015-06-01 18:24:37 -07:00
Wes Kocher
d2d5bbbbc8 Backed out changeset 3e660b56c502 (bug 1169171) for easily backing out bug 1141865 2015-06-01 18:23:51 -07:00
Wes Kocher
64ef173591 Backed out changeset 4275a4bf842e (bug 1169511) 2015-06-01 18:23:50 -07:00
Wes Kocher
f85497d1e9 Backed out changeset 8b0cd6ec2fc4 (bug 1167845) 2015-06-01 18:23:49 -07:00
Wes Kocher
ac82bda464 Backed out changeset 79466a3087b1 (bug 1167845) 2015-06-01 18:23:48 -07:00
Wes Kocher
7e8fa96db9 Backed out changeset ce16efb6bee2 (bug 1141865) for assertions 2015-06-01 18:23:15 -07:00
Wes Kocher
bd796581dc Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Faust
5d74325af0 Bug 1141865 - Followup followup: Fix the WIN64 build on a CLOSED TREE. (rs=shu) 2015-06-01 17:00:25 -07:00
Jeff Walden
1d495b2c73 Bug 1167845 - Rename ParseHandler::isName to ParseHandler::maybeName. r=efaust 2015-06-01 13:28:36 -07:00
Tooru Fujisawa
cb2167b442 Bug 1169853 - Require semicolon after export default AssignmentExpression. r=shu 2015-06-03 09:17:41 +09:00
Tooru Fujisawa
30acc8c0d3 Bug 1169850 - Handle PNK_EXPORT_DEFAULT in BytecodeEmitter::emitTree. r=shu 2015-06-03 09:17:37 +09:00
Tom Schuster
bc6cba1177 Bug 1165722 - Replace JS_GetPropertyDescriptor usage in Xray code. r=bholley 2015-06-02 23:27:39 +02:00
Tom Schuster
721236a44b Bug 1135993 - Remove js::IsInNonStrictPropertySet. r=jorendorff 2015-06-02 23:27:39 +02:00
Tooru Fujisawa
5c923abf6a Bug 1169199 - Check platform argument on linux SpiderMonkey shell build and specify target and host on 32bit build. r=sfink 2015-06-03 06:20:19 +09:00
Jeff Walden
865e2dde12 Bug 1167845 - Rename ParseHandler::isName to ParseHandler::maybeName. r=efaust 2015-06-01 13:28:36 -07:00
Jeff Walden
9d96c708fd Bug 1167845 - Rejigger {in,de}crement/assignment parsing to vet targets primarily through a single Parser::isValidSimpleAssignmentTarget method, so that this method can also be called outside the parser. r=efaust 2015-05-22 19:02:41 -07:00
Jeff Walden
26d3d61ef3 Bug 1169511 - Split PNK_TYPEOF into one kind for application to names, one kind for application to other expressions. r=efaust 2015-05-29 13:23:06 -07:00
Jeff Walden
e9be55e0bb Bug 1169171 - Split PNK_DELETE into several different kinds for each of the syntactically distinct modes of |delete| operation, depending upon the syntax of the operand. r=efaust 2015-05-28 13:47:44 -07:00
Jeff Walden
5665f2c0c0 Bug 1167845 - Rejigger {in,de}crement/assignment parsing to vet targets primarily through a single Parser::isValidSimpleAssignmentTarget method, so that this method can also be called outside the parser. r=efaust 2015-05-22 19:02:41 -07:00
Jeff Walden
e959fece66 Bug 1169511 - Split PNK_TYPEOF into one kind for application to names, one kind for application to other expressions. r=efaust 2015-05-29 13:23:06 -07:00
Jeff Walden
e778a50c9d Bug 1169171 - Split PNK_DELETE into several different kinds for each of the syntactically distinct modes of |delete| operation, depending upon the syntax of the operand. r=efaust 2015-05-28 13:47:44 -07:00
Jeff Walden
c2a96ecbe4 Bug 1163851 - |pc->parsingForInit| is dead. Long live |InHandling|! r=efaust 2015-05-13 21:13:02 -07:00
Jeff Walden
dad3324048 Bug 1163851 - Actually respect the InHandling parameter in the parser. |pc->parsingForInit| is now unused except for testing; it'll be removed once this has stuck a bit, as this change *does* change semantics in some edge cases. r=efaust 2015-05-13 21:13:02 -07:00
Jeff Walden
f49719ab09 Bug 1163851 - Remove the remaining two tests of |pc->parsingForInit|, replacing them with yet another argument provided by the caller. r=efaust 2015-05-13 21:13:02 -07:00
Jeff Walden
88217c6d64 Bug 1163851 - Pass the correct |InHandling| argument when parsing the initializer in a LexicalDeclaration in a for-in loop. r=efaust 2015-05-19 08:29:07 -07:00
Eric Faust
072162884d Bug 1141865 - Followup: give full rights to a formerly DebugOnly variable to fix the build. (rs=Waldo) 2015-06-01 15:20:17 -07:00
Eric Faust
ebef424fb3 Bug 1141865 - Part 7: Make new.target work in generator functions. (r=jorendorff, r=jandem) 2015-06-01 15:03:43 -07:00
Eric Faust
0bf5e97e7e Bug 1141865 - Part 6: Implement new.target in arrow functions. (r=jandem, r=jorendorff) 2015-06-01 15:03:41 -07:00
Eric Faust
b7b3e54a7b Bug 1141865 - Part 5: Implement new.target inside eval. (r=jorendorff, r=jandem) 2015-06-01 15:03:40 -07:00
Eric Faust
2a219e4e92 Bug 1141865 - Part 4: Remove LCallDirectEvalV in anticipation of register pressure with new.target in eval frames. (r=jandem) 2015-06-01 15:03:37 -07:00
Eric Faust
2efa486971 Bug 1141865 - Part 3: Parse new.target, add Reflect support, and tests. (r=jorendorff, r=shu) 2015-06-01 15:03:34 -07:00
Eric Faust
2a004af5c4 Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-01 15:03:32 -07:00
Eric Faust
c93659dad2 Bug 1141865 - Part 1: Make two ICCall_Fallback, one for constructing invocations. (r=jandem) 2015-06-01 15:03:30 -07:00
Wes Kocher
e298584dde Backed out changeset 54d579c1a164 (bug 1170124) for making XP debug jit permapurple 2015-06-01 14:48:12 -07:00
Terrence Cole
e38944ed48 Bug 1169692 - Use virtual dispatch in WeakMapTracer instead of function pointers; r=sfink, r=mccr8 2015-06-01 13:14:11 -07:00
Terrence Cole
a04630c2c6 Bug 1169097 - Remove CountHeap; r=sfink 2015-05-28 16:35:06 -07:00
Eric Rahm
ae32743ed2 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
d27d4cb5f1 Bug 1165515 - Part 9: Remove instances of using numeric log levels 1-5. rs=froydnj 2015-06-01 14:31:00 -07:00
Eric Rahm
aa2c33e0cf Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 14:31:00 -07:00
Benjamin Bouvier
4b0b1f9e36 Bug 1157624: Remove asm.js ternary optimizations and activate the FoldTest optimization pass for asm.js; r=luke 2015-05-29 13:37:59 +02:00
Jan de Mooij
f7357b4291 Bug 1170107 part 2 - Don't allocate a wrapper object for (pure) primitive.foo operations. r=bhackett 2015-06-01 20:18:13 +02:00
Jan de Mooij
14b1666b32 Bug 1170107 part 1 - Call GetProperty/CallProperty from the interpreter and Baseline. r=bhackett 2015-06-01 20:17:39 +02:00
David Major
386bb75ba0 Bug 1170039: Fix printf format specifiers in GC stats. r=terrence 2015-06-01 14:14:59 -04:00
Jan de Mooij
2b98bde1e5 Bug 1170124 - Remove unnecessary type monitoring in jit::InvokeFunction. r=bhackett 2015-06-01 17:58:01 +02:00
Tom Schuster
a26d162a63 Bug 1168103 - Convert tabs to spaces. r=me 2015-06-01 17:55:00 +02:00
Carsten "Tomcat" Book
df0827d499 Merge mozilla-central to mozilla-inbound 2015-06-01 15:19:42 +02:00
Nicolas B. Pierron
c4a8c19933 Bug 1168807 - Move MacroAssemblerSpecific::framePushed_ fields to the generic MacroAssembler. r=jandem 2015-06-01 15:15:07 +02:00
Carsten "Tomcat" Book
881576a1b1 merge mozilla-inbound to mozilla-central a=merge 2015-06-01 15:00:24 +02:00
Jan de Mooij
eee8bc4b66 Bug 1169611 part 2 - Unbox getprop/getelem inputs based on Baseline feedback. r=bhackett 2015-06-01 09:02:35 +02:00
Bob Owen
22b7989382 Backed out 2 changesets (bug 1164014) for WinXP debug crashtest failures on a CLOSED TREE
Backed out changeset 4f4454ece5ac (bug 1164014)
Backed out changeset 81d78a498313 (bug 1164014)
2015-06-01 07:39:25 +01:00
Jon Coppeard
062c295fef Bug 1155618 - Fix some more places where we didn't report OOM to the context r=terrence 2015-06-01 10:42:28 +01:00
Mayank Jethva
f1fd6bd876 Bug 1168103 - "Execution cannot reach the expression "?unknown?" inside this statement in jsfriendapi.cpp". r=evilpies 2015-05-27 20:10:00 +02:00
Jan de Mooij
db1d7d943e No bug - Restore jit_test.py executable bit. r=me 2015-06-01 10:29:19 +02:00
Ryan VanderMeulen
49a5f4ffca Merge m-c to fx-team. a=merge 2015-05-29 17:02:15 -04:00
Ryan VanderMeulen
004203a4be Backed out changesets 63671ebfa2dd and da3d272ad1c2 (bug 1164011) for frequent xpc::InterposeProperty crashes. 2015-05-29 12:51:34 -04:00
Tom Tromey
1c85ca7862 Bug 1168593 - Make AutoStableStringChars::init use MOZ_WARN_UNUSED_RESULT. r=jandem 2015-05-28 11:57:00 -04:00
Milan Sreckovic
3aed93cde2 Bug 1161590 - xpcshell needs to initialize graphics prefs so that GfxInfo::GetFeatureStatus can check preferences. r=ehsan 2015-05-26 16:56:22 -04:00
Michael Layzell
74baf3db00 Bug 1167385 - Mark xpcObjectHelper's unsafe references as UNSAFE_REF. r=bholley 2015-05-21 14:18:00 -04:00
Gabor Krizsanits
f09666808b Bug 1164011 - Shim optimisation. r=billm 2015-05-29 14:47:49 +02:00
Jon Coppeard
3027a29eda Bug 1169250 - Zero-initialize all function object members r=jandem 2015-05-29 10:50:18 +01:00
Jon Coppeard
dd52fd9d71 Bug 1166041 - Fix memory leaked by nursery when we hit OOM r=terrence 2015-05-29 10:46:27 +01:00
Jon Coppeard
3d650eb726 Bug 1168586 - Initialize oomAfter_ member to avoid warnings r=terrence 2015-05-29 10:43:31 +01:00
Jon Coppeard
45d69f0457 Bug 1169222 - Add --debugger option to jittests to run tests under the specified debugger r=terrence 2015-05-29 10:42:29 +01:00
Brian Hackett
aaa3c8c90f Bug 1168667 - Immediately convert unboxed objects to natives in PreventExtensions, and convert unboxed arrays as well as unboxed plain objects when required, r=jandem. 2015-05-28 19:04:00 -06:00
Brian Hackett
855eeb0c46 Bug 1169355 - Remove unnecessary assertion, r=jandem. 2015-05-28 19:01:27 -06:00
Brian Hackett
e343679b21 Bug 1166709 - After converting unboxed objects created by some initializer to natives, create native objects at that allocation site in the future, r=jandem. 2015-05-28 18:56:32 -06:00
Brian Hackett
64177ab6cc Bug 1167860 - Make sure unboxed expandos are traced during minor GCs if the original unboxed object is converted to a native, r=terrence. 2015-05-28 18:46:52 -06:00
Terrence Cole
685e0c74ca Bug 1167795 - Share the root and child tracing code in DumpHeapComplete; r=mccr8 2015-05-26 09:17:12 -07:00
Terrence Cole
f6bc451f8e Bug 1167771 - Simplify the pre-barrier verifier's tracer use; r=sfink 2015-05-26 09:14:44 -07:00
Nicolas B. Pierron
2fdbc8eed7 Bug 1147403 part 3.1 - Replace newly added IonSpewPass after KeepAlive transform. r=KWierso
CLOSED TREE
2015-05-28 19:46:53 +02:00
Nicolas B. Pierron
2e25cb2966 Bug 1147403 part 7 - Fix inIon, only reset the counter when the function is executed. r=jandem 2015-05-28 19:26:56 +02:00
Nicolas B. Pierron
56203e77ef Bug 1147403 part 6 - Remove GetJitContext from serializing functions. r=h4writer 2015-05-28 19:26:56 +02:00
Nicolas B. Pierron
125c415c24 Bug 1147403 part 5 - Add Debugger::onIonCompilation hook. r=shu 2015-05-28 19:26:56 +02:00
Nicolas B. Pierron
560346fb43 Bug 1147403 part 4 - Extract the printer from the serializer. r=h4writer 2015-05-28 19:26:55 +02:00
Nicolas B. Pierron
0b36f16080 Bug 1147403 part 3 - Make IonSpewer work during off-thread compilation. r=h4writer 2015-05-28 19:26:55 +02:00
Nicolas B. Pierron
7b46222ed4 Bug 1147403 part 2 - IonMonkey: Use GenericPrinter& instead of FILE* for *::dump functions. r=h4writer 2015-05-28 19:26:55 +02:00
Nicolas B. Pierron
002003e122 Bug 1147403 part 1 - Move Sprinter into its own header and add a FILE & LifoAlloc variants. r=h4writer 2015-05-28 19:26:54 +02:00
Nicolas B. Pierron
ff39134cc3 Bug 1147403 part 0 - Replace contextual information of dispatchHook by lambdas. r=shu 2015-05-28 19:26:54 +02:00
Yanis Sellami
b7d648288f Bug 967031 - Rename DumpHeapComplete to DumpHeap; r=terrence 2015-05-22 11:22:56 +02:00
Nick Fitzgerald
f4f4cdfcd7 Bug 1024774 - Part 14: Ignore protobuf indirect calls in the GC hazard analysis;
r=sfink
2015-05-28 07:37:43 -07:00
Nick Fitzgerald
78ff34d4d2 Bug 1024774 - Part 13: Change to new SpiderMonkey style from bug 1144366; r=me 2015-05-28 07:37:43 -07:00
Nick Fitzgerald
1fe9f17177 Bug 1024774 - Part 11: Implement a JS::ubi::Node specialization for DeserializedNode; r=jimb 2015-05-28 07:37:43 -07:00
Nick Fitzgerald
1d0ee3fcb6 Bug 1024774 - Part 8: Add JS::ubi::Node::isLive; r=jimb 2015-05-28 07:37:43 -07:00
Nick Fitzgerald
4dd1466e0a Bug 1024774 - Part 3: Serialize heap snapshots. r=jimb 2015-05-28 07:37:42 -07:00
Nick Fitzgerald
dbc93a3476 Bug 1149397 - JS::ubi::Node::edges should return a mozilla::UniquePtr; r=jimb 2015-05-28 07:37:42 -07:00
Jan de Mooij
fd6f4cad48 Bug 1168864 - Use mayResolve hook for addprop stubs. r=bhackett 2015-05-28 16:29:16 +02:00
Gabor Krizsanits
88c204cae5 Bug 1164014 - Shim optimization. r=billm 2015-05-31 10:46:49 +02:00
Steve Fink
569c3b1675 Bug 1169391 - Use a ReservedRooted class for optimized Rooted use in vm/Interpreter.cpp, r=terrence 2015-05-30 08:06:35 -07:00
Jan de Mooij
a5a91dd911 Bug 1169611 - Rewrite IonBuilder::getPropTryConstant to not require a singleton result. r=bhackett 2015-05-30 11:56:44 +02:00
Sean Stangl
c74db0a654 Bug 1164229 - Rename ARM SetCond_ to SBit. r=efaust 2015-05-12 14:36:03 -07:00
Terrence Cole
766ecb15da Bug 1166790 - Remove old Statistics formatting code; r=sfink 2015-05-20 09:14:29 -07:00
Terrence Cole
2f77b243fb Bug 1166789 - Cleanup javascript.options.mem.log formatting; r=sfink, r=mccr8 2015-05-20 09:14:29 -07:00
Sean Stangl
825b0abd03 Bug 1023297 - Use explicit constructors for ARM-specific classes. r=jandem 2015-05-28 15:29:29 -07:00
Brian Hackett
48dda28902 Bug 1166678 - Optimize Array.prototype.slice in Ion, r=jandem. 2015-05-29 14:29:50 -06:00
Jan de Mooij
3686c08cd1 Bug 935932 - Make Ion addprop stubs support dynamic slots (re)allocation. r=bhackett 2015-05-28 15:09:59 +02:00
Jon Coppeard
7425f654a5 Bug 1155618 - Fix some more places we don't report allocation failure to the context r=terrence 2015-05-28 10:22:41 +01:00
Jon Coppeard
afe66583bb Bug 1154391 - Remove export syntax that's not present in ES6 r=shu 2015-05-28 09:57:57 +01:00
Jon Coppeard
56e7c49922 Bug 1154391 - Update parsing of export declarations to match current ES6 spec r=shu 2015-05-28 09:57:57 +01:00
Jon Coppeard
4d97bbfd94 Bug 1154391 - Update import declarations to current ES6 spec r=shu 2015-05-28 09:57:57 +01:00
David Rajchenbach-Teller
4458932cbb Bug 1149486 - Regroup PerformanceStats by window. r=jandem, r=bholley 2015-04-18 13:21:31 +02:00
Ryan VanderMeulen
e78c04f8d2 Backed out changesets da71c4aefb3a and 98603c32c9a3 (bug 1149486) for browser_compartments.js permafail.
CLOSED TREE
2015-05-29 12:59:23 -04:00
David Rajchenbach-Teller
b92e139ab0 Bug 1149486 - Regroup PerformanceStats by window. r=jandem, r=bholley 2015-04-18 13:21:31 +02:00
Jan de Mooij
a5e1f942ed Bug 1160884 - Add KeepAlive instructions after elements/slots uses. r=nbp 2015-05-28 10:16:24 +02:00
Tooru Fujisawa
0390b63d0e Bug 1018628 - Part 3: Add test for default parameter with destructuring default value. r=jorendorff 2015-05-28 17:05:36 +09:00
Terrence Cole
43b5d41457 Bug 1153382 - Make poison values more toxic when used as a Value; r=sfink 2015-04-10 12:06:40 -07:00
Terrence Cole
39af4158f0 Bug 1170665 - Disable the windows segfault popup in the shell; r=jandem 2015-06-02 11:40:46 -07:00
Terrence Cole
59e2c724c7 Bug 887030 - Remove JS::shadow::Runtime::needsIncrementalBarrier and use heapState directly; r=jonco 2015-06-02 11:55:27 -07:00
Terrence Cole
a864626259 Bug 887030 - Allow inlining of heapState checks from outside JSAPI; r=jonco 2015-06-02 11:47:08 -07:00
Terrence Cole
5801b1045c Bug 887030 - Remove the volatile from heapState; r=jonco 2015-06-02 11:46:45 -07:00
Bobby Holley
7dca575d33 Bug 1170311 - Stop asserting non-null argument to nsIPrincipal::{subsumes,equals}{,ConsideringDomain}. r=gabor 2015-06-02 10:45:10 -07:00
Nicolas B. Pierron
1b3a3e59e4 Bug 1170596 - JitSpewer: Always flush after dumping the graph to the files. r=bbouvier 2015-06-02 19:40:04 +02:00
Benjamin Smedberg
d6450cd955 Bug 1140131 - When XPConnect loads scripts (JS components or Cu.import), set the MIME type so that we don't load the exthandler service to guess it, r=bholley 2015-05-29 15:51:40 -04:00
Tom Tromey
5c9b6d08ea Bug 1169712 - Add casts for GCC 5.1 -Wformat. r=fitzgen 2015-05-29 11:02:00 -04:00