Commit Graph

48204 Commits

Author SHA1 Message Date
Benjamin Bouvier
62b073d29a Bug 1143758: Make LexicalCheck movable and bailout when a lexical isn't initialized; r=shu
--HG--
extra : rebase_source : 8961129cee5ee1aba41df41c7ca17dda14ad189d
2015-03-20 16:28:58 +01:00
Benjamin Bouvier
7319a01bdc Bug 1135042: Optimize SIMD.storeX/storeXY/storeXYZ in Ion; r=bhackett
--HG--
extra : rebase_source : 50d909f342f6ed912aeb48a12590836bb9506af1
2015-03-19 13:50:56 +01:00
Benjamin Bouvier
b554a521b3 Bug 1135042: Optimize SIMD.loadX/loadXY/loadXYZ in Ion; r=bhackett
--HG--
extra : rebase_source : b4c4b6c155477b14830880da44ba8ffbe161db4c
2015-03-20 19:36:16 +01:00
Nicolas B. Pierron
b3f567f106 Bug 1138693 - Check if Loads can be optimized by Scalar Replcement. r=jandem 2015-03-20 19:16:47 +01:00
Kannan Vijayan
8299080b57 Bug 1143802 - Forward jit level information to profiler frontend. r=shu 2015-03-20 13:50:23 -04:00
Benjamin Bouvier
85d4ae78b7 Bug 1135428: Fix test to run with --no-asmjs as well on a CLOSED TREE; r=bustage
--HG--
extra : rebase_source : a836af726f8186db15429cd654737909e2817615
extra : amend_source : a030391bd18db4efe6ef283205e298d4ff57d282
2015-03-20 16:55:06 +01:00
Benjamin Bouvier
962b231116 Bug 1135039: Generalize SimdGeneralShuffle codegen; r=sunfish
--HG--
extra : rebase_source : f5debe17cc43e21c374405d94dded6bf6a3ad533
2015-03-12 14:58:59 +01:00
Benjamin Bouvier
db1caa8757 Bug 1135039: Factor out LInstructionHelper/LVariadicInstruction code; r=sunfish
--HG--
extra : rebase_source : e1b6ff7dd63e18cfa9010b294dce14a4016fbf8b
2015-03-12 14:25:29 +01:00
Benjamin Bouvier
75db09e971 Bug 1135039: Generalize swizzle MIR node to SimdGeneralShuffle; r=sunfish
--HG--
extra : rebase_source : 0d6c1703c0285325929265820ddae2c08e0abaee
2015-03-18 20:07:45 +01:00
Benjamin Bouvier
f41e9c3221 Bug 1135039: Implement LVariadicInstruction; r=sunfish
--HG--
extra : rebase_source : 5735970f6323083e66b3ba4780f6627f850dd26a
2015-03-12 14:01:29 +01:00
Nick Fitzgerald
3dc26340ad Bug 1144973 - Ensure that StringifySavedFrameStack puts its stack string in the cx's compartment. r=bz 2015-03-19 10:29:00 -04:00
Emanuel Hoogeveen
7738c1c171 Bug 1143966 - Remove type specifier from AllocKind to avoid miscompilations on GCC. r=terrence
--HG--
extra : rebase_source : a5478fcb4b834ff6ba798032f6dd4f8e1d28107d
2015-03-19 13:59:00 -04:00
Luke Wagner
ec8e32a7cb Bug 1135428 - OdinMonkey: return nullptr, not false (r=warnings-as-errors CLOSED TREE) 2015-03-20 09:15:03 -05:00
Luke Wagner
8635de289b Bug 1135428 - OdinMonkey: remove compileAndGo restriction (r=bbouvier) 2015-03-20 08:52:14 -05:00
Brian Hackett
73cf6b02a1 Bug 1143256 - Store object metadata using a weak map, r=luke. 2015-03-20 06:33:33 -07:00
Jan de Mooij
e5650a15ef Bug 1142669 followup - Move OffThreadCompilationAvailable definition outside namespace block. r=red CLOSED TREE 2015-03-20 14:14:06 +01:00
Jan de Mooij
1030a38246 Bug 1142669 part 4 - Fix some inlining issues and inline scripts with loops. r=h4writer 2015-03-19 15:10:07 +01:00
Jan de Mooij
f51f2669f3 Bug 1142669 part 3 - Limit the total inlined bytecode size to avoid excessive inlining. r=h4writer 2015-03-20 13:45:36 +01:00
Jan de Mooij
4b629f9510 Bug 1142669 part 2 - Lower the script inlining size limit if off-thread compilation is not available. r=h4writer 2015-03-20 13:45:35 +01:00
Jan de Mooij
294fa048ff Bug 1142669 part 1 - Fix inliningMaxCallerBytecodeLength to return the correct value. r=h4writer 2015-03-20 13:45:35 +01:00
Brian Hackett
4fae716053 Bug 1137180 - Add baseline caches for extensible unboxed objects, and enable extensible unboxed objects (still off by default), r=jandem. 2015-03-20 04:03:20 -07:00
Steve Fink
675eddf5d8 Bug 1120655 - Bustage fix for single-arg constructor on a CLOSED TREE
--HG--
extra : rebase_source : 91856805ff90218db3e211761256fe183f408da8
2015-03-19 22:03:15 -07:00
Boris Zbarsky
a310d66774 Bug 1145282. Reverse the sense of IsValidTerminatingScope and rename it to IsSyntacticScope. r=luke 2015-03-20 00:34:08 -04:00
Boris Zbarsky
9fb24e2658 Bug 1145294. Remove the obj argument from JS::CloneAndExecuteScript. r=luke 2015-03-20 00:34:08 -04:00
Boris Zbarsky
e41b92481e Bug 1144802 part 8. Drop the scopechain member from GlobalSharedContext, since it's not needed anymore. r=luke 2015-03-20 00:34:08 -04:00
Boris Zbarsky
241a5fd903 Bug 1144802 part 7. Remove the scopechain walk in the FunctionBox constructor, since consumers should now set hasPollutedGlobalScope as needed. r=luke 2015-03-20 00:34:08 -04:00
Boris Zbarsky
7581e8beea Bug 1144802 part 6. Remove the scopechain walk in BytecodeEmitter::needsImplicitThis, since consumers should now set hasPollutedGlobalScope as needed. r=luke 2015-03-20 00:34:08 -04:00
Boris Zbarsky
80c254b355 Bug 1144802 part 5. Flag eval scripts as having a polluted scopechain when inside a with scope. r=luke 2015-03-20 00:34:08 -04:00
Boris Zbarsky
a845fadd21 Bug 1144802 part 4. Stop returning true from ByteCodeEmitter::needsImplicitThis based on the compileAndGo flag. r=luke 2015-03-20 00:34:08 -04:00
Boris Zbarsky
b0c5730d80 Bug 1144802 part 3. Output JSOP_GIMPLICITTHIS whenever we have a JSOP_GETNAME in call context and don't know for a fact that we need an implicit this. r=luke 2015-03-20 00:34:08 -04:00
Boris Zbarsky
1755aa5966 Bug 1144802 part 2. Add JIT and interpreter fast paths for JSOP_GIMPLICITTHIS when the script doesn't have a polluted scope. r=jandem 2015-03-20 00:34:08 -04:00
Boris Zbarsky
5de2bf72b5 Bug 1144802 part 1. Add a JSOP_GIMPLICITTHIS which acts like JSOP_IMPLICITTHIS when the script hasPollutedGlobalScope and JSOP_UNDEFINED otherwise. r=luke 2015-03-20 00:34:07 -04:00
Boris Zbarsky
6cf13b0fd2 Bug 1144743 part 6. Set the hasPollutedGlobalScope flag correctly when executing scripts. r=luke 2015-03-20 00:34:07 -04:00
Boris Zbarsky
9864e3519d Bug 1144743 part 5. Set the hasPollutedGlobalScope flag correctly when cloning functions. r=luke 2015-03-20 00:34:07 -04:00
Boris Zbarsky
3cfd21de39 Bug 1144743 part 4. Set the hasPollutedGlobalScope flag correctly when compiling functions. r=luke 2015-03-20 00:34:07 -04:00
Boris Zbarsky
948d4ebefa Bug 1144743 part 3. Set hasPollutedGlobalScope when we're compiling scripts we know will be executed with a non-global scope without cloning them. r=luke 2015-03-20 00:34:07 -04:00
Boris Zbarsky
135a28f4b8 Bug 1144743 part 2. Add an option to JS::CompileOptions for hasPollutedGlobalScope. r=luke 2015-03-20 00:34:07 -04:00
Boris Zbarsky
ccaabb9de0 Bug 1144743 part 1. Add a hasPollutedGlobalScope flag to scripts. r=luke 2015-03-20 00:34:07 -04:00
Steve Fink
3c7aa89ef5 Bug 1120655 - Suppress zone/compartment collection while iterating, r=terrence
--HG--
extra : rebase_source : 6f5c36715e74d2ddbc519d882581bf43401a3c0d
2015-03-17 09:26:03 -07:00
Steve Fink
523fb231d0 Bug 1120655 - Rename lastGC -> destroyingRuntime, r=terrence
--HG--
extra : rebase_source : b52971daceea1d1f1579b1af68e07b7e1965f86d
2015-03-16 16:23:38 -07:00
Steve Fink
6163874390 Bug 1145255. r=luke, a=dveditz
--HG--
extra : rebase_source : 1b8f77a740fcf5377c22fea9b3f61a74c910474d
2015-03-19 15:46:24 -07:00
Ryan VanderMeulen
fc15c6491a Backed out changeset b79cddbe7de8 (bug 1142669) for causing bug 1112947 to spike. 2015-03-19 13:31:14 -04:00
Terrence Cole
cd642e73e8 Bug 1144920 - Move gray buffer clearing out of GCMarker; r=jonco
--HG--
extra : rebase_source : d3200f8c507e919d6c9321af8333ea2411b5ebec
2015-03-19 08:51:12 -07:00
Terrence Cole
f23ee26473 Bug 1144834 - Move resetBufferedGrayRoots to GCRuntime; r=jonco
--HG--
extra : rebase_source : 39c9db6062e5c11b81cd67463f1da380167d52a1
2015-03-19 08:50:52 -07:00
Terrence Cole
18b3252057 Bug 1144832 - Move grayBufferState manipulation out of GCMarker; r=jonco
--HG--
extra : rebase_source : 0f1d4a0b44aa8c5b00fee8edcafecff8faea7299
2015-03-19 08:50:32 -07:00
Terrence Cole
575145d755 Bug 1144817 - Move hasBufferedGrayRoots to GCRuntime; r=jonco
--HG--
extra : rebase_source : e6966688cfb987b9755e598c448418f7bf78f1bf
2015-03-18 11:17:03 -07:00
Terrence Cole
176c87da18 Bug 1144811 - Inline the start and end buffering gray roots methods on GCMarker; r=jonco
--HG--
extra : rebase_source : 42229aac1c4e6a69bff17db2ce3cd4571d55d776
2015-03-18 11:11:57 -07:00
Tom Schuster
2de182147c Bug 837630 - Stop hiding __proto__ from O.getOwnPropertyNames. r=Waldo,peterv,past 2015-03-19 17:42:15 +01:00
Boris Zbarsky
58ae84cfe1 Bug 1143793 part 6. Drop the obj argument of JS::Compile. r=luke
This is technically a behavior change for the shell's disfile() function, but
I really doubt anyone is doing disfile.call(someObj).
2015-03-19 10:13:34 -04:00
Boris Zbarsky
8699f29c8c Bug 1143793 part 5. Release-assert that a script being executed against a non-global scopechain is not compileAndGo. r=luke 2015-03-19 10:13:34 -04:00