Commit Graph

36696 Commits

Author SHA1 Message Date
Wes Kocher
c1aacfb986 Merge m-c to inbound a=merge 2014-11-06 19:08:13 -08:00
Wes Kocher
7ec75772bd Merge fx-team to m-c a=merge 2014-11-06 18:26:36 -08:00
Boris Zbarsky
0381435644 Bug 1094544. Use [Exposed=System] some more instead of hardcoding binding bits in xpc::InitGlobalObject. r=bholley 2014-11-06 10:54:38 -05:00
Benjamin Bouvier
f3e0074aff Bug 1094261: SIMD: Simplify testSIMD.js; r=luke 2014-11-06 11:59:22 +01:00
Benjamin Bouvier
afb857ac06 Bug 1094261: SIMD: Have lane accessors return Signed and signMask return Signed in asm.js; r=luke 2014-11-06 11:59:17 +01:00
David (v45h) Moreira
0cf858f438 Bug 1050160 - DeadIfUnused should not check for resume points. r=nbp 2014-11-06 11:34:27 +01:00
Eric Faust
d41b2e1f0b Bug 1094616 - |const| destructuring assignments should shadow |arguments|. (r=shu, a=kwierso) 2014-11-06 16:19:13 -08:00
Jan de Mooij
c024a709a0 Bug 1093573 part 3 - Use AbstractFramePtr in GeneratorObject methods. r=wingo
--HG--
extra : rebase_source : a2a1b2276a3ba52414fd7f72d767cbf07565e686
2014-11-06 10:12:57 +01:00
Jan de Mooij
a6c3a80b01 Bug 1093573 part 2 - Remove GENERATOR frame flag. r=wingo
--HG--
extra : rebase_source : 51bc843a9bf27c3e3a6718867d6e7953970b9787
2014-11-06 10:12:57 +01:00
Jan de Mooij
2e7da6e40b Bug 1093573 part 1 - Some generator bytecode changes. r=wingo
--HG--
extra : rebase_source : d5d35bc7f367f3a3427bf22a8bdd83b1ea76be16
2014-11-06 10:12:56 +01:00
Victor Carlquist
7d31a9ccb5 Bug 1086530 - Huge regression with using split after landing of bug 1054330. r=kvijayan 2014-10-31 10:15:51 -02:00
Carsten "Tomcat" Book
531932eb59 Backed out changeset f7f7a0315041 (bug 1094189) for possible breaking ggc tests on a CLOSED TREE 2014-11-06 09:13:58 +01:00
Carsten "Tomcat" Book
fac6a9db7c Backed out changeset dc265cc31095 (bug 1091900) 2014-11-06 09:11:18 +01:00
Chris Peterson
47ea965ab4 Bug 1090016 - Part 2: Replace SpiderMonkey's --enable-sm-fail-on-warnings flag with explicit moz.build FAIL_ON_WARNINGS. r=ted
--HG--
extra : rebase_source : c24f7795fc39e0c1954f21f862ce0cd8f5f2729d
2014-11-03 18:46:10 -08:00
Wes Kocher
9bef29be7b Backed out changeset f28d2350eb43 (bug 1092318) for jsreftest permafails 2014-11-05 20:43:33 -08:00
Bill McCloskey
3f3dd80fb9 Bug 1091964 - Avoid spurious rooting hazard on a CLOSED TREE 2014-11-05 17:52:38 -08:00
Brian Hackett
5097ed7010 Bug 1092318 - Remove unsized array typed objects, r=nmatsakis. 2014-11-05 17:58:35 -07:00
Eric Faust
d587d0d74b Bug 1094265 - |for (const x in []);| should be a SyntaxError. (r=till) 2014-11-05 16:23:20 -08:00
Bill McCloskey
5d020c5bc3 Bug 1092156 - Add missing comments DONTBUILD (r=bholley) 2014-11-05 17:22:20 -08:00
Paolo Amadini
d41231d528 Bug 1094248 - Process remaining Promise microtasks before blocking inside a nested event loop in the main thread. r=bz 2014-11-06 14:00:06 +00:00
Bill McCloskey
a57b42cc2f Bug 1092156 - [e10s] Don't use compartment-per-addon if window already associated with add-on (r=bholley) 2014-11-05 17:10:37 -08:00
Bill McCloskey
a4186ac75a Bug 1091970 - [e10s] Cache object tag in add-on shims for remote objects (r=mrbkap) 2014-11-04 17:40:08 -08:00
Bill McCloskey
169b2f071b Bug 1091964 - [e10s] Cache isCallable and isConstructor for CPOWs (r=mrbkap) 2014-11-04 17:39:34 -08:00
Bill McCloskey
204e02f724 Bug 1092446 - [e10s] Allow unprivileged scopes to call content-to-chrome CPOWs (r=bholley) 2014-11-04 17:38:19 -08:00
Tom Schuster
5e10b64908 Bug 1091900 - Remove iteratorObject hook. r=jorendorff 2014-11-05 20:36:49 +01:00
Tom Schuster
eb58198ec8 Bug 1094189 - Remove shell resolver function. r=jorendorff 2014-11-05 20:36:48 +01:00
Terrence Cole
fabf389f69 Bug 1093307 - Part 1: Shrinking GC's already sweep on the foreground so remove the flag; r=jonco
--HG--
extra : rebase_source : 521266ba686047388ddb1832d6a4f83f0bcf3410
2014-11-04 10:53:27 -08:00
Terrence Cole
1093676472 Bug 1074961 - Part 10: move foreground sweeping of background things closer to background sweeping; r=jonco
--HG--
extra : rebase_source : fed8085405ca3ed46ceb3f53a1aec63c2cd9a421
2014-11-04 09:34:00 -08:00
Terrence Cole
4b5dc62bd0 Bug 1093307 - Part 0: Cancel background allocation before flushing empty chunks when we OOM; r=jonco
--HG--
extra : rebase_source : 6859fba8d90df935cc109d67268650b9c251c372
2014-11-03 15:29:05 -08:00
Eric Rahm
7608471d1f Bug 1085746 - Fix unaligned TypedArrayBuffer access on ARM. r=mjrosenb 2014-11-05 10:37:51 -08:00
Dan Gohman
4ef9bab1d2 Bug 1094052 - Fix #include order r=me 2014-11-05 10:29:19 -08:00
Dan Gohman
14300a5f45 Bug 1093356 - IonMonkey: When x < 0, x is not negative zero r=nbp,h4writer 2014-11-05 07:07:43 -08:00
Dan Gohman
24d520803a Bug 1094052 - IonMonkey: Fix range analysis for Math.sign(-0) r=nbp,h4writer 2014-11-05 08:38:40 -08:00
Hannes Verschore
8cc662fb01 Bug 914255: Fix assert on CLOSED TREE, r=bhackett 2014-11-05 17:48:14 +01:00
Brian Hackett
766a85546c Bug 1092238 - Optimize reads from reference members of TypedObjects, r=nmatsakis. 2014-11-05 09:24:56 -07:00
Hannes Verschore
9005d324a9 Bug 914255 - Reduce the number of objects tracked in a TypeSet, r=bhackett 2014-11-05 16:46:21 +01:00
Carsten "Tomcat" Book
3bb9fc90ba Backed out 7 changesets (bug 1084651) for ASAN Bustage on a CLOSED TREE
Backed out changeset dd2b3e78b425 (bug 1084651)
Backed out changeset 2711fbd91819 (bug 1084651)
Backed out changeset 59a163addd79 (bug 1084651)
Backed out changeset d36f6dbbf925 (bug 1084651)
Backed out changeset 78102b62a4a0 (bug 1084651)
Backed out changeset 06387a2343a0 (bug 1084651)
Backed out changeset 2f8e7c39573e (bug 1084651)
2014-11-05 15:20:25 +01:00
Shu-yu Guo
0a14cd0584 Bug 1092833 - Deal with uninitialized slots in MacroAssembler::initGCSlots. r=terrence 2014-11-05 08:12:44 -05:00
Carsten "Tomcat" Book
725e52000a Backed out changeset 2e9f81c5d00c (bug 1052839) for ggc bustage 2014-11-05 14:03:58 +01:00
Emanuel Hoogeveen
774adccd1e Bug 1084651 - Part 6: Rename SliceBudget::reset to the less misleading makeUnlimited. r=billm 2014-11-04 07:35:00 +01:00
Emanuel Hoogeveen
9c1b571d62 Bug 1084651 - Part 4b: Adjust and clarify some tests using gcslice(0). r=wmccloskey 2014-11-04 08:17:00 +01:00
Emanuel Hoogeveen
29b2140ed2 Bug 1084651 - Part 4a: Adjust some tests to preserve previous behavior. r=wmccloskey 2014-10-21 11:50:00 +02:00
Emanuel Hoogeveen
83b0fcf251 Bug 1084651 - Part 3: Tighten up the bounds of SliceBudget to work as a budget should. r=wmccloskey 2014-11-04 07:34:00 +01:00
Emanuel Hoogeveen
69f8cfc1a9 Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=wmccloskey r=mccr8 2014-10-22 14:13:00 +02:00
Emanuel Hoogeveen
8c558ad026 Bug 1084651 - Part 1: Thread SliceBudget through several functions to choose the budget type at the source. r=billm 2014-11-05 00:33:00 +01:00
Carsten "Tomcat" Book
f94c96cce1 Backed out changeset 2dbf8f6bd2aa (bug 1092446) for suspicion of adding a hazard 2014-11-05 10:04:08 +01:00
Carsten "Tomcat" Book
efe4af0c06 Backed out changeset 5992aea01aff (bug 1091964) 2014-11-05 10:03:06 +01:00
Carsten "Tomcat" Book
dbe7dbf0fe Backed out changeset 38ca6211d1d4 (bug 1091970) 2014-11-05 10:02:59 +01:00
Jan Beich
c47ea57634 Bug 1041795 - Disable system libs when generating DTrace probes. f=sfink f=ginn.chen 2014-11-04 02:01:00 +01:00
Wes Kocher
4a1f58b330 Backed out changeset 5e6d8b6023e3 (bug 1092833) under suspicion of ggc bustage on a CLOSED TREE 2014-11-04 20:24:50 -08:00
Brian Hackett
d08dfee91d Bug 1089665 - Fixup dictionary objects earlier after swapping them, r=billm. 2014-11-04 18:44:03 -07:00
Bill McCloskey
d673d4c30d Bug 1091970 - [e10s] Cache object tag in add-on shims for remote objects (r=mrbkap) 2014-11-04 17:40:08 -08:00
Bill McCloskey
7260811c53 Bug 1091964 - [e10s] Cache isCallable and isConstructor for CPOWs (r=mrbkap) 2014-11-04 17:39:34 -08:00
Bill McCloskey
edd6c20e5b Bug 1092446 - [e10s] Allow unprivileged scopes to call content-to-chrome CPOWs (r=bholley) 2014-11-04 17:38:19 -08:00
Brian Hackett
7e118c77aa Bug 1091329 - Optimize writes to reference members of TypedObjects, r=nmatsakis,jandem. 2014-11-04 18:21:47 -07:00
Shu-yu Guo
986a44f67e Bug 1092833 - Deal with uninitialized slots in MacroAssembler::initGCSlots. (r=terrence) 2014-11-04 16:52:38 -08:00
Wes Kocher
63b2f47449 Backed out 3 changesets (bug 1088831) for mochitest-2 failures 2014-11-04 16:39:12 -08:00
Hannes Verschore
dfaece64ac Bug 1052839 - Selfhost substr/slice/substring, r=waldo,till,jonco 2014-11-04 23:31:28 +01:00
Brian Hackett
adfa6449dc Bug 1091015 - Inline allocation of Typed Objects in IonMonkey, r=nmatsakis,jandem. 2014-11-04 15:19:46 -07:00
Eric Faust
3859ec66a3 Bug 611388 - |const| should be block scoped and require an initializer. (r=shu) 2014-10-30 17:27:03 -07:00
Eric Faust
1ba600aa1f Bug 611388 - Part 0: Sanify how const is handled by Reflect.parse. (r=shu) 2014-10-30 17:27:01 -07:00
Steve Fink
3fde6a2537 Bug 1088831 - Track mutator vs GC time in specified intervals, r=jonco
--HG--
extra : rebase_source : 44313ac31315dbebde12bd76ade8f0cfb4d7ce5a
2014-11-04 13:23:13 -08:00
Steve Fink
9a6efa67bc Bug 1088831 - Account for the storebuffer compaction time, r=jonco
--HG--
extra : rebase_source : c6dc383197f0abd01eb9bdaf49fb2ac9d370a1b4
2014-11-04 13:23:10 -08:00
Steve Fink
801d787cea Bug 1088831 - Count storebuffer compactions, r=jonco
--HG--
extra : rebase_source : e9bb802708fe5813377ce09f487a6304a8c265d7
2014-11-04 08:34:56 -08:00
Dan Gohman
60608d8311 Bug 1093356 - Refine the range of constants outside the int32 range r=nbp,h4writer 2014-11-04 10:26:31 -08:00
Dan Gohman
6a4c5eb7e8 Bug 1073928 - IonMonkey: Represent negative zero explicitly in range analysis r=nbp,h4writer 2014-11-04 10:26:30 -08:00
Terrence Cole
d2bb6716fe Bug 1074961 - Part 9: Move freeLifoAlloc to the GCRuntime; r=jonco 2014-11-03 15:29:03 -08:00
Benjamin Bouvier
377fa111ab Bug 1092110: Make a few functions and members debug only; r=dougc 2014-11-04 15:30:45 +01:00
Benjamin Bouvier
f161e117a1 Bug 1092110: Kill partialNunboxes_; r=bhackett 2014-11-04 15:30:38 +01:00
Benjamin Bouvier
4d428bffc9 Bug 1092110: Fix a signed/unsigned comparison in JitcodeMap; r=dougc 2014-11-04 15:30:30 +01:00
Jan de Mooij
b5df9f2ef4 Bug 1090491 part 5 - Don't allocate block slots when all locals are aliased. r=wingo 2014-11-04 14:44:40 +01:00
Jan de Mooij
b7a44fcaed Bug 1090491 part 4 - Refactor InterpreterFrame::markValues to be more like the BaselineFrame code. r=wingo 2014-11-04 14:44:38 +01:00
Nicolas B. Pierron
b7346ed4ab Bug 1087468 - IonMonkey: Inline functions with loops based on their arguments. r=h4writer 2014-11-04 11:16:06 +01:00
Carsten "Tomcat" Book
23829bc0c6 Backed out changeset 88041cfff520 (bug 1052839) for rootanalysis test failures 2014-11-04 10:53:25 +01:00
Hannes Verschore
5d7e5176bc Bug 1052839 - Selfhost substr/slice/substring, r=waldo,till 2014-11-04 09:43:00 +01:00
Terrence Cole
2a07984d71 Bug 1083464 - Use a more standard mechanism to export GC symbols to embedders. r=ted,r=jorendorff 2014-10-27 13:29:44 -07:00
Phil Ringnalda
002b557572 Back out 3 changesets (bug 1088831)
CLOSED TREE

Backed out changeset 5156cefdad51 (bug 1088831)
Backed out changeset 15e064492127 (bug 1088831)
Backed out changeset 70a7f15c30fb (bug 1088831)
2014-11-03 19:34:35 -08:00
Steve Fink
545d8bd6b1 Bug 1088831 - Track mutator vs GC time in specified intervals, r=jonco
--HG--
extra : rebase_source : 88250aa66bf166253bd9ce234f0739497027e067
2014-11-03 17:21:20 -08:00
Steve Fink
ae8ec543b7 Bug 1088831 - Account for the storebuffer compaction time, r=jonco
--HG--
extra : rebase_source : d00a34bf03779e5725b18c92b6c749cc79bf0bd2
2014-11-03 14:15:37 -08:00
Steve Fink
b9fa312e52 Bug 1088831 - Count storebuffer compactions, r=jonco
--HG--
extra : rebase_source : 01b960893a86d5a5b215ae6d9e642f4d5140b1b7
2014-11-03 14:15:24 -08:00
Steve Fink
41117b423f Bug 1088249 - Report OOMs from the js_alloc*CanGC functions, r=luke
--HG--
extra : rebase_source : 47f348d2d448ee51fb6e1f6929fd6b35e14b1e60
2014-11-03 13:59:31 -08:00
Jim Blandy
eccc285f1d Bug 1091882: Simplify some uses of mozilla::PointerRangeSize, and clarify comment. r=waldo 2014-11-03 15:55:59 -08:00
Terrence Cole
b7a77355f7 Bug 1074961 - Part 11: Use a ChunkPool to manage available Chunks list; r=sfink 2014-10-29 14:17:45 -07:00
Ryan VanderMeulen
ee9d051802 Backed out changeset 062226e8a2d2 (bug 1091015) for SM test failures. 2014-11-03 14:12:32 -05:00
Brian Hackett
206d94479c Bug 1091015 - Inline allocation of Typed Objects in IonMonkey, r=nmatsakis,jandem. 2014-11-03 11:36:51 -07:00
Brian Hackett
73d1e0f543 Bug 1091459 - Only interrupt JS execution after running long enough that the slow script dialog might need to be shown, r=bholley. 2014-11-03 10:51:22 -07:00
Ryan VanderMeulen
0cefc16c12 Backed out changeset 82771cd90649 (bug 1087468) for SM(ggc) permafail. 2014-11-03 12:27:43 -05:00
Bill McCloskey
08104d1b77 Bug 1073631 - Add mising waivier outerizing for CPOWs (r=bholley) 2014-11-03 07:10:27 -08:00
Peter Meuel
0b4a553407 Bug 1062888 - IonMonkey: Implement RToDouble Recover Instruction. r=nbp 2014-11-03 15:39:11 +01:00
Brian Hackett
03ab588724 Bug 1091725 - Fix barrier computation for MNewDerivedTypedObject, r=nmatsakis. 2014-11-03 07:16:58 -07:00
Nicolas B. Pierron
f5979eb6d9 Bug 1087468 - IonMonkey: Inline functions with loops based on their arguments. r=h4writer 2014-11-03 14:35:44 +01:00
Benjamin Bouvier
aef716e1d5 Bug 1089769: Emitted at uses instructions should be added to the MIR graph in redefine; r=nbp 2014-11-03 14:06:26 +01:00
Mukilan Thiyagarajan
14a8f4008e Bug 1023154 - IonMonkey: Improve codegeneration of MIsObject followed by a branch. r=h4writer 2014-11-03 10:38:48 +01:00
Jon Coppeard
de8a68615e Bug 1092230 - Tidy member definitions in GCRuntime r=terrence 2014-11-03 08:59:00 +00:00
Johannes Schulte
3d3db0eaa4 Bug 1073766 - Guard on the global's shape, when optimizing on its proto-chain. r=bhackett 2014-10-24 12:36:01 +02:00
Chris Peterson
855986060a Bug 1090088 - Part 2: Add -Werror=parentheses and -Werror=switch behind --enable-warnings-as-errors check. r=glandium 2014-10-26 21:22:27 -07:00
Chris Peterson
106d4966db Bug 1090088 - Part 1: Only enable tree-wide -Werror=* warnings-as-errors with --enable-warnings-as-errors opt-in. r=glandium 2014-10-26 21:22:27 -07:00
Chris Peterson
e37122fe5b Bug 1090016 - Part 4: Fix last gcc/clang warning in js/src/shell and mark as FAIL_ON_WARNINGS (for gcc/clang). r=njn 2014-10-27 21:25:02 -07:00
Chris Peterson
225eb6acaf Bug 1090016 - Part 3: Update SpiderMonkey's "warnaserr" shell build configs to use --enable-warnings-as-errors instead of --enable-sm-fail-on-warnings. r=sfink 2014-10-28 00:22:24 -07:00
Shu-yu Guo
e2b8496ba0 Bug 1092032 - Bias magic uint32s in ArgumentObject forwarded slots by the maximum JSWhyMagic value to distinguish them from the JSWhyMagic-based magic values. (r=luke) 2014-10-31 16:46:26 -07:00
Ryan VanderMeulen
576ce24449 Merge m-c to inbound. a=merge
CLOSED TREE
2014-10-31 19:13:48 -04:00
Ryan VanderMeulen
e9bc83a22c Backed out changeset 10616214c160 (bug 1091916) for Android x86 S4 permafail. 2014-10-31 18:58:42 -04:00
Brian Hackett
2b6821ce15 Bug 1062830 - Fix bogus assert, r=billm. 2014-10-31 13:55:17 -07:00
Luke Wagner
aa492cecaf Bug 1091916 - simplify the interrupt/jitStackLimit situation (r=bhackett)
--HG--
extra : rebase_source : 4acdf2009f9f490f636b29ab1c3eeb3de3a12f75
2014-10-30 17:35:35 -05:00
Nicolas B. Pierron
01af6d1a80 Bug 1091793 - Remove MNop for AsmJS like testing code. r=jandem
CLOSED TREE
2014-10-31 17:16:10 +01:00
Nicolas B. Pierron
a953086364 Bug 1091793 - IonMonkey: Remove useless NOPs. r=sunfish 2014-10-31 16:08:52 +01:00
Brian Hackett
df848d8464 Bug 1084280 - Use a local RegExpStack when running the RegExp interpreter, r=jandem. 2014-10-31 08:04:26 -07:00
Lars T Hansen
599d930abf Bug 1068684 - Remove test for length restriction. r=jandem 2014-10-31 15:03:35 +01:00
Jan de Mooij
93cb495aa4 Bug 1091757 - Fix ReportUninitializedLexical to not call frameIndex() for aliased locals. r=shu 2014-10-31 14:29:11 +01:00
Lars T Hansen
bd606abc60 Bug 1068684 - remove asm.js length restriction on SharedArrayBuffer. r=luke 2014-10-31 13:37:11 +01:00
Hannes Verschore
7bdb656ede Bug 1090424: IonMonkey: Improve range on when to fold MCompare, r=sunfish 2014-10-31 13:21:12 +01:00
Carsten "Tomcat" Book
35ba0aa3f1 Backed out changeset b6d6ee031d40 (bug 611388) 2014-10-31 13:12:25 +01:00
Carsten "Tomcat" Book
74eaea3f51 Backed out changeset 77052db08766 (bug 611388) 2014-10-31 13:12:18 +01:00
Nicolas B. Pierron
cefd233bbc no bug - Restore assertion of js::Lambda. r=jandem
Fix merge issue from April 2012.
2014-10-31 18:40:44 +01:00
Jan de Mooij
a170192f96 Bug 1090583 part 1 - Fix getSingletonPrototype to work with non-singletons. r=bhackett
--HG--
extra : rebase_source : c6b2663b87a36e7ddde82474a1b48fc46178af99
2014-10-31 10:40:27 +01:00
Jan de Mooij
88da22fee7 Bug 1090491 part 3 - Remove unused unalisedVar() methods, fix a comment. r=shu
--HG--
extra : rebase_source : eeb0a4099eae3f63ef967e4ba496c398ea469f78
2014-10-31 10:40:24 +01:00
Jan de Mooij
519c6ec233 Bug 1090491 part 2 - Remove loop in ClonedBlockObject::create that's no longer necessary. r=shu
--HG--
extra : rebase_source : 45e9744f4e232028707b4f940b7cd28287cf8348
2014-10-31 10:40:21 +01:00
Aleksandar Zlicic
8518156797 Bug 1091828 - Fix MacroAssemblerMIPS::ma_callIonHalfPush(Label *label). r=rankov 2014-10-30 21:06:56 +01:00
Aleksandar Zlicic
391d32b947 Bug 1090952 - Implement missing functions for nursery pointers for MIPS (movePtr(ImmMaybeNurseryPtr imm, Register dest) and branchPtr(Condition cond, Address addr, ImmMaybeNurseryPtr ptr, Label *label)). r=rankov 2014-10-29 15:02:23 +01:00
Aleksandar Zlicic
7e4ac22963 Bug 1090957 - Implement atomicFetch and compareExchange methods for MIPS. r=rankov 2014-10-30 16:50:29 +01:00
Tooru Fujisawa
3a69deaa23 Bug 1089038 - Do not call peekToken after matchToken failed. r=Waldo 2014-10-30 02:21:00 +01:00
Jon Coppeard
d5457e8257 Bug 650161 - Keep relocated arenas decommitted until next GC in debug builds r=terrence 2014-10-31 08:45:17 +00:00
Jon Coppeard
d819307b38 Bug 650161 - Fix test failures caused by inline typed object changes r=bhackett 2014-10-31 08:45:17 +00:00
Jon Coppeard
91e9906711 Bug 650161 - Fix sandbox object moved hook to work on partly initialized object r=bholley 2014-10-31 08:45:17 +00:00
Eric Faust
414e1b662c Bug 611388 - |const| should be block scoped and require an initializer. (r=shu) 2014-10-30 17:27:03 -07:00
Eric Faust
7bc13131b4 Bug 611388 - Part 0: Sanify how const is handled by Reflect.parse. (r=shu) 2014-10-30 17:27:01 -07:00
Shu-yu Guo
13de6f7313 Bug 1082875 - Make BytecodeSite a TempObject to save on duplicates. (r=djvj) 2014-10-30 17:23:04 -07:00
Boris Zbarsky
dae9bf4afb Bug 1089026 part 5. Eliminate the ability to provide a non-global parent object to JS::CompileFunction and company except via the scopeChain API. r=waldo 2014-10-30 19:40:29 -04:00
Boris Zbarsky
3874dcc6b3 Bug 1089026 part 4. Change the CompileFunction calls in the component loader and subscript loader to pass in their desired scope chains. r=bholley 2014-10-30 19:40:29 -04:00
Boris Zbarsky
f152329ec4 Bug 1089026 part 3. Add a friend API for getting the scope object for a function, if it has one. r=shu 2014-10-30 19:40:28 -04:00
Boris Zbarsky
18c532b76f Bug 1089026 part 2. Refactor the CompileFunction code to allow cleanly separating whether we're passing in an object to define the function on or a scope chain. This change should not cause any behavior changes. r=shu 2014-10-30 19:40:28 -04:00
Boris Zbarsky
130330d745 Bug 1089026 part 1. Eliminate the "parent" argument to JS_CloneFunctionObject to make callers use the scopeChain version if they want something other than the global. r=shu,peterv 2014-10-30 19:40:28 -04:00
Boris Zbarsky
63eac848fe Bug 1088228 part 4. Add a version of JS_CloneFunctionObject that allows passing in a scope chain. r=shu 2014-10-30 17:40:15 -04:00
Wes Kocher
554446ac26 Backed out 6 changesets (bug 1088228) for static analysis bustage
Backed out changeset 13ecff800114 (bug 1088228)
Backed out changeset de692c3335f2 (bug 1088228)
Backed out changeset 2d449a2b4e1c (bug 1088228)
Backed out changeset 49ac8f33ab70 (bug 1088228)
Backed out changeset 920d50e84a17 (bug 1088228)
Backed out changeset 55f4818378e4 (bug 1088228)
2014-10-30 16:24:02 -07:00
Boris Zbarsky
944348c1cc Bug 1088228 part 4. Add a version of JS_CloneFunctionObject that allows passing in a scope chain. r=shu 2014-10-30 17:40:15 -04:00
Boris Zbarsky
2dbcd11dc1 Bug 1091795. Unregress octane-box2d by not treating some cases when we can't generate a baseline stub as unoptimizable accesses. r=jandem
In particular, if the access is unoptimizable for temporary reason, like a
scripted accessor not having jitcode compiled yet or an accessor being in the
nursery, we don't want to permanently mark the access spot unoptimizable.  At
some point the accessor will gain jitcode or be tenured and then we can
optimize the access.
2014-10-30 17:36:08 -04:00
Jason Orendorff
fde78d2809 Fix some failing tests for bug 918828. no_r=me, testonly, a=RyanVM on a CLOSED TREE.
--HG--
extra : rebase_source : 68ce3c64b1a2c8eaf1f26d7f4b4914753a49572f
2014-10-30 14:24:46 -05:00
Jason Orendorff
f5eb740f5b Bug 1089758 - EmitElemOpBase's automagical JSOP_SWAP is too magical. r=Waldo.
--HG--
extra : rebase_source : a4c052ff028b81556978398c401f3ace74d8c822
2014-10-27 14:50:58 -05:00
Jason Orendorff
104c962e51 Bug 918828, part 3 - Implement JSOP_SYMBOL in the baseline compiler. r=nbp.
--HG--
extra : rebase_source : 387d627e74cf447014805b901e42ee201f513ea0
2014-07-01 21:28:11 -05:00
Jason Orendorff
e0798e184d Bug 918828, part 2 - Update decompiler for JSOP_SYMBOL. This improves error messages when @@iterator is called implicitly. r=Waldo.
--HG--
extra : rebase_source : e0e00a4d203f3a2c8a4d7cfa0a53d389e16fec53
2014-07-01 21:18:12 -05:00
Jason Orendorff
26dfad38c3 Bug 918828, part 1 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=Waldo with earlier review work by nbp.
--HG--
extra : rebase_source : 5780eed342b1780570650d140c7f14f966b7f1e1
2014-07-01 21:01:21 -05:00
Luke Wagner
a34ea65f1e Bug 1088655 - OdinMonkey: remove dead conjunct in parser (r=bbouvier) 2014-10-30 09:30:58 -05:00
Luke Wagner
ec3cc7c74f Bug 1088655 - OdinMonkey: fix bug in JS_NO_SIGNALS x64 lowering and tidy up a bit (r=bbouvier)
--HG--
extra : rebase_source : 7b30581ef3702db49f3d623a00309db3ae51f5aa
2014-10-30 09:30:45 -05:00
Luke Wagner
bb8ad960dd Bug 1088655 - OdinMonkey: tidy up LookupAsmJSModuleInCache (r=bbouvier)
--HG--
extra : rebase_source : a6001150478bee174d1c50158b16499f808dd4e0
2014-10-29 13:20:01 -05:00
Brian Hackett
6f9cd05f58 Bug 1091010 - Optimize accesses to TypedObject.length, r=nmatsakis. 2014-10-30 08:45:28 -07:00
Carsten "Tomcat" Book
b1c56c09ca Backed out changeset 17bae3d258dd (bug 1068684) for ASAN Bustage on a CLOSED TREE 2014-10-30 15:58:56 +01:00
Nicolas B. Pierron
31a717a596 Bug 1090037 - Ensure that dominators are defined enough before moving instructions. r=sunfish,h4writer 2014-10-30 15:22:57 +01:00
Lars T Hansen
33f6270a1e Bug 1068684 - remove asm.js length restriction on SharedArrayBuffer. r=luke 2014-10-30 14:58:20 +01:00
Mike Hommey
d667f4bb59 Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey
2a17803c46 Bug 1077148 part 1 - Define mozcrt in moz.build. r=gps
--HG--
rename : mozglue/build/Makefile.in => mozglue/crt/Makefile.in
rename : mozglue/build/fixcrt.py => mozglue/crt/fixcrt.py
2014-10-30 13:05:50 +09:00
Shu-yu Guo
1a323db19a Bug 1090764 - Fix typo in AbstractFramePtr::numFormalArgs. (r=efaust) 2014-10-29 19:41:43 -07:00
Shu-yu Guo
32b83400a8 Bug 1089761 - Fix initializing lexicals to throw on touch on CallObject. (r=jandem,Waldo) 2014-10-29 19:41:42 -07:00
Wes Kocher
bada661db7 Backed out changeset 750b497aea43 (bug 1089761) for rootanalysis orange on a CLOSED TREE 2014-10-29 14:14:42 -07:00
Boris Zbarsky
98fc026551 Bug 1090749. Reverse the isSelfHosted test in XrayWrapper and jsapi.cpp. r=waldo 2014-10-29 17:00:48 -04:00
Dan Gohman
e207e12830 Bug 1077991 - IonMonkey: Simplify the handling of try-catch block control flow r=jandem 2014-10-28 17:30:31 -07:00
Shu-yu Guo
c9fedbc0b9 Bug 1089761 - Initialize lexicals to throw on touch on CallObject templates. (r=jandem) 2014-10-29 12:57:31 -07:00
Boris Zbarsky
d3ead51082 Bug 1088002 part 3. Stop requiring JSPROP_PROPOP_ACCESSORS just to use stub accessors. r=waldo 2014-10-29 15:06:32 -04:00
Boris Zbarsky
e783498ddd Bug 1088002 part 2. Change JS_DefineElement, JS_DefineProperty, JS_DefineUCProperty, JS_DefinePropertyById, and JS_DefineProperties to default to using JSNative accessors, not JSPropertyOp accessors. r=waldo 2014-10-29 15:06:31 -04:00
Boris Zbarsky
be93dcf92a Bug 1088002 part 1. Change GetLocationProperty to a JSNative. r=bholley 2014-10-29 15:06:31 -04:00
Boris Zbarsky
af4b42c063 Bug 1081274 part 2. Change baseline ICs to update getter/setter stubs in place instead of adding new stubs if the stub kind and holder match an existing stub (but the shape does not). r=efaust 2014-10-29 14:55:18 -04:00
Boris Zbarsky
98ebb7fed0 Bug 1081274 part 1. Change BaselineInspector to not attempt to optimize to a common getter/setter if either we have getter/setter stubs with different holder shapes or have had an unoptimizable access. r=efaust 2014-10-29 14:55:18 -04:00
Blake Kaplan
2715e2b5c3 Bug 1058392 - Fix printing of JSStrings (and jsids) in certain versions of gdb. r=sfink 2014-10-29 11:41:09 -07:00
Brian Hackett
95b9da957c Bug 1085029 - Use common-descriptor logic more often in TypedObjectPrediction, r=nmatsakis. 2014-10-29 11:19:51 -07:00
Brian Hackett
846e2a7ddc Bug 1083600 - Use inline data for small transparent typed objects, r=sfink,nmatsakis. 2014-10-29 11:14:53 -07:00
Jon Coppeard
b21e25ba17 Bug 650161 - Update the list of test timeouts to ignore in CGC zeal tests r=terrence
--HG--
extra : rebase_source : a095f53a0b4a6ba0c26e94ba595b9bd3c2be5961
2014-10-29 16:52:05 +00:00
Jon Coppeard
1d6e4bbd98 Bug 650161 - Report GC invocation kind in stats r=terrence
--HG--
extra : rebase_source : 914b990289c6a9ea94219b2db606a96ac3b9ec76
2014-10-29 16:52:05 +00:00
Jon Coppeard
d43a5c98e4 Bug 650161 - Fix bug in arena selection logic r=terence
--HG--
extra : rebase_source : 2a9e5f4eb0bd6dade2c98125d43911ae2751d79f
2014-10-29 16:52:05 +00:00
Jan de Mooij
125735afae Bug 1090491 followup - Bump XDR_BYTECODE_VERSION. r=me
--HG--
extra : rebase_source : f41747e606f253e72c5d9e00089c8063724bccf0
2014-10-29 14:10:35 +01:00
Jan de Mooij
f6ade302c6 Bug 1090491 - Don't allocate stack slots for aliased locals. r=luke 2014-10-29 13:49:20 +01:00
Jan de Mooij
77090c4247 Bug 1086842 - Fix an Ion type barrier issue. r=bhackett 2014-10-29 12:42:03 +01:00
Jeff Walden
fca733cbce Bug 712939 - Replace a bunch more JS_STATIC_ASSERTs with static_assert. r=jandem 2014-10-26 20:23:15 -04:00
Jeff Walden
45f2ee3b13 Bug 712939 - Replace a bunch of JS_STATIC_ASSERTs with static_assert. r=jandem
--HG--
extra : rebase_source : 4205bda533538d866b8facd669b11cb40e2f02e9
2014-10-22 15:17:38 -07:00
Brian Hackett
9a3d9becba Bug 1082649 - Check for neutered typed objects before accessing their byte offset, r=nmatsakis. 2014-10-28 18:56:27 -07:00
Jan de Mooij
4b6819ad0f Bug 1089745 - Fix jstest failures outside PST timezone. r=terrence
--HG--
extra : rebase_source : c9698efb5298ca80c0c2d0864b1d2c6ad27dc199
2014-10-28 21:53:26 +01:00
Ryan VanderMeulen
09c69a8d87 Merge inbound to m-c. a=merge 2014-10-28 16:10:05 -04:00
Terrence Cole
4df32b5fac Bug 1074961 - Use C++ to guarantee that the empty chunk set is only accessed locked; r=sfink
--HG--
extra : rebase_source : 8b401fde6e6f9ff35cfa01d2692422f3e18039e1
2014-10-27 14:55:03 -07:00
Nicolas B. Pierron
9727b6e00e Bug 1087948 - Mark Baseline code of bailout frames as being active. r=jonco 2014-10-28 16:33:35 +01:00
Carsten "Tomcat" Book
865fe75c40 Merge mozilla-central to fx-team 2014-10-28 16:15:00 +01:00
Carsten "Tomcat" Book
0d3c3bcd94 Backed out changeset a4fb4c2888a1 (bug 1086530) for spidermonkey test failures 2014-10-28 12:36:44 +01:00
Carsten "Tomcat" Book
a83fb9756c Backed out changeset 33ee15f0fbcc (bug 1066827) for perma test failures in spidermonkey on a CLOSED TREE 2014-10-28 12:23:50 +01:00
Carsten "Tomcat" Book
a468b3cfb7 Backed out changeset bc56d0664d02 (bug 1066827) 2014-10-28 12:23:14 +01:00
Carsten "Tomcat" Book
36176e6411 Backed out changeset 09e37ba34968 (bug 1066827) 2014-10-28 12:23:12 +01:00
Carsten "Tomcat" Book
ca617518dc Backed out changeset f023c533e279 (bug 1066827) 2014-10-28 12:23:10 +01:00
Carsten "Tomcat" Book
4f7758f86b Backed out changeset 7d9e3126b05b (bug 1066827) 2014-10-28 12:23:08 +01:00
Carsten "Tomcat" Book
10b1c4da8e Backed out changeset 0243acc10d0e (bug 1066827) 2014-10-28 12:23:06 +01:00
Carsten "Tomcat" Book
88f31de80d Backed out changeset f9c84399eb72 (bug 1066827) 2014-10-28 12:23:05 +01:00
Carsten "Tomcat" Book
5351cfce3c Backed out changeset 7829b67bfb7a (bug 1066827) 2014-10-28 12:23:03 +01:00
Carsten "Tomcat" Book
d551cea89d Backed out changeset e2428308ba65 (bug 1066827) 2014-10-28 12:23:01 +01:00
Carsten "Tomcat" Book
d94da6e24c Backed out changeset e858de8b1166 (bug 1066827) 2014-10-28 12:22:59 +01:00
Carsten "Tomcat" Book
70d338266b Backed out changeset 097c455f81fa (bug 1066827) 2014-10-28 12:22:57 +01:00
Carsten "Tomcat" Book
cc25a0302d Backed out changeset fc0ec12eec19 (bug 1066827) 2014-10-28 12:22:54 +01:00
Carsten "Tomcat" Book
4278f207a7 Backed out changeset 2e3511180210 (bug 1066827) 2014-10-28 12:22:47 +01:00
Jon Coppeard
dde7851d32 Bug 1089582 - Only perform a minor GC when a store buffer is full r=terrence 2014-10-28 10:18:40 +00:00
Jon Coppeard
2051dac10e Bug 650161 - Fix crashes moving partly initialized objects r=terrence 2014-10-28 10:18:40 +00:00
Jon Coppeard
3132765f93 Bug 650161 - Fix crashes moving partially initialized DOM objects r=bz 2014-10-28 10:18:36 +00:00
Tooru Fujisawa
3f323eaeee Bug 1066827 - Part13: Fix conflict with Bug 1088328, caused by the change in TokenStream::matchToken on a CLOSED TREE. r=bbouvier 2014-10-28 02:45:00 +01:00
Paolo Amadini
ec9499744d Bug 1013625 - Process Promise resolution runnables outside of main event queue. r=bz,khuey 2014-10-28 12:08:19 +00:00
Ryan VanderMeulen
a12deb9cbc Backed out changeset 06ec442314d4 (bug 1074961) for Android crashes. 2014-10-27 16:10:03 -04:00
Victor Carlquist
855dedc8bd Bug 1086530 - Fix Huge regression with using split after landing of bug 1054330. r=kvijayan 2014-10-21 23:19:32 -02:00
Tooru Fujisawa
1b89d2ffc7 Bug 1066827 - Part12: Use a pointer instead of a reference in Parser.addExprAndGetNextTemplStrToken parameter. r=jwalden 2014-10-24 21:07:00 +02:00