Commit Graph

36452 Commits

Author SHA1 Message Date
Johannes Schulte
351f66cd39 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
e0e33cd274 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
ec1a044c70 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
9b8f4dc6af 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
2c5eb3eb13 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
b6c6dffa24 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
e5309afe00 Merge m-c to inbound. a=merge
CLOSED TREE
2014-10-31 19:13:48 -04:00
Ryan VanderMeulen
3ab87c4c66 Backed out changeset 10616214c160 (bug 1091916) for Android x86 S4 permafail. 2014-10-31 18:58:42 -04:00
Brian Hackett
10c4f1d5ed Bug 1062830 - Fix bogus assert, r=billm. 2014-10-31 13:55:17 -07:00
Luke Wagner
624d034389 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
cf1dba5f45 Bug 1091793 - Remove MNop for AsmJS like testing code. r=jandem
CLOSED TREE
2014-10-31 17:16:10 +01:00
Nicolas B. Pierron
1fa4ede188 Bug 1091793 - IonMonkey: Remove useless NOPs. r=sunfish 2014-10-31 16:08:52 +01:00
Brian Hackett
deb79c3da3 Bug 1084280 - Use a local RegExpStack when running the RegExp interpreter, r=jandem. 2014-10-31 08:04:26 -07:00
Lars T Hansen
9ad65bcdeb Bug 1068684 - Remove test for length restriction. r=jandem 2014-10-31 15:03:35 +01:00
Jan de Mooij
9e82c46daf Bug 1091757 - Fix ReportUninitializedLexical to not call frameIndex() for aliased locals. r=shu 2014-10-31 14:29:11 +01:00
Lars T Hansen
757515e485 Bug 1068684 - remove asm.js length restriction on SharedArrayBuffer. r=luke 2014-10-31 13:37:11 +01:00
Hannes Verschore
03468c2ddb Bug 1090424: IonMonkey: Improve range on when to fold MCompare, r=sunfish 2014-10-31 13:21:12 +01:00
Carsten "Tomcat" Book
764e5a8bda Backed out changeset b6d6ee031d40 (bug 611388) 2014-10-31 13:12:25 +01:00
Carsten "Tomcat" Book
6ab7c874a2 Backed out changeset 77052db08766 (bug 611388) 2014-10-31 13:12:18 +01:00
Nicolas B. Pierron
1370d523c0 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
77e8098fd8 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
4026202a6f 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
c4208815e0 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
dede9c8c82 Bug 1091828 - Fix MacroAssemblerMIPS::ma_callIonHalfPush(Label *label). r=rankov 2014-10-30 21:06:56 +01:00
Aleksandar Zlicic
8223a6ab2b 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
c89bedc893 Bug 1090957 - Implement atomicFetch and compareExchange methods for MIPS. r=rankov 2014-10-30 16:50:29 +01:00
Tooru Fujisawa
4f62dbcfd7 Bug 1089038 - Do not call peekToken after matchToken failed. r=Waldo 2014-10-30 02:21:00 +01:00
Jon Coppeard
a1bdb2ddac Bug 650161 - Keep relocated arenas decommitted until next GC in debug builds r=terrence 2014-10-31 08:45:17 +00:00
Jon Coppeard
61c522a033 Bug 650161 - Fix test failures caused by inline typed object changes r=bhackett 2014-10-31 08:45:17 +00:00
Jon Coppeard
83fafe6fd7 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
4b609c3d9e Bug 611388 - |const| should be block scoped and require an initializer. (r=shu) 2014-10-30 17:27:03 -07:00
Eric Faust
0d3f07773b 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
960386eca4 Bug 1082875 - Make BytecodeSite a TempObject to save on duplicates. (r=djvj) 2014-10-30 17:23:04 -07:00
Boris Zbarsky
04811ae677 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
a31f4f8ed3 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
021f135323 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
526be6f105 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
b9aee86fbc 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
03e093c6b2 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
f060936900 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
00b1193b0c 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
52a2ead70c 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
5ecdd75ea9 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
5b996106ed 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
e9403f784c 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
2c2d23e7f0 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
7b2cf9d053 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
b1a27ae352 Bug 1088655 - OdinMonkey: remove dead conjunct in parser (r=bbouvier) 2014-10-30 09:30:58 -05:00
Luke Wagner
03f7fc43d6 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
548201bc88 Bug 1088655 - OdinMonkey: tidy up LookupAsmJSModuleInCache (r=bbouvier)
--HG--
extra : rebase_source : a6001150478bee174d1c50158b16499f808dd4e0
2014-10-29 13:20:01 -05:00