Shu-yu Guo
3ca4241941
Bug 1165486 - Cleanup: rename staticEvalScope to topStaticScope to prepare for the static top-level lexical scope. (r=luke)
2015-06-19 01:21:13 -07:00
Benoit Girard
4ac4ead7b5
Bug 1172186 - Make the profiler build standalone. r=mstange
2015-06-18 01:05:42 -04:00
Benoit Girard
aace26e2a9
Bug 858927 - Move the mozilla::TimeStamp into mozglue. r=glandium
2015-06-05 16:03:11 -04:00
Nicholas Nethercote
0977cb9515
Bug 1174594 (part 3) - Remove ShutdownData. r=mrbkap.
...
It's written to but never read from.
2015-06-18 15:34:27 -07:00
Nicholas Nethercote
bb79cc6659
Bug 1174594 (part 2) - Use a more sensible type for UNMARK_{ONLY,AND_SWEEP}. r=mrbkap.
2015-06-18 15:34:26 -07:00
Nicholas Nethercote
be5a63c629
Bug 1174594 (part 1) - Remove uses of PL_DHashTableEnumerate from XPConnect. r=mrbkap.
...
Each PLDHashTable-based map class in XPCMaps has its Enumerate() function
replaced with an Iterator and/or a RemovingIterator.
2015-06-18 15:34:25 -07:00
Terrence Cole
81846428dc
Bug 1174850 - Remove the explicitly relocatable store buffers; r=jonco
2015-06-16 16:03:11 -07:00
Terrence Cole
584faffbe8
Bug 1174319 - Remove the intermediate store buffer buffer; r=jonco
2015-06-16 16:03:02 -07:00
Ryan VanderMeulen
9523eff4f2
Merge inbound to m-c. a=merge
...
CLOSED TREE
2015-06-18 16:03:38 -04:00
Terrence Cole
4fdf83ebe6
Bug 1175708 - Followup to fix windows jstests.py bustage on a CLOSED TREE; r=meow
2015-06-18 10:33:34 -07:00
Ryan VanderMeulen
229e1fa0e7
Backed out 14 changesets (bug 1165486) for causing frequent crashes/asserts in automation.
...
Backed out changeset 1db9723f1617 (bug 1165486)
Backed out changeset 662ec8b0561e (bug 1165486)
Backed out changeset 97352c48fb98 (bug 1165486)
Backed out changeset 4143cca42cc7 (bug 1165486)
Backed out changeset 5abb37cb0495 (bug 1165486)
Backed out changeset 7b157964c572 (bug 1165486)
Backed out changeset 5c01ab1d9790 (bug 1165486)
Backed out changeset 0e00d8a3ca1d (bug 1165486)
Backed out changeset 5e88d482f5e8 (bug 1165486)
Backed out changeset 513bbca6fb6c (bug 1165486)
Backed out changeset 64fa28f0255a (bug 1165486)
Backed out changeset 7a404929c74c (bug 1165486)
Backed out changeset 1dc0d6adf6ed (bug 1165486)
Backed out changeset 381003ca79a3 (bug 1165486)
CLOSED TREE
2015-06-18 13:05:10 -04:00
Ryan VanderMeulen
9637af18c0
Backed out changesets 83954c7df8ab and 0a3b1cd87c26 (bug 1171177) for causing frequent crashes/asserts in automation.
2015-06-18 13:02:49 -04:00
Terrence Cole
4340a5aa2e
Bug 1175708 - Eliminate some horrid action-at-a-distance global state in jstests.py; r=sfink
2015-06-17 14:29:53 -07:00
d630ad6c
d07508a0ad
Bug 915805 - Don't treat unbound names in Function() code as globals when the Function() code contains a direct eval or similarly-extensible scope. r=jorendorff
2015-06-18 08:35:24 -07:00
Eric Faust
472d9bdeea
Bug 1169736 - Temporarily disallow eval and arrow functions inside derived class constructors. (r=jorendorff)
2015-06-17 14:38:23 -07:00
Carsten "Tomcat" Book
d6d4574131
merge mozilla-inbound to mozilla-central a=merge
2015-06-18 15:13:19 +02:00
Tom Tromey
8e72234dff
Bug 1159506 - Make GC events use TimeStamp. r=terrence
2015-06-17 15:14:00 -04:00
Tom Tromey
55e2a5071c
Bug 1159507 - make allocation times consistent with timeline; r=fitzgen,mccr8
2015-06-17 13:01:27 -07:00
Ryan VanderMeulen
b8f85b9ab9
Merge m-c to fx-team. a=merge
2015-06-17 15:05:37 -04:00
Daniel Holbert
4dca93c9e0
Bug 1165486 followup: Annotate toObjectBox() impls as 'override'. rs=ehsan
2015-06-15 23:21:51 -07:00
Shu-yu Guo
3024d9b181
Bug 1171177 - Remove UNQUALIFIED_VAROBJ Shape flags in favor of Class-checking. (r=luke)
2015-06-17 21:26:58 -07:00
Shu-yu Guo
167a1a707a
Bug 1171177 - Remove VAROBJFIX. (r=luke)
2015-06-17 21:26:58 -07:00
Shu-yu Guo
ff10d8a09f
Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust)
2015-06-17 21:26:58 -07:00
Shu-yu Guo
bb24e76d72
Bug 1165486 - Detect with scopes at parse time using the static scope chain for non-function scripts. Also cache static scope properties on SharedGlobalContext. (r=efaust)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
6183404468
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
460dc4368f
Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
770c22e324
Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
39b28b5aac
Bug 1165486 - Rebase yield offsets when cloning scripts. (r=jandem)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
1848359ed9
Bug 1165486 - Restructure function and script cloning in light of PollutingGlobal scope changes. (r=Waldo)
...
CloneFunctionObject is split into the following:
- CloneFunctionAndScript, which deep clones the function and its
script, giving the cloned script a new static scope chain. This is
used for cloning singleton lambdas and JSAPI cloning. For singleton
lambdas, the original and the clone script have the same static
scope chain. For JSAPI cloning, a new static scope is provided
(either null, for a clean global, or StaticPollutingGlobalObject,
for a polluted global).
- CloneFunctionReuseScript, which clones the function but reuses the
script, and thus keeps the same static scope chain.
CloneScript is split into the following:
- CloneGlobalScript, which clones a script with and gives it a new
static scope.
- CloneScriptIntoFunction, which clones a script into a JSFunction and
gives it a new static scope. Cloning a script into a new function
container requires slightly different logic to hook up the static
scope chain before cloning inner scripts.
2015-06-17 21:26:57 -07:00
Shu-yu Guo
e4c9afe8fb
Bug 1165486 - Remove PollutedGlobalScopeOption in favor of using the static scope chain to detect non-syntactic scopes. (r=luke)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
eb3724b03a
Bug 1165486 - Detect with scopes at parse time using the static scope chain instead of treating it as a polluted global. (r=luke)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
72b3e6917d
Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
de0beb4df9
Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
deecfef6dd
Bug 1165486 - Cleanup: use standard object allocation functions when allocating scope objects. (r=terrence)
2015-06-17 21:26:57 -07:00
Shu-yu Guo
4af5ce4119
Bug 1165486 - Cleanup: rename staticEvalScope to topStaticScope to prepare for the static top-level lexical scope. (r=luke)
2015-06-17 21:26:57 -07:00
Phil Ringnalda
86c9db26a2
Backed out 2 changesets (bug 1169736) for Windows "Assertion failure: function()->isClassConstructor()"
...
CLOSED TREE
Backed out changeset ea7188e6713c (bug 1169736)
Backed out changeset 5c5ab792827a (bug 1169736)
2015-06-17 20:56:48 -07:00
Shu-yu Guo
f24c08010e
Bug 1175397 - Do not eliminate dead resume point operands after GVN. r=nbp CLOSED TREE
2015-06-17 19:24:30 -07:00
Wes Kocher
34c5df9cea
followup to Bug 1169736 to fix spidermonkey failures CLOSED TREE
...
(If this doesn't fix things, this and the original patch for this bug need to be backed out to fix things)
2015-06-17 17:15:45 -07:00
Eric Faust
cbd8baaa78
Bug 1169736 - Temporarily disallow eval and arrow functions inside derived class constructors. (r=jorendorff)
2015-06-17 14:38:23 -07:00
Eric Faust
559021c984
Bug 1169731 - [[Call]] on a class constructor should throw. (r=jandem)
2015-06-17 14:37:49 -07:00
Eric Faust
4c8e1b1942
Bug 1173525 - Add JS::Construct overload for specifying new.target. (r=Waldo)
2015-06-17 14:37:48 -07:00
Eric Faust
cc0997423e
Bug 1172483 - Remove erroneous assert. (r=Waldo)
2015-06-17 14:37:45 -07:00
Nick Fitzgerald
b147375450
Bug 1157456 - Re-wrap results in SavedFrame accessors; r=jorendorff
2015-06-17 13:18:16 -07:00
Nick Fitzgerald
8ea5ba5738
Bug 1149294 - Part 3: Split thread-safe methods on ChromeUtils out into a new
...
ThreadSafeChromeUtils interface and move the utils interfaces into dom/base;
r=bholley
2015-06-17 11:12:23 -07:00
Nick Fitzgerald
870beaf40d
Bug 1149294 - Part 1: Don't trace permanent atoms and well known symbols that are owned by a parent JSRuntime inside SimpeEdgeVectorTracer; r=terrence
2015-06-17 11:12:23 -07:00
Terrence Cole
93c868952f
Bug 1174262 - Make jstest dispatch via a generator on Windows; r=sfink
2015-06-11 18:37:21 -07:00
Terrence Cole
8b281f3df1
Bug 1174009 - Remove a couple of unused AutoRooter types; r=sfink
2015-06-10 10:16:53 -07:00
Nicolas B. Pierron
2d9f4667f9
Bug 1175233 - RObjectState::recover: Handle cases where the property type does not match the recovered value. r=bhackett
2015-06-17 18:47:06 +02:00
Manish Goregaokar
a422d7a4fe
Bug 1035973 - Add DebuggerObject.getOwnPropertySymbols; r=fitzgen
2015-06-16 09:30:00 +02:00
David Rajchenbach-Teller
aa7d33ab1b
Bug 1157870 - Performance Groups should have a unique ID (low-level). r=jandem
2015-05-18 16:40:22 +02:00
Bobby Holley
98d54ae561
Bug 1174971 - Introduce two variants of getOwnPropertyFromTargetIfSafe. r=gabor,r=arai
2015-06-16 09:00:41 -07:00
Brian Hackett
fc67dd9b05
Bug 1174712 - Tolerate singleton objects with uncacheable prototypes in Ion caches, r=jandem.
2015-06-16 08:50:35 -07:00
Carsten "Tomcat" Book
12c58d70da
Merge mozilla-central to mozilla-inbound
2015-06-16 16:24:17 +02:00
Gabor Krizsanits
5f11ce3064
Bug 1100498 - Report function names for addon exceptions. r=billm
2015-06-16 16:46:17 +02:00
Lars T Hansen
d96ba217a5
Bug 1171540 - disable test cases if asm.js compilation is not available. r=me, CLOSED TREE
2015-06-16 16:41:12 +02:00
Carsten "Tomcat" Book
ef590eebe8
merge mozilla-inbound to mozilla-central a=merge
2015-06-16 16:08:27 +02:00
Carsten "Tomcat" Book
64370f9b38
Backed out changeset 0379d120132a (bug 1165486) for making gu test fail permanently
2015-06-16 10:47:20 +02:00
Carsten "Tomcat" Book
e67f6077ee
Backed out changeset 710aabd4e4ab (bug 1165486)
2015-06-16 10:46:27 +02:00
Carsten "Tomcat" Book
0e20ce0a40
Backed out changeset cb18fdf212cc (bug 1165486)
2015-06-16 10:46:20 +02:00
Carsten "Tomcat" Book
3e74566de9
Backed out changeset 1d26c357fea5 (bug 1165486)
2015-06-16 10:46:10 +02:00
Carsten "Tomcat" Book
9fcea759a7
Backed out changeset 77283cc3e7e2 (bug 1165486)
2015-06-16 10:46:03 +02:00
Carsten "Tomcat" Book
04ba915ed7
Backed out changeset db16ffa16c96 (bug 1165486)
2015-06-16 10:45:56 +02:00
Carsten "Tomcat" Book
1a3c1460b4
Backed out changeset fba7bb481879 (bug 1165486)
2015-06-16 10:45:48 +02:00
Carsten "Tomcat" Book
f1af3fbcdf
Backed out changeset 96207d707430 (bug 1165486)
2015-06-16 10:45:41 +02:00
Carsten "Tomcat" Book
1418ddf90f
Backed out changeset 0cfeee56564b (bug 1165486)
2015-06-16 10:45:34 +02:00
Carsten "Tomcat" Book
75f3c014ef
Backed out changeset 8031242fe5e5 (bug 1165486)
2015-06-16 10:45:29 +02:00
Carsten "Tomcat" Book
f11e1fb1a8
Backed out changeset 9ec0a501209a (bug 1165486)
2015-06-16 10:45:24 +02:00
Carsten "Tomcat" Book
99f39fa82e
Backed out changeset 42fcb204b544 (bug 1165486)
2015-06-16 10:45:17 +02:00
Carsten "Tomcat" Book
17f607e2c4
Backed out changeset c3a547a77df9 (bug 1171177)
2015-06-16 10:45:10 +02:00
Carsten "Tomcat" Book
1099c83ef5
Backed out changeset 09dc89be2cee (bug 1171177)
2015-06-16 10:45:04 +02:00
Carsten "Tomcat" Book
4a03a2f036
Backed out changeset fd6c99f92485 (bug 1165486)
2015-06-16 10:44:58 +02:00
Jocelyn Liu
cb94db24ac
Bug 1167064 - Patch1: Switch to bluetooth APIv2. r=shuang
2015-06-16 09:38:50 +08:00
Daniel Holbert
d41538c7aa
Bug 1165486 followup: Annotate toObjectBox() impls as 'override'. rs=ehsan
2015-06-15 23:21:51 -07:00
Shu-yu Guo
fecdead356
Bug 1171177 - Remove UNQUALIFIED_VAROBJ Shape flags in favor of Class-checking. (r=luke)
2015-06-15 21:32:31 -07:00
Shu-yu Guo
9c017ae1ff
Bug 1171177 - Remove VAROBJFIX. (r=luke)
2015-06-15 21:32:31 -07:00
Shu-yu Guo
5bd19fc010
Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
57b2c251fe
Bug 1165486 - Detect with scopes at parse time using the static scope chain for non-function scripts. Also cache static scope properties on SharedGlobalContext. (r=efaust)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
a1d10ebe8c
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
ebafdd5dbe
Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
957995c1d7
Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
131096a5a8
Bug 1165486 - Restructure function and script cloning in light of PollutingGlobal scope changes. (r=Waldo)
...
CloneFunctionObject is split into the following:
- CloneFunctionAndScript, which deep clones the function and its
script, giving the cloned script a new static scope chain. This is
used for cloning singleton lambdas and JSAPI cloning. For singleton
lambdas, the original and the clone script have the same static
scope chain. For JSAPI cloning, a new static scope is provided
(either null, for a clean global, or StaticPollutingGlobalObject,
for a polluted global).
- CloneFunctionReuseScript, which clones the function but reuses the
script, and thus keeps the same static scope chain.
CloneScript is split into the following:
- CloneGlobalScript, which clones a script with and gives it a new
static scope.
- CloneScriptIntoFunction, which clones a script into a JSFunction and
gives it a new static scope. Cloning a script into a new function
container requires slightly different logic to hook up the static
scope chain before cloning inner scripts.
2015-06-15 21:32:30 -07:00
Shu-yu Guo
9313318c69
Bug 1165486 - Remove PollutedGlobalScopeOption in favor of using the static scope chain to detect non-syntactic scopes. (r=luke)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
3e3657667e
Bug 1165486 - Detect with scopes at parse time using the static scope chain instead of treating it as a polluted global. (r=luke)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
7cd92ec02e
Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
ec26769244
Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
9b20de5018
Bug 1165486 - Cleanup: use standard object allocation functions when allocating scope objects. (r=terrence)
2015-06-15 21:32:30 -07:00
Shu-yu Guo
b6d4455538
Bug 1165486 - Cleanup: rename staticEvalScope to topStaticScope to prepare for the static top-level lexical scope. (r=luke)
2015-06-15 21:32:30 -07:00
Ryan VanderMeulen
425b4d9128
Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts.
...
CLOSED TREE
2015-06-15 13:06:23 -04:00
Terrence Cole
975243fe86
Bug 1173889 - Strongly type the CallbackTracer dispatch function; r=jonco, r=mccr8
2015-06-11 10:03:33 -07:00
Terrence Cole
631dcc42a9
Bug 1173864 - Make MarkStack private in GCMarker; r=jonco
2015-06-03 09:00:50 -07:00
Jan de Mooij
48f4202535
Bug 977805 followup - Fix some issues with IonCache::reset reprotection. r=luke
2015-06-15 17:28:10 +02:00
Jan de Mooij
d2865fc1c6
Bug 1174542 - Remove unnecessary AutoWritabeJitCode from initTraceLogger. r=luke
2015-06-15 17:27:13 +02:00
Jan de Mooij
7b66afff3f
Bug 1174372 - Initialize ExecutableAllocator static fields in JS_Init. r=luke
2015-06-15 17:26:41 +02:00
Carsten "Tomcat" Book
cadad24109
Backed out changeset 2cba58b2e1b4 (bug 1100498) for m-oth js crashes
2015-06-15 17:04:24 +02:00
Jukka Jylanki
5676f40305
Bug 1168471 - Implement support for SharedArrayBuffers and SharedArrayViews in WebIDL. r=bz, r=lth, r=luke
2015-06-13 14:02:46 +03:00
Andrea Marchesini
068d9fc360
Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
2015-06-15 14:08:25 +01:00
Gabor Krizsanits
8215cb5afc
Bug 1100498 - Report function names for addon exceptions. r=billm
2015-06-15 14:59:49 +02:00
Ted Mielczarek
2f7d42d79d
bug 977805 - add missing #include. r=jandem
2015-06-12 15:51:47 -04:00
Nicolas B. Pierron
d210419c5f
Bug 1172076 - Switch compartment before computing recover instruction results. r=jandem
2015-06-15 11:48:15 +02:00
Brian Hackett
208b71ac6a
Bug 1162986 - Allow objects to be turned into singletons dynamically, r=jandem.
2015-06-14 08:02:44 -07:00
Phil Ringnalda
870194e2bd
Back out fd36716d1f9d (bug 1162986) for mostly-Win8-debug devtools crashes
...
CLOSED TREE
2015-06-13 14:41:15 -07:00
Phil Ringnalda
9a9a9885f6
Back out 2 changesets (bug 977805) for OS X crashes @js::jit::PatchJump
...
CLOSED TREE
Backed out changeset 33f3b919ef1b (bug 977805)
Backed out changeset 9fa312e065e1 (bug 977805)
2015-06-13 13:06:42 -07:00
Ted Mielczarek
4cd38b9a19
bug 977805 - pacify JS style checker. r=bustage
2015-06-13 15:29:16 -04:00
Ted Mielczarek
9c74ea00c3
bug 977805 - add missing #include. r=jandem
2015-06-12 15:51:47 -04:00
Wes Kocher
ac0c9e289c
Backed out 12 changesets (bug 1165486) for windows spidermonkey failures CLOSED TREE
...
Backed out changeset ce3c302864bf (bug 1165486)
Backed out changeset f69852001c61 (bug 1165486)
Backed out changeset 06cc09729bf4 (bug 1165486)
Backed out changeset 52772afc023e (bug 1165486)
Backed out changeset 502ddf7d2268 (bug 1165486)
Backed out changeset b04ab7bd78af (bug 1165486)
Backed out changeset 53fcddbe4cfb (bug 1165486)
Backed out changeset 63bd369e5349 (bug 1165486)
Backed out changeset 1e35269a8062 (bug 1165486)
Backed out changeset e3c11d517e18 (bug 1165486)
Backed out changeset ccd90228daf6 (bug 1165486)
Backed out changeset eb11e655d223 (bug 1165486)
2015-06-15 18:07:52 -07:00
Wes Kocher
ddec0ac5ae
Backed out 2 changesets (bug 1171177)
...
Backed out changeset 18c286d070ad (bug 1171177)
Backed out changeset 6f535aa71725 (bug 1171177)
2015-06-15 18:07:15 -07:00
Shu-yu Guo
6845374258
Bug 1171177 - Remove UNQUALIFIED_VAROBJ Shape flags in favor of Class-checking. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
599d643fe7
Bug 1171177 - Remove VAROBJFIX. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
fc4141a4d3
Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
7bc90e1d8f
Bug 1165486 - Detect with scopes at parse time using the static scope chain for non-function scripts. Also cache static scope properties on SharedGlobalContext. (r=efaust)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
4dde0e420f
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
cbb9755ad1
Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
bfa4c2412f
Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
2e8ae531ca
Bug 1165486 - Restructure function and script cloning in light of PollutingGlobal scope changes. (r=Waldo)
...
CloneFunctionObject is split into the following:
- CloneFunctionAndScript, which deep clones the function and its
script, giving the cloned script a new static scope chain. This is
used for cloning singleton lambdas and JSAPI cloning. For singleton
lambdas, the original and the clone script have the same static
scope chain. For JSAPI cloning, a new static scope is provided
(either null, for a clean global, or StaticPollutingGlobalObject,
for a polluted global).
- CloneFunctionReuseScript, which clones the function but reuses the
script, and thus keeps the same static scope chain.
CloneScript is split into the following:
- CloneGlobalScript, which clones a script with and gives it a new
static scope.
- CloneScriptIntoFunction, which clones a script into a JSFunction and
gives it a new static scope. Cloning a script into a new function
container requires slightly different logic to hook up the static
scope chain before cloning inner scripts.
2015-06-15 17:38:01 -07:00
Shu-yu Guo
a6ba9ac026
Bug 1165486 - Remove PollutedGlobalScopeOption in favor of using the static scope chain to detect non-syntactic scopes. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
349d69ce2f
Bug 1165486 - Detect with scopes at parse time using the static scope chain instead of treating it as a polluted global. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
ef0a880864
Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
eafedd6963
Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
e4f444b9d0
Bug 1165486 - Cleanup: use standard object allocation functions when allocating scope objects. (r=terrence)
2015-06-15 17:38:01 -07:00
Shu-yu Guo
7ff606ffff
Bug 1165486 - Cleanup: rename staticEvalScope to topStaticScope to prepare for the static top-level lexical scope. (r=luke)
2015-06-15 17:38:00 -07:00
Boris Zbarsky
2f085a9633
Bug 1174486 part 1. Make sure that warnings do still get reported even if our AutoJSAPI has taken over error reporting. r=bholley
2015-06-15 20:10:24 -04:00
Boris Zbarsky
d7618f4f57
Bug 1173638. Make the constructors for Error and its subtypes get their filenames/linenumbers from the saved stack, not manually. r=fitzgen,bholley
...
The changes in webgl code are to ensure that we're in a reasonable compartment
while reporting a warning via the JS engine.
2015-06-15 20:05:49 -04:00
Brian Hackett
24ce3ae72f
Bug 1170840 - Add testbed allocator for new regalloc features, and use for a change to hot/cold code bundle splitting, r=sunfish.
2015-06-15 11:12:45 -07:00
Eugen Sawin
9fbcac6277
Bug 1171013 - Extend defineLazyModuleGetter to support user-defined proxy objects. r=mfinkle
2015-06-15 19:16:00 +02:00
Nicolas B. Pierron
998bd6a277
Bug 1174322 - RObjectState::recover: Work-around the lack of MStoreUnboxedBoolean. r=bhackett
2015-06-17 14:03:04 +02:00
Andrea Marchesini
949d2bb91b
Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
2015-06-17 11:44:27 +01:00
Nicolas B. Pierron
cd29d8f81e
Bug 1165912 - Ensure HelperThread().ionLazyLinkList() is only used from the main thread. r=h4writer
2015-06-17 12:01:34 +02:00
Carsten "Tomcat" Book
18aeb9b8be
Backed out changeset c1534aaff6c6 (bug 1125624) for SpiderMonkey Compacting GC Shell Build test failures
2015-06-17 11:05:39 +02:00
Carsten "Tomcat" Book
ff85efa038
Backed out changeset 94f14d6b26d5 (bug 1125624)
2015-06-17 11:02:59 +02:00
Carsten "Tomcat" Book
32dbd2985c
Backed out changeset 822901f56c1f (bug 1170216)
2015-06-17 11:02:52 +02:00
Carsten "Tomcat" Book
2a6b1c0792
Backed out changeset 9345403c7628 (bug 1171036)
2015-06-17 11:02:46 +02:00
Jeff Walden
25ba36071c
Bug 1146136 - Fix most in-tree tests that parenthesize destructuring pattern assignment targets, as ES6 forbids such parenthesization. (The patch making SpiderMonkey reject this syntax will follow shortly.) r=efaust, r=testingonlychange
2015-05-30 00:55:35 -07:00
Jason Orendorff
c40c89b781
Bug 1171036 - Change GetLengthProperty slow path to use ToLengthClamped instead of ToUint32. r=Waldo.
2015-06-03 10:01:45 -05:00
Jason Orendorff
61c8fbb215
Bug 1170216 - When using the slow-and-standard path in js::SetIntegrityLevel, don't manually call setNonwritableArrayLength afterwards. r=Waldo.
2015-06-01 12:01:02 -05:00
Jason Orendorff
b34f7ad45c
Bug 1125624, part 3 - Remove js::StandardDefineProperty and js::DefineOwnProperty. r=Waldo.
2015-05-29 16:48:26 -05:00
Jason Orendorff
45b17e3e19
Bug 1125624, part 2 - Change js::StandardDefineProperty to forward to js::DefineProperty. r=Waldo.
2015-05-29 17:31:43 -05:00
Brian Hackett
dc49f253ba
Bug 1171405 - Add baseline and ion ICs for GETELEM on unboxed plain objects, r=jandem.
2015-06-16 17:27:12 -07:00
Sean Stangl
89bdc2a5ee
Bug 1173992 - Add ARM64 build support. r=glandium
2015-06-11 15:03:20 -07:00
Lars T Hansen
37758e8685
Bug 1172517 - track sharedness in global. r=luke
2015-06-16 15:19:25 +02:00
Lars T Hansen
36b0b51708
Bug 1171540 - Properly gate atomics and SAB for asm.js. r=luke
2015-06-16 15:19:05 +02:00
Ted Mielczarek
da4276d0ce
bug 1163828 - build system changes to support building for iOS. r=glandium
2015-06-10 11:10:40 -04:00
Brian Hackett
bbd58b3efd
Bug 1162986 - Allow objects to be turned into singletons dynamically, r=jandem.
2015-06-13 08:10:55 -07:00
Brian Hackett
9bdf3ab1e9
Bug 1172943 - Use unboxed arrays for JSON and script literal arrays, r=jandem.
2015-06-13 07:54:06 -07:00
Boris Zbarsky
cf7ff0c492
Fix the test for bug 1173787 to work even when the filename contains a ':' (e.g. on Windows) so we can reopen the CLOSED TREE
2015-06-12 23:22:22 -04:00
Boris Zbarsky
d0d3a215b0
Bug 1173787. The column number of an exception populated via PopulateReportBlame should be 1-based. r=fitzgen
2015-06-12 22:21:44 -04:00
Terrence Cole
dc023b236f
No Bug - Followup fix for build failure on a CLOSED TREE; r=bustage, a=RyanVM
2015-06-12 10:27:15 -07:00
Terrence Cole
1c33d3666f
Bug 1173908 - Fix an MSVC warning about negating an unsigned integer; r=nbp
2015-06-04 12:43:10 -07:00
Nicolas B. Pierron
88d4ab68f1
Bug 1170750 - jsprf.cpp: Sort headers properly. r=me
...
CLOSED TREE
2015-06-12 17:14:59 +02:00
Hannes Verschore
d0a03c8231
Bug 1173529: IonMonkey - Also iterate phis when removing guards, r=nbp
2015-06-12 16:58:46 +02:00
Nicolas B. Pierron
f164a493e5
Bug 1170750 - Use mfbt snprintf_literal instead of sprintf. r=jandem
2015-06-12 16:53:34 +02:00
Sean Stangl
62f8f228d1
Bug 1166037 - Part 2 - Modify common Baseline code for ARM64. r=djvj
2015-06-11 14:45:41 -07:00
Sean Stangl
280e228b04
Bug 1173642 - Import unimplemented ARM64 Ion components. r=efaust
2015-06-10 20:08:45 -07:00
Tooru Fujisawa
a1b56cd07a
Bug 1172470 - Remove unused unboxed case from GenerateDenseElementHole. r=jandem
2015-06-12 18:38:08 +09:00
Jon Coppeard
53eda1795d
Bug 1166041 - Add some assertions to help catch leaked slots memory r=terrence
2015-06-12 10:11:07 +01:00
Jan de Mooij
99836876a6
Bug 977805 - Add an option to mark JIT pages as non-writable. r=luke
2015-06-12 10:20:59 +02:00
Jan de Mooij
ab158fb0c8
Bug 1114079 - Fix overrecursion check in nsGlobalWindow::SetNewDocument to not report a JS exception. r=bz
2015-06-12 09:41:16 +02:00
Jan de Mooij
0cdcc3409d
Bug 1168864 followup - Remove unnecessary addProperty check from CheckHasNoSuchProperty. r=bhackett
2015-06-12 09:40:12 +02:00
Boris Zbarsky
93b4019197
Bug 1172513 part 2. When XDR-encoding a function, don't incode temporary flags. r=waldo
2015-06-11 22:34:37 -04:00
Boris Zbarsky
82b50dc44e
Bug 1172513 part 1. Fix shell's Evaluate to actually throw when it detects save/load bytecode mismatches. r=waldo
2015-06-11 22:34:37 -04:00
Shu-yu Guo
55fdfc4d81
Bug 1167895 - Escape JS engine SPS profile strings to UTF8 properly. (r=djvj)
2015-06-11 18:30:39 -07:00
Wes Kocher
228fe3f32a
Merge fx-team to central, a=merge
2015-06-11 17:18:11 -07:00
Brian Hackett
b6844e6d62
Bug 923717 - Use structured control flow when testing for the forceInlineCaches option, r=nbp.
2015-06-11 10:13:45 -07:00
David Rajchenbach-Teller
1ef717a2ba
Bug 1156264 - Activate/deactivate jank and CPOW monitoring separately (low-level). r=jandem
2015-06-04 13:12:07 +02:00
Wes Kocher
97a8a40886
Merge inbound to central, a=merge
2015-06-10 18:29:39 -07:00
Ryan VanderMeulen
725637f3f7
Bug 1170372 - Skip js1_5/Regress/regress-312588.js on SM(cgc) builds due to timeouts.
2015-06-10 15:17:26 -04:00
Brian Hackett
a58f16fbfe
Bug 1170372 - Use unboxed arrays for Array() and other functions keyed to allocation sites, r=jandem.
2015-06-10 09:42:22 -07:00
Terrence Cole
afd0fb65b5
Bug 1173042 - Remove unused GCChunkSet and chunk hashing functions; r=ehoogeveen
2015-06-10 09:34:57 -07:00
Terrence Cole
f30042ae87
Bug 1171780 - We no longer need to cast out of barrieried types in GC; r=jonco
2015-06-05 09:01:12 -07:00
Terrence Cole
6e3ab0c1db
Bug 1171430 - Don't shift the poison value by non-byte values; r=jonco
2015-06-10 08:58:36 -07:00
Jon Coppeard
0336648e50
Bug 1171430 - Do not poison the nursery's chunk kind marker; r=terrence
2015-06-10 04:11:00 -07:00
Thomas Escalon
eac13df407
Bug 1132189 - Rename "Analysis Helper" thread. r=bhackett
2015-06-09 09:02:11 +02:00
Benjamin Bouvier
721bdecd16
Bug 1172824: Initialize a few members in CompartmentCheckTracer (CID 1304705); r=terrence
2015-06-09 10:27:51 +02:00
Benjamin Bouvier
cd3c54c909
Bug 1172824: Initialize a few more members in VerifyPreTracer (CID 1304706); r=terrence
2015-06-09 10:20:54 +02:00
Benjamin Bouvier
4f0fd0e18d
Bug 1172824: Close dumpFile in case of error in DumpHeap (CID 1302587); r=jonco
2015-06-09 10:15:52 +02:00
Hannes Verschore
97c70da33a
Bug 1139376: Ionmonkey - Make removing of guards aware of phis, r=nbp
2015-06-02 12:25:45 +02:00
Lars T Hansen
301336704a
Bug 1172638 - guard a test case. r=bbouvier
2015-06-09 13:15:34 +02:00
Mike Hommey
2f8f0f107d
Bug 1169769 - Stop pretending js/src is a top-level directory. r=gps
...
It hasn't been a top-level directory since bug 969164.
2015-06-10 10:49:23 +09:00
Mike Hommey
85ff53f3f0
bug 1172632 - Move some allocator related configure checks in a common location for both top-level and js/src to use. r=mshal
2015-06-10 10:49:22 +09:00
Birunthan Mohanathas
1a70198650
Bug 1170758 - Make non-debug GraphSpewer constructor explicit. r=nbp
2015-06-02 15:10:16 -07:00
Steve Fink
aa255c9d4d
Bug 1172682 - Comment and refactor analysis code, r=terrence
...
The one change this patch makes in functionality is that it properly computes minimumUse in more cases, in anticipation of it being used for hazards (in addition to its current use for unnecessary roots).
2015-06-09 14:53:40 -07:00
Steve Fink
75000ea7c0
No bug. Add a --function argument for analyzing a single function by name.
2015-06-09 14:53:17 -07:00
Steve Fink
9093873417
Bug 1166101 - redirect aka os.file.redirect should not be available in fuzzing mode
2015-06-08 12:32:17 -07:00
Paolo Amadini
9a2e157611
Bug 1158133 - Add a way to disable async stacks, and disable by default on mobile platforms. r=bent,jimb
2015-06-09 11:17:09 +02:00
Jason Orendorff
372c97b322
Bug 1125624, part 1 - Implement ValidateAndApplyPropertyDescriptor steps 3-4, so that (once the corresponding code in StandardDefineProperty is deleted) freezing an already-frozen object with an addProperty class hook will not call the hook. r=Waldo.
...
Calling the hook is bad because sometimes the object is an XPConnect object with an addProperty hook that always throws.
2015-05-12 10:24:30 -05:00
Brian Hackett
0c57a2bf4a
Bug 1172545 - Recover from OOM if Ion compilation is skipped due to not being able to allocate a 'this' object, r=jandem.
2015-06-11 08:38:59 -07:00
Jon Coppeard
d7db84a536
Bug 1172641 - Fix class tests to not fail on builds where classes are not enabled. r=shu
2015-06-09 07:20:00 +02:00
Carsten "Tomcat" Book
21d9685ebf
Backed out changeset 136d0f3fe47c (bug 1172193) for causing bc3 leaks in browser_notifications.js on a CLOSED TREE
2015-06-11 16:35:44 +02:00
Carsten "Tomcat" Book
5499480aae
Backed out changeset bf800c62eeba (bug 1172641)
2015-06-11 16:35:09 +02:00
Benjamin Bouvier
5eafba4557
Bug 1172895: Raise the stack size limit for JS helper threads; r=bhackett
2015-06-09 23:09:37 +02:00
Nicolas B. Pierron
b273f076c9
Bug 1166711 part 2.7 - ScalarReplacement: Replace M{Store,Load}UnboxedString by an offset on the MObjectState. r=bhackett
2015-06-11 14:30:34 +02:00
Nicolas B. Pierron
7c83b7cce9
Bug 1166711 part 2.6 - ScalarReplacement: Replace M{Store,Load}UnboxedObjectOrNull by an offset on the MObjectState. r=bhackett
2015-06-11 14:30:34 +02:00
Nicolas B. Pierron
89743d66b8
Bug 1166711 part 2.5 - ScalarReplacement: Replace M{Store,Load}UnboxedScalar by an offset on the MObjectState. r=bhackett
2015-06-11 14:30:33 +02:00
Nicolas B. Pierron
23ff8e52c8
Bug 1166711 part 2.4 - MObjectState: Add support for encoding unboxed objects. r=bhackett
2015-06-11 14:30:33 +02:00
Nicolas B. Pierron
b0668b3ba6
Bug 1166711 part 2.3 - M{Load,Store}UnboxedScalar: Rename indexType to storageType. r=bbouvier
2015-06-11 14:30:32 +02:00
Nicolas B. Pierron
da6a07679d
Bug 1166711 part 2.2 - IonBuilder::loadUnboxedProperty: Rename scaledOffset to index. r=bhackett
2015-06-11 14:30:32 +02:00
Nicolas B. Pierron
5406e6f1a7
Bug 1166711 part 2.1 - Check Scalar Replacement with both unboxed object and without. r=bhackett
2015-06-11 14:30:31 +02:00
Nicolas B. Pierron
7c5807dbb7
Bug 1166711 part 1.1 - Recover CreateThisWithTemplate with unboxed objects. r=bhackett
2015-06-11 14:30:31 +02:00
Nicolas B. Pierron
ac5002a5a3
Bug 1166711 part 0.5 - Add a big comment to explain Recover instructions. r=bhackett
2015-06-11 14:30:31 +02:00
Nicolas B. Pierron
0c66e12baa
Bug 1166711 part 0.3 - Scalar Replacement split functions and improve the spew. r=bhackett
2015-06-11 14:30:30 +02:00
Nicolas B. Pierron
c7494e85de
Bug 1166711 part 0.2 - JitSpew add scope-base indentation level. r=bhackett
2015-06-11 14:30:30 +02:00