Commit Graph

39593 Commits

Author SHA1 Message Date
Shu-yu Guo
55e0f251af Bug 1150714 - Mark and sweep JitcodeGlobalMap IC entries. (r=djvj) 2015-04-06 18:38:31 -07:00
Shu-yu Guo
7f4efc338e Bug 1150714 - Fix streaming tracked optimizations for functions that don't have a displayAtom. (r=djvj) 2015-04-06 18:38:31 -07:00
Bill McCloskey
0bd0a7065a Bug 1151583 - Don't set JS shell exit code for random exceptions (r=sfink) 2015-04-06 18:24:52 -07:00
Brian Hackett
b3a461d0bc Bug 1148922 - Handle insertion of new initial shapes via the metadata callback, r=luke. 2015-04-06 12:54:53 -06:00
Terrence Cole
6ec5015008 Bug 1150639 - Use a stricter off-thread check in triggerZoneGC; r=bhackett 2015-04-02 11:48:56 -07:00
Johannes Schulte
8a45b6abfe Bug 1094491 - Add assertion in UpdateExistingGetPropCallStubs that should hold now. r=efaust 2014-12-01 18:50:26 +01:00
Johannes Schulte
b0e103564f Bug 1094491 - Generate baseline getGName ICs for accessor properties before calling the getter. r=efaust 2014-12-01 18:50:23 +01:00
Johannes Schulte
d25edba162 Bug 1094491 - Generate baseline getElem ICs for accessor properties before calling the getter. r=efaust 2014-12-01 18:50:20 +01:00
Johannes Schulte
61df0670d4 Bug 1094491 - Generate baseline getProp ICs for accessor properties before calling the getter. r=efaust 2014-12-01 18:50:17 +01:00
Phil Ringnalda
c0e92cc883 Merge f-t to m-c, a=merge 2015-04-04 10:53:59 -07:00
Tooru Fujisawa
5c0ad42573 Bug 1149015 - Part 4: Remove some use of expression closure from jstests js1_8_5/reflect-parse/. r=luke 2015-04-04 15:05:35 +09:00
Ryan VanderMeulen
3006ba124a Merge m-c to fx-team. a=merge
CLOSED TREE
2015-04-03 10:52:46 -04:00
David Rajchenbach-Teller
318f607f82 Bug 1149897 - PerformanceStatsService data is not monotonic. r=jandem 2015-04-02 17:15:23 +02:00
Wes Kocher
d7925ced9a Backed out changeset 39d74e5c3df5 (bug 1149897) for frequent bc3 timeout errors 2015-04-02 16:12:06 -07:00
Jeff Walden
d4b1e1fa30 Bug 1149797 - Update browser jstests to treat ecma_6/extensions tests as 1.8, so that let is interpreted as a statement and not as an expression. r=bustage in a CLOSED TREE 2015-04-02 15:46:33 -04:00
Jeff Walden
490c1d5a62 Bug 1149797 - Use the loop's *static* block object when freshening a loop's block object, then copy in values from the old cloned block. Using the old cloned block directly isn't valid when the cloned block might be extended with additional variables created by eval or added by nested function statements. r=shu 2015-04-01 16:39:33 -04:00
David Rajchenbach-Teller
4a683286de Bug 1149897 - PerformanceStatsService data is not monotonic;r=jandem 2015-04-02 17:15:23 +02:00
Boris Zbarsky
00985cdbeb Bug 1149811. When XDR-decoding a non-lazy function that can be lazified, we need to set up a backpointer from its LazyScript to its JSScript. r=luke 2015-04-01 12:05:28 -04:00
Jason Orendorff
78c2b37da1 Bug 1149563 - Change bogus ctypes code that modifies a frozen object. r=efaust. 2015-03-28 11:28:06 -05:00
Jeff Walden
e64a27968b Bug 1150779 - Split the rest of destructuring.js into several smaller destructuring tests. r=efaust 2015-04-02 22:55:40 -04:00
Jeff Walden
c407a67933 Bug 1150779 - Split for-loop tests out of js1_8_5/reflect-parse/destructuring.js. r=efaust 2015-04-02 22:55:22 -04:00
Jason Orendorff
ccb406ee5a Bug 1148652, part 3 - Mark arguments.length as overridden when it is redefined via the C API. r=efaust. 2015-03-23 14:32:33 -05:00
Jason Orendorff
463a6c8a9f Bug 1148652, part 2 - Use mostly-compliant code for defining TypedArray elements, already used from StandardDefineProperty, in NativeDefineProperty as well. r=efaust. 2015-03-23 14:32:31 -05:00
Jason Orendorff
b619469dbe Bug 1148652, part 1 - Move array-specific special cases to the top of NativeDefineProperty; update ArraySetLength to be able to cope with incomplete attrs. r=efaust. 2015-03-23 14:32:30 -05:00
Jason Orendorff
6817157af0 Bug 1148568 - In JSON.parse with a reviver callback, ignore failure when defining properties. r=Waldo.
Switch to StandardDefineProperty while we're at it. I don't think the "CreateDataProperty" operation given in the spec is quite worth making into a function on its own, since the standard almost exclusively uses it in cases where it "can't fail", and (a) that is unpossible for us; (b) this is not one of those cases anyway.
2015-03-23 14:32:30 -05:00
Jason Orendorff
9bae1420b6 Bug 1147660, part 5 - Split the part of NativeDefineProperty that updates the object into a separate function again. r=efaust. 2015-03-23 14:32:29 -05:00
Jason Orendorff
0bd3e81324 Bug 1147660, part 4 - Change NativeDefineProperty to use a PropertyDescriptor internally instead of a bunch of variables. This is a little ugly at first but it'll get better. r=efaust. 2015-03-23 14:32:29 -05:00
Jason Orendorff
e3a6506631 Bug 1147660, part 3 - Rearrange NativeDefineProperty so that special cases are all dispensed with, and ES6 checks done, by the time we start thinking about how to update the object. r=efaust. 2015-03-23 14:32:29 -05:00
Jason Orendorff
178cff0e2f Bug 1147660, part 2 - Merge DefinePropertyOrElement into NativeDefineProperty, making one long function we can refactor. r=efaust. 2015-03-23 14:32:28 -05:00
Jason Orendorff
fdf6f3c21e Bug 1147660, part 1 - Refactor NativeDefineProperty to put DefinePropertyOrElement's only call site right at the end. No change in behavior. r=efaust. 2015-03-23 14:32:28 -05:00
Jason Orendorff
c88c9266d3 Bug 1142828 - Refactor to avoid having [[Set]]-specific weird cases in the [[DefineOwnProperty]] code. r=Waldo.
NativeSetExistingDataProperty is only moved in this changeset; its body is not modified.
2015-03-23 14:32:28 -05:00
Jason Orendorff
23c8e292b3 Bug 1138499, part 3 - Flip JS_CHECK_ACCESSOR_FLAGS from a blacklist to a whitelist. r=Waldo. 2015-03-23 16:44:10 -05:00
Jason Orendorff
7ba6550bab Bug 1138499, part 2 - Strengthen assertComplete() to require that both [[Get]] and [[Set]] be present on accessor properties. r=Waldo. 2015-03-23 14:32:27 -05:00
Jason Orendorff
19659e6078 Bug 1138499, part 1 - Assert some basic rules on property descriptors on entry to DefineProperty and exit from GetOwnPropertyDescriptor. r=Waldo. 2015-03-23 14:32:27 -05:00
Jason Orendorff
890e5a1254 Bug 1138499, part 0 - Fix code spuriously using JSPROP_READONLY when defining an accessor property. r=Waldo. 2015-03-23 16:36:43 -05:00
Terrence Cole
1ca6faa3e8 Bug 1149352 - Part 8: Move Object marking to TraceEdge; r=jonco 2015-03-30 16:08:06 -07:00
Terrence Cole
0c906c7f3f Bug 1149352 - Part 7: Move String marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
7f275d2e18 Bug 1149352 - Part 6: Move JitCode marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
b3fe9573d7 Bug 1149352 - Part 5: Move ObjectGroup marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
33e799086c Bug 1149352 - Part 4: Move Symbol marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
4f52ea7894 Bug 1149352 - Part 3: Move Script marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
e7e6976183 Bug 1149352 - Part 2: Move Shape marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
7512eda786 Bug 1149352 - Part 1: Move BaseShape marking to TraceEdge; r=jonco 2015-03-27 16:22:55 -07:00
Terrence Cole
d0243ca5f4 Bug 1149352 - Part 0: Only mark live entries when marking a range; r=meow 2015-04-01 14:50:43 -07:00
Terrence Cole
2e244913a3 Bug 1149352 - Templatize IsMarked and IsAboutToBeFinalized; r=jonco 2015-03-27 16:22:52 -07:00
Shu-yu Guo
5add092217 Bug 1149510 - Don't try to read the result object when doing in-place debug mode bailout in a for-of loop. (r=jandem) 2015-04-03 14:18:05 -07:00
Steve Fink
39ed82c4d8 Bug 1149739 followup - typo with double open parens. r=woof!
DONTBUILD since NPOTDB. (--enable-more-deterministic only)
2015-04-03 12:50:55 -07:00
Tom Schuster
206898713f Bug 1125302 - Remove NativeLookupProperty. r=luke 2015-04-03 21:23:22 +02:00
Luke Wagner
ad48375d18 Bug 1150858 - Unwrap the correct object in ArrayBuffer.transfer (r=sfink) 2015-04-03 08:33:19 -05:00
Heiher
597e9e3d5a Bug 1150384 - IonMonkey: MIPS: Fix build failure caused by Bug 1143011. r=rankov 2015-04-02 01:00:00 -04:00
Heiher
48c5bf4f2c Bug 1150380 - IonMonkey: MIPS: Fix JitRuntime::generateProfilerExitFrameTailStub. r=rankov 2015-04-02 00:46:00 -04:00
Tom Schuster
a79eebc23f Bug 1125567 - Remove FindClassPrototype/FindClassObject. r=jorendorff 2015-04-03 17:01:14 +02:00
Eric Faust
920476bbc7 Bug 1141862 - Part 5: Change JSOP_SETCALL to JSOP_THROWMSG, anticipating future use. (r=jorendorff) 2015-04-02 19:20:17 -07:00
Eric Faust
4abd8b284a Bug 1141862 - Part 4: Make everything defined with MethodDefinition syntax use the Method FunctionSyntaxKind while parsing. (r=jorendorff) 2015-04-02 19:20:17 -07:00
Eric Faust
2b0948d6c6 Bug 1141862 - Part 3: Remove unused argument from BytecodeEmitter::emitPropLHS. (r=jorendorff) 2015-04-02 19:20:17 -07:00
Eric Faust
711bc1ca0f Bug 1141862 - Part 2: Allow Lazy script to pass the Method FunctionSyntaxKind during delazification. (r=jorendorff) 2015-04-02 19:20:02 -07:00
Eric Faust
b6634d58ab Bug 1141862 - Part 1: Free up bits in JSFunction for isMethod() and, later, isClassConstructor(). (r=jandem) 2015-04-02 19:18:20 -07:00
Shu-yu Guo
54f52943ea Bug 1134198 - Call Debugger::onPop at the point that caused the frame to pop before any unwinding in the JIT. (r=jandem) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
f7e15061ba Bug 1134198 - Call Debugger::onPop at the point that caused the frame to pop before any unwinding in the interpreter. (r=jimb) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
a60c0014ff Bug 1134198 - Update tests to reflect new specced behavior on Debugger.Frame.onPop. (r=tromey) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
e613273dfc Bug 1134198 - Update docs for new Debugger.Frame.onPop spec. (r=tromey) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
097db43bde Bug 1134198 - Don't call Debugger::slowPathOnLeaveFrame on frames no longer in Debugger frame maps. (r=jimb) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
995edf01e3 Bug 1134198 - Refactor JS_GENERATOR_CLOSED checking. (r=jandem) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
fe475b6e64 Bug 1134198 - Rename assertNotInFrameMaps to inFrameMaps. (r=tromey) 2015-04-02 17:28:02 -07:00
Boris Zbarsky
fdaf501865 Bug 679939 part 8. Drop the now-unused compileAndGo from CompileOptions. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky
1bc98a2e1e Bug 679939 part 7. Drop the now-unused JSScript::compileAndGo. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky
b951e4c3f3 Bug 679939 part 6. Drop function-cloning uses of compileAndGo, since it no longer affects the bytecode. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky
0552083636 Bug 679939 part 5. Stop using the compileAndGo script flag in the bytecode emitter. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky
c2eaf2205f Bug 679939 part 4. Set the isRunOnce compile flag as needed. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky
458bf125e5 Bug 679939 part 3. Add a CompileOptions flag for indicating that the script should be compiled runOnce. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky
96ca1664a7 Bug 679939 part 2. Disallow execution of global/eval scripts that are flagged runOnce and have already run. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky
3aa088b969 Bug 679939 part 1. Extend the hasRunOnce/treatAsRunOnce setup to global and eval scripts. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky
ce432a8628 Bug 1150513. While we're working with a function's script (e.g. cloning it), prevent that function getting relazified. r=luke 2015-04-02 19:13:26 -04:00
Wes Kocher
2176c8f88b Backed out changeset 39d74e5c3df5 (bug 1149897) for frequent bc3 timeout errors 2015-04-02 16:12:06 -07:00
Steve Fink
b35ffb3ae9 Bug 1149739 - Nerf performance.mozMemory ifdef JS_MORE_DETERMINISTIC, r=terrence 2015-04-02 13:05:29 -07:00
Steve Fink
045dc5f13d No bug. Minor analysis fix for duplicate avoidance logic. Does not seem to matter in practice. r=woof! 2015-03-27 17:26:43 -07:00
Steve Fink
80c2446cb6 Bug 1150347 - Fix autospider.sh --dep flag name, r=philor 2014-11-13 12:23:26 -08:00
Steve Fink
2bab38350a Bug 1056410 - Mark more classes final, r=terrence
Bug 1047696 was blocked by the hazard here, so it ended up not marking problematic classes final. Mark them final.
2015-03-30 14:00:45 -07:00
Jason Orendorff
4afbed61f2 Bug 1145636 - Update jsapi-tests/README. (The functional change is where it talks about the Makefile; that was stale.) r=Waldo. 2014-10-31 16:58:18 -05:00
Nicolas B. Pierron
2ad227aeff Bug 1148883 - Atomize inlined constants of bound functions. r=h4writer 2015-04-02 15:33:49 +02:00
Jan de Mooij
da0b42dad7 Bug 1144366 followup - Stop declaring multiple pointers on a single line. r=jorendorff 2015-04-02 11:22:21 +02:00
Jon Coppeard
6df58600b2 Bug 1149997 - Add v8-v5/check-raytrace.js test to expected CGC timeouts list. r=terrence 2015-04-01 07:20:00 +02:00
Wes Kocher
e18e14d8e1 Backed out 20 changesets (bug 1138499, bug 1148750, bug 1149563, bug 1148652, bug 1123875, bug 1145636, bug 1147660, bug 1148568, bug 1142828) for talos other timeouts CLOSED TREE
Backed out changeset 3fc49391f7fe (bug 1148750)
Backed out changeset 75e867c1c39e (bug 1148750)
Backed out changeset 7f6a4e3976f0 (bug 1148750)
Backed out changeset 91d726011835 (bug 1149563)
Backed out changeset fc7c3cf0e526 (bug 1148652)
Backed out changeset 35a01c7e0f8d (bug 1148652)
Backed out changeset 3125cc5a7a65 (bug 1148652)
Backed out changeset a9f10724b83b (bug 1148568)
Backed out changeset 87132a806ab0 (bug 1147660)
Backed out changeset e6b410c7b847 (bug 1147660)
Backed out changeset c350fe54d9c0 (bug 1147660)
Backed out changeset e4b971996b94 (bug 1147660)
Backed out changeset f221db19fb75 (bug 1147660)
Backed out changeset c4599f0cff00 (bug 1142828)
Backed out changeset c7388a9c3935 (bug 1138499)
Backed out changeset 9b51b38317d6 (bug 1138499)
Backed out changeset ad243a3cd06f (bug 1138499)
Backed out changeset fafda276abd9 (bug 1138499)
Backed out changeset 0a00470fdc2a (bug 1145636)
Backed out changeset 06dbe25231c2 (bug 1123875)
2015-04-01 19:17:45 -07:00
Bill McCloskey
2442a7e3a8 Bug 1146033 - Fix Reflect.parse default parameters (r=Waldo) 2015-04-01 17:37:13 -07:00
Bill McCloskey
ada9ed3581 Bug 1146032 - Fix comprehension name location in Reflect.parse (r=Waldo) 2015-04-01 17:37:13 -07:00
Jason Orendorff
258f6c26ed Bug 1148750, part 3 - Rewrite the rest of NativeDefineProperty. At this point it stops being practical to continue in small chunks. r=efaust. 2015-03-23 14:32:31 -05:00
Jason Orendorff
821b15dcd3 Bug 1148750, part 2 - Check extensibility in NativeDefineProperty. r=efaust. 2015-03-27 14:03:01 -05:00
Jason Orendorff
3f562b3039 Bug 1148750, part 1 - Factor out the lookup common to three branches at the top of NativeDefineProperty. r=efaust.
The existing setup saves a branch. We can't keep it. All that code is about to be completely rewritten. In the standard algorithms, this check is not immediately followed by a branch on this particular condition (desc.hasValue()). Furthermore, to deal with resolve hooks properly, we will later change the condition of this if-statement to something like `if (resolving)`, which will not be something we can common up with any other branch in this function.
2015-03-23 14:32:30 -05:00
Jason Orendorff
6089bda802 Bug 1149563 - Change bogus ctypes code that modifies a frozen object. r=efaust. 2015-03-28 11:28:06 -05:00
Jason Orendorff
1c594e8314 Bug 1148652, part 3 - Mark arguments.length as overridden when it is redefined via the C API. r=efaust. 2015-03-23 14:32:33 -05:00
Jason Orendorff
04f1f59ecb Bug 1148652, part 2 - Use mostly-compliant code for defining TypedArray elements, already used from StandardDefineProperty, in NativeDefineProperty as well. r=efaust. 2015-03-23 14:32:31 -05:00
Jason Orendorff
0859395dae Bug 1148652, part 1 - Move array-specific special cases to the top of NativeDefineProperty; update ArraySetLength to be able to cope with incomplete attrs. r=efaust. 2015-03-23 14:32:30 -05:00
Jason Orendorff
86ac038c99 Bug 1148568 - In JSON.parse with a reviver callback, ignore failure when defining properties. r=Waldo.
Switch to StandardDefineProperty while we're at it. I don't think the "CreateDataProperty" operation given in the spec is quite worth making into a function on its own, since the standard almost exclusively uses it in cases where it "can't fail", and (a) that is unpossible for us; (b) this is not one of those cases anyway.
2015-03-23 14:32:30 -05:00
Jason Orendorff
3ecf4c2cf0 Bug 1147660, part 5 - Split the part of NativeDefineProperty that updates the object into a separate function again. r=efaust. 2015-03-23 14:32:29 -05:00
Jason Orendorff
89f5cd6bcd Bug 1147660, part 4 - Change NativeDefineProperty to use a PropertyDescriptor internally instead of a bunch of variables. This is a little ugly at first but it'll get better. r=efaust. 2015-03-23 14:32:29 -05:00
Jason Orendorff
19abf30ebb Bug 1147660, part 3 - Rearrange NativeDefineProperty so that special cases are all dispensed with, and ES6 checks done, by the time we start thinking about how to update the object. r=efaust. 2015-03-23 14:32:29 -05:00
Jason Orendorff
67eb239ca7 Bug 1147660, part 2 - Merge DefinePropertyOrElement into NativeDefineProperty, making one long function we can refactor. r=efaust. 2015-03-23 14:32:28 -05:00
Jason Orendorff
6ad7566906 Bug 1147660, part 1 - Refactor NativeDefineProperty to put DefinePropertyOrElement's only call site right at the end. No change in behavior. r=efaust. 2015-03-23 14:32:28 -05:00
Jason Orendorff
15a7168cac Bug 1142828 - Refactor to avoid having [[Set]]-specific weird cases in the [[DefineOwnProperty]] code. r=Waldo.
NativeSetExistingDataProperty is only moved in this changeset; its body is not modified.
2015-03-23 14:32:28 -05:00
Jason Orendorff
ee03b2d425 Bug 1138499, part 3 - Flip JS_CHECK_ACCESSOR_FLAGS from a blacklist to a whitelist. r=Waldo. 2015-03-23 16:44:10 -05:00
Jason Orendorff
54a7a21f2a Bug 1138499, part 2 - Strengthen assertComplete() to require that both [[Get]] and [[Set]] be present on accessor properties. r=Waldo. 2015-03-23 14:32:27 -05:00
Jason Orendorff
fc99a92115 Bug 1138499, part 1 - Assert some basic rules on property descriptors on entry to DefineProperty and exit from GetOwnPropertyDescriptor. r=Waldo. 2015-03-23 14:32:27 -05:00
Jason Orendorff
149449abad Bug 1138499, part 0 - Fix code spuriously using JSPROP_READONLY when defining an accessor property. r=Waldo. 2015-03-23 16:36:43 -05:00
Jason Orendorff
6ffcb02f8a Bug 1145636 - Update jsapi-tests/README. (The functional change is where it talks about the Makefile; that was stale.) r=Waldo. 2014-10-31 16:58:18 -05:00
Wes Kocher
945253bc5d Backed out changeset 429f4e9d44dc (bug 1149811) for test failures CLOSED TREE 2015-04-01 10:25:04 -07:00
Wes Kocher
c506200d80 Backed out 8 changesets (bug 679939) for test failures
Backed out changeset 4a1a45bc093a (bug 679939)
Backed out changeset 5336ae0fe919 (bug 679939)
Backed out changeset 4cbcb40e0ef4 (bug 679939)
Backed out changeset 3bc68cf4610b (bug 679939)
Backed out changeset ec2d863a3df9 (bug 679939)
Backed out changeset 4425a55312c6 (bug 679939)
Backed out changeset d3793e00b41f (bug 679939)
Backed out changeset 872edd1aedf7 (bug 679939)
2015-04-01 10:24:42 -07:00
Hannes Verschore
0e2adeb3f5 Bug 1138881 - IonMonkey: Allow fixing andor blocks which have MFilterTypeSet, r=bhackett 2015-03-25 16:15:28 +01:00
Hannes Verschore
bb370db44e Bug 1138881 - IonMonkey: Improve types at AndOr, r=bhackett 2015-03-25 16:15:27 +01:00
Boris Zbarsky
21814fccdd Bug 679939 part 8. Drop the now-unused compileAndGo from CompileOptions. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky
3773cc6f5c Bug 679939 part 7. Drop the now-unused JSScript::compileAndGo. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky
edfec71b46 Bug 679939 part 6. Drop function-cloning uses of compileAndGo, since it no longer affects the bytecode. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky
44fe165422 Bug 679939 part 5. Stop using the compileAndGo script flag in the bytecode emitter. r=luke 2015-04-01 12:05:29 -04:00
Boris Zbarsky
0a2cfae2a5 Bug 679939 part 4. Set the isRunOnce compile flag as needed. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky
cc23d228f1 Bug 679939 part 3. Add a CompileOptions flag for indicating that the script should be compiled runOnce. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky
6404539703 Bug 679939 part 2. Disallow execution of global/eval scripts that are flagged runOnce and have already run. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky
4a066c2428 Bug 679939 part 1. Extend the hasRunOnce/treatAsRunOnce setup to global and eval scripts. r=luke 2015-04-01 12:05:28 -04:00
Boris Zbarsky
3ec3e636ca Bug 1149811. When XDR-decoding a non-lazy function that can be lazified, we need to set up a backpointer from its LazyScript to its JSScript. r=luke 2015-04-01 12:05:28 -04:00
Jan de Mooij
0b62bfe44f Bug 1146836 part 2 - Use Vectors instead of malloc in emitSwitch and fix an old bug. r=luke 2015-04-01 16:20:29 +02:00
Jan de Mooij
9e23e7dbd5 Bug 1146836 part 1 - Cleanup BytecodeEmitter::emitSwitch. r=luke 2015-04-01 16:20:26 +02:00
David Rajchenbach-Teller
9c731361b4 Bug 674779 - Per-component CPU monitoring, low-level. r=blassey, r=jandem 2015-03-31 12:40:52 +02:00
Tooru Fujisawa
4dd9b63efd Bug 1054755 - Part 3: Use IsRegExp in String.prototype.{contains,startsWith,endsWith}. r=till 2015-04-01 18:34:03 +09:00
Tooru Fujisawa
0c3893a2a1 Bug 1054755 - Part 2: Implement IsRegExp. r=till 2015-04-01 18:34:03 +09:00
Tooru Fujisawa
2c6deea24c Bug 1054755 - Part 1: Add Symbol.match. r=till 2015-04-01 18:34:03 +09:00
Tooru Fujisawa
a1ce97e60c Bug 1054755 - Part 0: Rename existing IsRegExp to IsRegExpObject. r=till 2015-04-01 18:34:03 +09:00
Tooru Fujisawa
8179cb9219 Bug 1005110 - Warn about unreachable expression after semicolon-less return. r=efaust 2015-04-01 18:34:03 +09:00
Tooru Fujisawa
0ec843f005 Bug 1148899 - Rename isExprClosure/setIsExprClosure/EXPR_CLOSURE to isExprBody/setIsExprBody/EXPR_BODY. r=shu 2015-04-01 18:34:02 +09:00
Tooru Fujisawa
df49e8f6e7 Bug 1149015 - Part 3: Remove some use of expression closure from jit-test r=luke 2015-04-01 18:34:02 +09:00
Tooru Fujisawa
163479c9aa Bug 1149015 - Part 2: Remove some use of expression closure from jstests js1_8_5/extensions. r=luke 2015-04-01 18:34:02 +09:00
Tooru Fujisawa
7bd7692f49 Bug 1149015 - Part 1: Remove some use of expression closure from jstests ecma_7/. r=sfink 2015-04-01 18:34:02 +09:00
Jon Coppeard
7c7275d219 Bug 1149135 - Don't create HashMapEntry on stack when adding to a HashMap r=luke 2015-04-01 10:11:06 +01:00
Jon Coppeard
9e18ab0f78 Bug 1146696 - Don't assume there are no arenas available after last ditch GC. r=terrence 2015-03-30 11:03:35 +01:00
Jon Coppeard
67ba4cd61f Bug 1145997 - Suppress GC in debugger GC callback r=sfink 2015-04-01 10:09:56 +01:00
Chris Peterson
51b6b7c866 Bug 1125698 - Add ExpandErrorArguments() varargs helper function and remove uninitialized dummy va_list variable. r=Waldo 2015-01-25 18:38:28 -08:00
Mike Hommey
ccd2a9b975 Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
L. David Baron
900854f647 Backed out changeset e942133b1f9b (bug 1149769) for jittest-2, jsreftest, and spidermonkey test failures, on a CLOSED TREE. 2015-03-31 19:37:54 -07:00
Eric Faust
ef2ada318b Bug 1149769 - Split reflect-parse.js reftest into its own subdirectory. (r=Waldo) 2015-03-31 18:29:10 -07:00
Tom Schuster
b6e24288b0 Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv 2015-03-28 14:47:02 +01:00
Sean Stangl
2468d8703c Bug 1148375 - Ignore unhandled Elements. r=jandem 2015-03-30 13:34:19 -07:00
Sean Stangl
9bdb826506 Bug 1146619 - Rename "Prolog" to "Prologue" everywhere. r=efaust 2015-03-23 14:13:26 -07:00
Boris Zbarsky
530c951ee0 Bug 1149280 part 1. Make nullprincipal creation faster. r=smaug 2015-03-31 13:11:00 -04:00
Boris Zbarsky
6eea18cc58 Bug 1148973. When skipping shape guards in Ion common getter/setter code because the object has a non-configurable property, first verify that its current shape matches the shape we're using to compile our code. r=jandem 2015-03-30 23:44:01 -04:00
Terrence Cole
474af0e97c Bug 1147670 - Remove duplicate IsMarked/IsAboutToBeFinalized for off-thread use; r=jonco 2015-03-26 10:47:44 -07:00
Nicolas B. Pierron
f63df79741 Bug 1134626 part 1 - Move all x86-shared files into their own directory. r=jandem 2015-03-31 14:30:41 +02:00
Mike Hommey
610d7d49da Bug 1149416 - Don't make free-nonheap-object warning an error on a CLOSED TREE . r=glandium 2015-03-31 16:36:37 +09:00
Shu-yu Guo
a15af8dcec Bug 1145781 - Fix hazard on a CLOSED TREE. 2015-03-30 23:56:53 -07:00
Chris Peterson
0d8e18eb33 Bug 1083498 - Remove SpiderMonkey's nonstandard behavior for destructuring for..in loops in JS1.7. r=jorendorff 2015-03-23 20:43:10 -07:00
Shu-yu Guo
ff4289c02c Bug 1118865 - Relax assertion in DebugScopeProxy::isMagicMissingArgumentsValue. (r=nbp) 2015-03-30 22:26:43 -07:00
Shu-yu Guo
d0179c2296 Bug 1145781 - Unlazify functions when getting their debug scopes. (r=jimb) 2015-03-30 22:26:43 -07:00
L. David Baron
bb896e046a Back out changeset 501a8f687a91 (bug 1148973) for widespread test bustage. 2015-03-30 21:51:41 -07:00
Boris Zbarsky
a5dd2b089c Bug 1148973. When skipping shape guards in Ion common getter/setter code because the object has a non-configurable property, first verify that its current shape matches the shape we're using to compile our code. r=jandem 2015-03-30 23:44:01 -04:00
Bill McCloskey
ce0c07e593 Bug 1148962 - Use TakeOwnershipOfErrorReporting in CPOW code (r=bholley) 2015-03-30 20:13:06 -07:00
Wes Kocher
c758948b6d Backed out changeset 399c30b5e357 (bug 1145781) for bc1 orange CLOSED TREE 2015-03-30 18:50:06 -07:00
Wes Kocher
482117a15c Backed out changeset 912d7039be45 (bug 1118865) 2015-03-30 18:50:05 -07:00
Wes Kocher
e226c3a7c6 Backed out changeset a9137f699a08 (bug 1146696) for cgc orange CLOSED TREE 2015-03-30 16:23:49 -07:00
Eric Faust
aa62f321e0 Bug 1145795 - Remove LJSCallInstructionHelper::numStackArgs() footgun. (r=jandem) 2015-03-30 15:29:18 -07:00
Eric Faust
3d289f5ee0 Bug 1147581 - Remove the now defunct TMPSLOT mechanism. (r=jorendorff) 2015-03-30 15:29:16 -07:00
Shu-yu Guo
4f1d17f0fe Bug 1118865 - Relax assertion in DebugScopeProxy::isMagicMissingArgumentsValue. (r=nbp) 2015-03-30 15:25:06 -07:00
Shu-yu Guo
27ea207e65 Bug 1145781 - Unlazify functions when getting their debug scopes. (r=jimb) 2015-03-30 15:25:06 -07:00
Terrence Cole
b59b9ecc82 Bug 1147669 - Replace id marking functions with TraceEdge; r=jonco 2015-03-26 10:23:30 -07:00
Terrence Cole
af2c73052c Bug 1147665 - Replace value marking functions with TraceEdge; r=jonco 2015-03-26 10:23:27 -07:00
Terrence Cole
20916f0bed Bug 1147588 - Replace slots marking functions with TraceEdge; r=jonco 2015-03-26 10:23:26 -07:00
Terrence Cole
2e8bed2812 Bug 1147533 - Add cross-compartment tracing methods via the new tracing paths; r=jonco 2015-03-26 10:17:51 -07:00
Terrence Cole
28c0815f86 Bug 1147180 - Replace the generic Mark functions with TraceEdge; r=jonco 2015-03-24 14:37:16 -07:00
Terrence Cole
b1eef6cb11 Bug 1147180 - Introduce a new, strongly-typed tracing path; r=jonco, r=sfink 2015-02-26 14:15:26 -08:00
Jon Coppeard
20d7efa63f Bug 1146696 - Don't assume there are no arenas available after last ditch GC. r=terrence 2015-03-30 11:03:35 +01:00
Andrew McCreight
78ef3a55a4 Bug 1147572 - Remove implementation language field from DOM class info. r=jst 2015-03-30 10:45:39 -07:00
Andrew McCreight
1f6e5cfea2 Bug 1147951, part 3 - Remove unnecessary includes of nsIProgrammingLanguage. r=baku 2015-03-30 10:45:39 -07:00
Tom Tromey
19e44cb300 Bug 979094 - Fix ending location of variable declaration. r=jimb 2015-03-27 08:38:00 -04:00
Ryan VanderMeulen
bc8ad13bd6 Backed out changesets 490d2e6a5026 and f1bd22adbd0c (bug 1146696) for frequent mochitest-bc leaks.
CLOSED TREE
2015-03-30 11:36:59 -04:00
Jan de Mooij
fe9a88aebd Bug 1148880 - Make Trampoline-arm.cpp compile with Clang again. r=nbp 2015-03-30 15:29:29 +02:00
Jon Coppeard
fdf269d121 Bug 1146696 - Fix test failures on windows cgc builds r=me 2015-03-30 13:32:31 +01:00
Jon Coppeard
1742c200a6 Bug 1146696 - Don't assume there are no arenas available after last ditch GC r=terrence 2015-03-30 11:03:35 +01:00
Andrew McCreight
4b767927e9 Bug 1148070 - Change nsIClassInfo::getHelperForLanguage() to getScriptableHelper(). r=bholley 2015-03-29 07:52:54 -07:00
Andrew McCreight
12bf4e0709 Bug 1147967 - Remove CreateStackFrameLocation. r=bholley
This method is defined on nsIXPConnect and StackFrame, but is not used.

Also the non-default constructor that for StackFrame that is no longer used.
2015-03-29 07:52:53 -07:00
Brian Hackett
75844cd483 Bug 1142843 - Optimize accesses through prototypes with typed object receivers in baseline and ion, r=jandem. 2015-03-28 17:03:45 -07:00
Jan de Mooij
353df38b83 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00
Emanuel Hoogeveen
fe06723bde Bug 1148214 - Replace manual AllocKind range checks with a few centralized functions. r=terrence 2015-03-26 17:07:00 -04:00
Phil Ringnalda
9e022af53e Backed out 7 changesets (bug 1147588, bug 1147669, bug 1147533, bug 1147665, bug 1135985, bug 1147180, bug 1147670) for frequent 10.10 devtools-2 GC assertion failures
CLOSED TREE

Backed out changeset 0bd8c4ec41fa (bug 1147670)
Backed out changeset 35ad82ff9ee7 (bug 1147669)
Backed out changeset ffe7f2e2a0f0 (bug 1147665)
Backed out changeset 37c42cff2c01 (bug 1147588)
Backed out changeset be4138f208ba (bug 1147533)
Backed out changeset 6bbd529bd995 (bug 1147180)
Backed out changeset 853e3ad56dad (bug 1135985)
2015-03-28 10:41:32 -07:00
Phil Ringnalda
ebf64fc997 Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
2015-03-28 10:39:56 -07:00
Phil Ringnalda
6ed9961a65 Backed out changeset d72144153749 (bug 1147005) for being on top of a patch on top of a patch being backed out
CLOSED TREE
2015-03-28 10:39:09 -07:00
Tom Schuster
66af630422 Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv 2015-03-28 14:47:02 +01:00
Jan de Mooij
f981f078d8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Wes Kocher
7549c12aa0 Merge m-c to inbound a=merge 2015-03-27 17:31:19 -07:00
Nicolas B. Pierron
62c10dc568 Bug 1145811 - Remove simdSet argument of PushRegsInMask. r=bbouvier 2015-03-28 01:08:13 +01:00
Nicolas B. Pierron
16f92ff981 Bug 1143011 - Use AllocatableSet or LiveSet for all register set uses. r=jandem 2015-03-28 01:08:12 +01:00
Nicolas B. Pierron
36197ee613 Bug 1143011 - Extract the has/add/take logic out of the register sets to distinguish between allocatable and live sets. r=jandem,Waldo 2015-03-28 01:08:12 +01:00
Wes Kocher
dc968c65b7 Merge fx-team to m-c a=merge 2015-03-27 16:52:38 -07:00
Ryan VanderMeulen
75d2b3c79e Backed out 2 changesets (bug 854037, bug 1146644) for LexicalEnvironment/const-declaration-in-for-loop.js jsreftest failures.
Backed out changeset 2d59ec36a2e4 (bug 854037)
Backed out changeset 031ded170326 (bug 1146644)

CLOSED TREE
2015-03-27 13:28:58 -04:00
Nicolas B. Pierron
20614a00ae Bug 1134074 - IonBuilder: Atomize strings when inlining String.split. r=djvj 2015-03-27 17:40:57 +01:00
Jeff Walden
8424a49e0a Bug 854037 - Make lexical declarations in the initializing component of a for(;;) loop create a fresh binding for each iteration of the loop. r=shu 2015-03-27 12:29:50 -04:00
Ryan VanderMeulen
ca58b815ec Merge m-c to fx-team. a=merge 2015-03-27 12:21:41 -04:00
Jon Coppeard
3e289ea5ed Backed out changeset 49aa36d0b28a and eaf2526ffd90 (bug 1146696) for jit-test failures on a CLOSED TREE 2015-03-27 15:04:35 +00:00
Jon Coppeard
c8758cc663 Bug 1146696 - Fix testcase not to over-recurse r=me on a CLOSED TREE 2015-03-27 13:55:07 +00:00
Jeff Walden
0ea97c1107 Bug 1146644 - Don't assert compiling a for-loop with a const loop-variable declaration. r=shu 2015-03-26 14:12:31 -04:00
Douglas Crosher
32c1fe7bea Bug 1147353 - Odin: simplify the masked index bounds check test. r=sfink, r=luke 2015-03-26 10:04:05 +11:00
Jeff Walden
69acd3a54d Bug 1145058 - Annotate the SpeciesConstructor utility function with step-by-step comment numbering to make clear where we do (and do not!) follow the spec. Also fix issues related to our half-pretense of implementing this method without having first implemented the well-known @@species symbol. r=efaust 2015-03-25 23:33:49 -04:00
Benjamin Bouvier
0ee9483405 Bug 1146311: Make some SIMD nodes cloneable and movable; r=sunfish 2015-03-23 13:41:10 +01:00
Benjamin Bouvier
9d90deaf90 Bug 1147405: Have math_ceil_handle use setNumber rather than setDouble; r=nbp 2015-03-26 15:44:55 +01:00
Benjamin Bouvier
9c983a74fe Bug 1147662: LexicalCheck should be a guard, so as not to be removed; r=shu 2015-03-26 12:59:26 +01:00
Lars T Hansen
e029dd0615 Bug 1146902 - be smarter about inlining atomics. r=jandem 2015-03-27 12:38:36 +01:00