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