Commit Graph

48211 Commits

Author SHA1 Message Date
Boris Zbarsky
05d0d8b68a Bug 1145491 part 4. Emit JSOP_IMPLICITTHIS for JSOP_GETGNAME as well, because otherwise bareword calls in polluted-global scripts won't work right. r=luke 2015-03-20 21:34:18 -04:00
Boris Zbarsky
9581a58fe2 Bug 1145491 part 3. Only do the fast path for JSOP_SETGNAME and JSOP_STRICTSETGNAME when the script doesn't have a polluted global. r=luke,jandem 2015-03-20 21:34:18 -04:00
Boris Zbarsky
fcb4bec8e2 Bug 1145491 part 2. Only do the fast path for JSOP_GETGNAME when the script doesn't have a polluted global. r=luke,jandem 2015-03-20 21:34:18 -04:00
Boris Zbarsky
29fe53049b Bug 1145491 part 1. Only do the fast path for JSOP_BINDGNAME when the script doesn't have a polluted global. r=luke,jandem 2015-03-20 21:34:18 -04:00
Boris Zbarsky
bda6c70e4a Bug 1145488. Stop using compileAndGo in the JITs. r=jandem 2015-03-20 21:34:18 -04:00
Ryan VanderMeulen
6fa51cb894 Backed out changeset d3c9b899f7d2 (bug 1143256) for frequent browser_perf-refresh.js leaks.
--HG--
extra : rebase_source : d8872879f2e6bec248ac3a5fc8b254be437abea0
2015-03-20 16:07:42 -04:00
Benjamin Bouvier
49ceac7a99 Bug 1143758: Invalidate script when a lexical check has failed; r=shu
--HG--
extra : rebase_source : 22eb2091c3b463bc7ec9625c9a82b9a40d11baaf
2015-03-17 19:23:44 +01:00
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