Граф коммитов

48326 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij 9d8d957e80 Bug 1143704 part 5 - Add a cx member to BytecodeEmitter. r=Waldo 2015-03-21 12:54:17 +01:00
Jan de Mooij 3c7c172cd1 Bug 1143704 part 4 - Turn Emit1 into a BytecodeEmitter method. r=bhackett 2015-03-21 12:54:09 +01:00
Jan de Mooij 03311b21b2 Bug 1143704 part 3 - Make EmitLoopHead return bool instead of ptrdiff_t. r=shu 2015-03-21 12:53:46 +01:00
Jan de Mooij ff00302f97 Bug 1143704 part 2 - Make Emit3/EmitCall/EmitBackPatchOp return bool instead of ptrdiff_t. r=jorendorff 2015-03-21 12:53:46 +01:00
Jan de Mooij 4adefdc46b Bug 1143704 part 1 - Make Emit1/Emit2 return bool instead of ptrdiff_t. r=luke 2015-03-21 12:53:43 +01:00
Tom Schuster 448b35420a Bug 1145326 - String#normalize form parameter might not be an atom. r=Waldo 2015-03-21 13:12:25 +01:00
Jan de Mooij cf52d0c317 Bug 1142669 part 5 - Lower inliningMaxCallerBytecodeLength from 10000 to 1500. r=h4writer 2015-03-21 12:33:41 +01:00
Wes Kocher 35ee79b993 Backed out changeset 17eec5f30889 (bug 1145488) for ggc orange 2015-03-20 22:40:05 -07:00
Wes Kocher 687d354d5b Backed out 7 changesets (bug 1145491) for ggc orange
Backed out changeset 8d14c6661f00 (bug 1145491)
Backed out changeset 7be39afdf528 (bug 1145491)
Backed out changeset 8066b21e74a0 (bug 1145491)
Backed out changeset 151e4cdb34cf (bug 1145491)
Backed out changeset 97b16da6169b (bug 1145491)
Backed out changeset cddba378a563 (bug 1145491)
Backed out changeset 80344fd40d6b (bug 1145491)
2015-03-20 22:39:44 -07:00
Shu-yu Guo edfb53a32f Bug 1145440 - Ship constant names for tracked strategy and outcomes in the profile JSON instead of slightly longer form strings. (r=djvj) 2015-03-20 20:48:32 -07:00
Shu-yu Guo 7fa429d624 Bug 1143860 - Deduplicate tracked optimizations when streaming the profile. (r=djvj) 2015-03-20 20:48:31 -07:00
Shu-yu Guo 255786d723 Bug 1143860 - Add column number to PCToLineNumber. (r=djvj) 2015-03-20 20:48:30 -07:00
Boris Zbarsky 0d2e2370d6 Bug 1145491 part 7. Stop checking compileAndGo before emitting GNAME ops. r=luke 2015-03-20 21:34:19 -04:00
Boris Zbarsky c3e2519d34 Bug 1145491 part 6. Fix script cloning to propagate the polluted-global-scope state to the lambda templates in the script. r=luke 2015-03-20 21:34:18 -04:00
Boris Zbarsky 8fd50b3afc Bug 1145491 part 5. Fix up various other places that check for JSOP_GET/SETNAME without checking for the GNAME versions too. r=luke 2015-03-20 21:34:18 -04:00
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
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
Boris Zbarsky 8fc7f0cf64 Bug 1143793 part 4. Stop supporting load.call(somerandomobj) in xpcshell. r=bholley
I guess I should have done this in bug 1097987.
2015-03-19 10:13:34 -04:00
Boris Zbarsky 3d34e65906 Bug 1143793 part 3. Stop passing null as the obj argument of JS::Compile. r=luke.
Note that this is not a behavior change in the aRunInGlobalScope case in
nsFrameMessageManager, because that case never does setCompileAndGo(true) anyway.
2015-03-19 10:13:34 -04:00
Boris Zbarsky 5af7e8cdc5 Bug 1143793 part 2. Remove the obj argument of JS_CompileUCScript. r=luke 2015-03-19 10:13:34 -04:00
Boris Zbarsky 5529d8327d Bug 1143793 part 1. Remove the obj argument of JS_CompileScript. r=luke 2015-03-19 10:13:33 -04:00
Boris Zbarsky dc24477d79 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Jan de Mooij 7758ba238f Bug 1142669 - Fix some inlining issues and inline scripts with loops. r=h4writer 2015-03-19 15:10:07 +01:00
Jan de Mooij 2eca303692 Bug 1143847 - Fix bogus asserts in x64 Assembler::finish(). r=sunfish 2015-03-19 15:10:05 +01:00
Jim Blandy e9755ee44c Bug 1144371: Implement DEBUG-only JS shell function |dumpStringRepresentation|. r=jandem
--HG--
extra : rebase_source : ebb25a0f97e59a24f8a4d7b9a022732f538f1c13
extra : amend_source : 131df33a2b698205d6b385f48c1501d87ba52f7d
2015-03-17 13:45:35 -07:00
Jim Blandy b7a121e17d Bug 1063147: Clarify comments about extensible strings. DONTBUILD r=jandem
--HG--
extra : rebase_source : 3f46915120a9e0898b7341b372f3b3ae4e1e6c63
2015-03-16 18:40:21 -07:00
Jan de Mooij 297b82ad00 Bug 1141583 - Store nargs in LambdaFunctionInfo to avoid a TSan false positive. r=bhackett 2015-03-19 10:11:55 +01:00
Jan de Mooij 417dc71a84 Bug 974418 - Fix a TSan race involving the double-elements flag on template objects. r=bhackett 2015-03-19 10:08:41 +01:00
Heiher 638adea8f9 Bug 1144005 - IonMonkey: MIPS: Fix encode break instruction. r=rankov 2015-03-18 18:21:00 +01:00
Tooru Fujisawa 07c9f92744 Bug 1116376 - Skip full GC triggered by atoms zone if keepAtoms is true, and retrigger it after keepAtoms becomes false. r=jonco 2015-03-19 10:12:37 +09:00
Brian Hackett cf2340b8f3 Bug 1137180 - Add most functionality necessary for extensible unboxed objects, r=jandem. 2015-03-18 18:05:51 -07:00
Brian Hackett a054a9a07e Bug 1143521 - Remove IsPoisonedPtr stuff, r=sfink. 2015-03-18 18:01:35 -07:00
Daniel Holbert c818b19251 Bug 1038839 followup: Add missing MOZ_OVERRIDE annotation to mightAlias() impls in MIR.h. r=ehsan 2015-03-18 16:44:03 -07:00
Brian Hackett b1519706ba Bug 1130640 - Don't unroll loops based on bounds using terms that have been discarded, r=jandem. 2015-03-18 16:42:53 -07:00
Andrew McCreight aeaa4ed4f6 Bug 1143760 - Do a tiny amount of code duplication to avoid a goto in XPCVariant::VariantDataToJS(). r=bholley 2015-03-18 11:36:04 -07:00
Andrew McCreight 63b1441eef Bug 1142717, part 5 - Eliminate XPC_WRAPPED_NATIVE_TEAROFFS_PER_CHUNK. r=bholley
This has been 1 since the what looks like the initial landing in 2001, so clearly we don't need this generality.
2015-03-18 11:36:04 -07:00
Andrew McCreight 4b0504854b Bug 1142717, part 4 - Add MOZ_COUNT_CTOR/DTOR for XPCWrappedNativeTearOff. r=bholley 2015-03-18 11:36:03 -07:00
Andrew McCreight 8d859f353e Bug 1142717, part 3 - Make XPCWrappedNativeTearOff::mNative a smart pointer. r=bholley 2015-03-18 11:36:03 -07:00
Andrew McCreight 724707b79a Bug 1142717, part 2b - Rename obj to qiResult in InitTearOff. r=bholley 2015-03-18 11:36:03 -07:00
Andrew McCreight fb9de9d231 Bug 1142717, part 2 - Use nsRefPtr for obj in XPCWrappedNative::InitTearOff. r=bholley 2015-03-18 11:36:03 -07:00
Andrew McCreight d7800e90bf Bug 1142717, part 1 - Remove unused forward declaration of xpc_GetJSPrivate. r=bholley 2015-03-18 11:36:03 -07:00
Andrew McCreight 468e063778 Bug 1137536, part 3 - Move the top level DeferredFinalize functions into their own file. r=smaug 2015-03-18 11:36:03 -07:00
Andrew McCreight fa1e69dd93 Bug 1137536, part 2 - Make sure every file that uses an nsCycleCollector_ function includes nsCycleCollector.h. r=smaug
This will let us remove it from headers after we split out DeferredFinalize into its own header.
2015-03-18 11:36:03 -07:00
Andrew McCreight fc0fb081b0 Bug 1137536, part 1 - Move DeferredFinalize out of the cyclecollector namespace. r=smaug 2015-03-18 11:36:03 -07:00
Andrew McCreight 24b97f86af Bug 1143938 - Add listener argument to Components.utils.forceCC. r=smaug 2015-03-18 11:36:03 -07:00
Terrence Cole faa8ea7b6a Bug 1144794 - Move markBufferedGrayRoots to the GCRuntime; r=sfink, a=RyanVM 2015-03-18 10:56:29 -07:00
Terrence Cole 0b3145e321 Bug 1144789 - Strongly type GrayBufferState enum and move to GCRuntime; r=sfink, a=RyanVM 2015-03-18 10:56:03 -07:00
Terrence Cole bae886e9cf Bug 1144369 - Add a GC phase to track time spent buffering gray roots; r=sfink, a=RyanVM 2015-03-18 10:49:02 -07:00
Terrence Cole 0d22d97eb5 Bug 1144331 - Assert that gray buffering does not depend on isMarking; r=jonco, a=RyanVM 2015-03-18 10:48:36 -07:00
Brian Hackett 5d733811e9 Bug 1143106 - Fix construction of singleton objects during parsing when unboxed objects are in use, r=jandem. 2015-03-18 08:42:30 -07:00
Nicolas B. Pierron 979db7f522 Bug 1137624 - Disable Array.join optimization. r=jandem 2015-03-18 15:12:47 +01:00
Boris Zbarsky 86b3a88d1b Bug 1144452. Print the global in JSObject::dump. r=waldo 2015-03-18 09:24:13 -04:00
Boris Zbarsky 2676d9eb32 Bug 1144097. Fix yet another is<ScopeObject>() assert. r=shu 2015-03-18 09:24:13 -04:00
Boris Zbarsky 8480cad9bd Bug 1135963. Allow JS_InitializePropertiesFromCompatibleNativeObject to deal with objects that have different prototypes. r=bhackett 2015-03-18 09:24:13 -04:00
Jon Coppeard 71dce41197 Bug 1125101 - Check budget in incremental compaction r=terrence 2015-02-26 12:35:59 +00:00
Jon Coppeard e207ec92b0 Bug 1125101 - Incrementalise compacting GC by zones r=terrence 2015-02-26 12:35:59 +00:00
Hannes Verschore 981d22478b Bug 1139152 - IonMonkey: Fix compiler issues with DebugOnly on CLOSED TREE 2015-03-18 11:06:14 +01:00
Tooru Fujisawa 0990b62287 Bug 1079919 - Part 4: Add Xray test for RegExp.prototype.toString. r=bholley 2015-03-18 18:22:05 +09:00
Tooru Fujisawa a393614bb2 Bug 1079919 - Part 2: Make RegExp.prototype.toString to be a generic function. r=Waldo 2015-03-18 18:22:05 +09:00
Tooru Fujisawa 7029f1c38c Bug 1079919 - Part 1: Support RegExp in Xray. r=bholley 2015-03-18 18:22:05 +09:00
Tooru Fujisawa 75d9d40a66 Bug 1079919 - Part 0: Add RegExp ClassSpec. r=bholley 2015-03-18 18:22:05 +09:00
Hannes Verschore 1e5553841b Bug 1139152 - IonMonkey: Add dynamic output type checks for LIRs that use redefine, r=jandem 2015-03-18 10:08:39 +01:00
Hannes Verschore 9bde438ed5 Bug 1140890 - Make sure the first argument cannot bail in between negative zero removal and creating result in substraction, r=nbp 2015-03-18 10:08:37 +01:00
Sean Stangl 85a0952972 Bug 1038839 - Use type information for alias analysis. r=jandem 2015-03-10 14:56:13 -07:00
Jon Coppeard 5a08cd380f Bug 1144108 - Fix debugger tests that are confused by GC zeal r=terrence 2015-03-17 16:07:40 +00:00
Lars T Hansen 6a7052d67f Bug 1077014 - optimize atomics for effect. r=h4writer 2015-03-17 16:30:49 +01:00
Lars T Hansen 16402f7832 Bug 1077014 - MacroAssembler API, for MIPS. r=rankov 2015-03-17 16:30:49 +01:00
Lars T Hansen 8664902031 Bug 1077014 - MacroAssembler API. r=h4writer 2015-03-17 16:30:49 +01:00
Lars T Hansen 6bc008642c Bug 1077014 - ARM assembler support for for-effect atomics. r=mjrosenb 2015-03-17 16:30:49 +01:00
Jon Coppeard 5d0074119f Bug 1143706 - Allow BaseShape's global to be null when tracing r=terrence 2015-03-17 10:22:36 +00:00
Tooru Fujisawa d087d1ddf6 Bug 1143512 - Remove unused declaration of regexp_flags. r=jandem 2015-03-17 18:49:46 +09:00
Nicholas Nethercote 194ec0d0ae Bug 1142814 (attempt 2) - Optimize String.fromCharCode() when the number of args is small but > 1. r=jandem. 2015-03-12 17:19:48 -07:00
Wes Kocher 4a1d74cfc0 Backed out changeset 2693283b5d8b (bug 1142814) for bc1 orange 2015-03-16 17:45:45 -07:00
Nicholas Nethercote b6b27f0a2a Bug 1142814 - Optimize String.fromCharCode() when the number of args is small but > 1. r=jandem.
This avoids an unnecessary malloc.

The patch also adds testing for String.fromCharCode() with 2--20 args.

--HG--
extra : rebase_source : 4f56b15053914ebf6c94518047abbd5955482c1e
2015-03-12 17:19:48 -07:00
Tooru Fujisawa 9e50844c88 Bug 1143281 - Check argument type in StructType.prototype.addressOfField. r=jorendorff 2015-03-17 07:28:57 +09:00
Steve Fink 55c0d252ef Bug 1095290 - Make unlazified scripts same-compartment with their functions, r=bhackett
--HG--
extra : rebase_source : 9d3c24eb7ecfd6511e1d5f2bb5f8d95bc5e27a67
2015-03-16 15:13:28 -07:00
Steve Fink cf0a78ef9a Bug 1139456 - Do not let compaction set the alloc threshold to unreasonably small sizes, r=terrence
--HG--
extra : rebase_source : 2842e2aaaa97b355c61637d421c8a3fb02d70d57
2015-03-16 15:13:20 -07:00
Ryan VanderMeulen 9823ebd77b Backed out changeset df82a0b667bb (bug 1137180) for causing intermittent crashes. 2015-03-16 13:17:19 -04:00
Terrence Cole d7de9b28da Bug 1141234 - Part 7: Reorder the allocator methods for clarity; r=sfink
--HG--
extra : rebase_source : 416bf77e6710cbc6817c05b38093ba54dcdde4b2
2015-03-11 11:11:29 -07:00
Terrence Cole c68983593b Bug 1141234 - Part 6: Namespace the allocator into GCRuntime; r=sfink
--HG--
extra : rebase_source : b3a1a49368dd3cdedaa3cefb11ccf77a199dbce7
2015-03-11 11:09:31 -07:00
Terrence Cole 2fd6b7cb52 Bug 1141234 - Part 5: Inline the one user of ShouldNurseryAllocate; r=sfink
--HG--
extra : rebase_source : ccd1e76d1363f4396cc280ffca88138278ecbe36
2015-03-11 11:07:57 -07:00
Terrence Cole a43111845b Bug 1141234 - Part 4: Move off-thread object allocation above unimplementable operations; r=sfink
--HG--
extra : rebase_source : 5e7373a610982e7a1f333a236ea324bc36961c16
2015-03-11 11:07:38 -07:00
Terrence Cole 0e5039fd77 Bug 1141234 - Part 3: Share the code to allocate a tenured thing; r=sfink
--HG--
extra : rebase_source : 5b21b52b3ba7650b1a20ff15d87a1156a27f9409
2015-03-11 11:07:23 -07:00
Terrence Cole f4c5db74f1 Bug 1141234 - Part 1: Abstract PossiblyFail into the OOM testing machinery; r=sfink
--HG--
extra : rebase_source : b272f6805d505ad4ae7ac997c3d50b08eadca16c
2015-03-11 11:06:20 -07:00
Benjamin Bouvier 55c05c9b53 Bug 1135039: Apply swizzle type policy changes in Ion too; r=sunfish
--HG--
extra : rebase_source : 8f6fc2f4bf447d0a94c4020745e021c761f2d9da
2015-03-02 19:40:06 +01:00
Benjamin Bouvier c640efd2ea Bug 1135039: Throw on non-int32 or out-of-bounds lanes arguments to swizzle/shuffle; r=sunfish
--HG--
extra : rebase_source : 8217021222a42042193443006f52f0356cebb772
2015-03-05 11:55:10 +01:00
Benjamin Bouvier ba2ef44a01 Bug 1139473: File some metadata for the js/src/ subdirectory; r=jorendorff
--HG--
extra : rebase_source : 02642bc61adf6d2794f0f5b25d5192c5cad99412
2015-03-04 17:43:27 +01:00
ProgramFOX 7d68b9894a Bug 1141629 - SIMD: Clarify that reciprocal and reciprocalSqrt are approximations. r=bbouvier
--HG--
extra : rebase_source : 72f3a65b345364b87c5c80e58606174072fbc841
2015-03-13 19:13:08 +01:00
ziyunfei 9f585220aa Bug 1141392 - Disallow a line break between ArrowParameters and the arrow. r=jorendorff
--HG--
extra : rebase_source : fc7e5a78c0adcadc32219f893969d41c2697ecd9
2015-03-15 03:39:00 +01:00
Nick Fitzgerald 4fc22c0a2f Bug 1137844 - Part 4: Test the Debugger.Memory.prototype.onGarbageCollection hook; r=sfink 2015-03-13 13:03:00 +01:00
Nick Fitzgerald c6bb2bd53d Bug 1137844 - Part 3: Fire the Debugger.Memory.prototype.onGarbageCollection hook after GCs; r=sfink 2015-03-13 13:03:00 +01:00
Nick Fitzgerald 0494065375 Bug 1137844 - Part 2: Add a Debugger.Memory.prototype.onGarbageCollection getter/setter pair. r=sfink 2015-03-13 13:03:00 +01:00
Nick Fitzgerald 51a7528e42 Bug 1137844 - Part 1: Make {get,set}HookImpl not rely on a Debugger instance in the 'this' slot; r=sfink 2015-03-13 13:03:00 +01:00
Nick Fitzgerald a1aa0e9525 Bug 1137844 - Part 0 - Add docs for Debugger.Memory.prototype.onGarbageCollection; r=jimb 2015-03-13 13:02:00 +01:00
Brian Hackett 94ad027986 Bug 1137180 - Allow unboxed objects to be extended with new properties, r=jandem. 2015-03-15 14:26:42 -06:00