Shu-yu Guo
5eef55b69a
Bug 1171177 - Remove VAROBJFIX. (r=luke)
2015-06-21 11:49:58 -07:00
Shu-yu Guo
9dbf9f0b72
Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust)
2015-06-21 11:49:58 -07:00
Shu-yu Guo
8eb62a9c62
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-21 11:49:58 -07:00
Shu-yu Guo
a415429fcd
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-21 11:49:57 -07:00
Shu-yu Guo
6a0392b0d4
Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke)
2015-06-21 11:49:57 -07:00
Shu-yu Guo
fd1684ef23
Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke)
2015-06-21 11:49:57 -07:00
Shu-yu Guo
529d903a93
Bug 1165486 - Rebase yield offsets when cloning scripts. (r=jandem)
2015-06-21 11:49:57 -07:00
Shu-yu Guo
eefda67985
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-21 11:49:57 -07:00
Shu-yu Guo
1aa1600b4e
Bug 1165486 - Remove PollutedGlobalScopeOption in favor of using the static scope chain to detect non-syntactic scopes. (r=luke)
2015-06-21 11:49:57 -07:00
Shu-yu Guo
dcc1180f04
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-21 11:49:57 -07:00
Shu-yu Guo
f651091c2a
Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke)
2015-06-21 11:49:57 -07:00
Shu-yu Guo
32ceb9d336
Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke)
2015-06-21 11:49:57 -07:00
Shu-yu Guo
c137a94660
Bug 1165486 - Cleanup: use standard object allocation functions when allocating scope objects. (r=terrence)
2015-06-21 11:49:56 -07:00
Shu-yu Guo
b5d8533f3c
Bug 1165486 - Cleanup: rename staticEvalScope to topStaticScope to prepare for the static top-level lexical scope. (r=luke)
2015-06-21 11:49:56 -07:00
Terrence Cole
8e8fb5c0c3
Bug 1176090 - Change all RelocatablePtr to HeapPtr and remove the |using|; r=jonco
2015-06-20 10:55:26 -07:00
Terrence Cole
708256b2b2
Bug 1174873 - Remove HeapPtr and rename RelocatablePtr to HeapPtr; r=jonco
2015-06-20 10:54:32 -07:00
Jan de Mooij
5432081362
Backout 67296c6ede81 (bug 1175466) on a CLOSED TREE.
2015-06-20 22:38:18 -07:00
Jan de Mooij
72145e5e1f
Bug 1175466 - Allocate arguments objects in the nursery. r=terrence
2015-06-20 21:30:12 -07:00
Terrence Cole
3df2f8a546
Bug 1175642 - Fix the interface that RelocatablePtr uses to interact with the StoreBuffer; r=jonco
2015-06-18 10:23:49 -07:00
Terrence Cole
cf5ee62618
Bug 1052728 - Add telemetry to record GC phases that cause jank; r=sfink
2015-06-04 13:17:35 -07:00
Terrence Cole
1af26fda1a
Bug 1176064 - Do processing of the jstest's skiplist inline; r=sfink
2015-06-20 10:14:22 -07:00
Terrence Cole
ab69b679b1
Bug 1176028 - Use the jstest's task generator directly; r=sfink
2015-06-18 11:42:21 -07:00
Terrence Cole
e819cb4842
Bug 1176004 - Make jstest's unix task runner a generator; r=sfink
2015-06-17 13:57:02 -07:00
Terrence Cole
692860a287
Bug 1175636 - Do not spawn a watchdog for each test on Windows; r=sfink
2015-06-17 11:54:35 -07:00
Brian Hackett
1cf9a53df0
Bug 1175761 - Avoid using types in the nursery during optimization tracking, r=shu.
2015-06-20 09:13:23 -07:00
Ms2ger
d287437ca1
Bug 1175513 - Improve code style in nsXPCWrappedJSClass::CleanupOutparams; r=bholley
2015-06-20 09:16:51 +02:00
Ms2ger
9343b89dde
Bug 1175513 - Factor out nsXPCWrappedJSClass::CleanupOutparams; r=bholley
2015-06-20 09:16:51 +02:00
Ms2ger
a396dd5a7a
Bug 1175513 - Make some private nsXPCWrappedJSClass const or static; r=bholley
2015-06-20 09:16:51 +02:00
Bill McCloskey
9de6fdd63f
Bug 1143006 - Show warning for http-on-* in child process (r=mrbkap)
2015-06-19 17:35:06 -07:00
Jeff Walden
d6cc8a3b56
Bug 1146136 - Parenthesized "destructuring patterns" shouldn't actually be destructuring patterns. r=efaust, a=KWierso
2015-06-16 23:53:04 -07:00
Ryan VanderMeulen
634b137092
Backed out 13 changesets (bug 1165486) for ASAN jsreftest crashes.
...
Backed out changeset 24966b67d232 (bug 1165486)
Backed out changeset 4a65eeea4d9a (bug 1165486)
Backed out changeset c5301aa7a2ae (bug 1165486)
Backed out changeset fea908d8a836 (bug 1165486)
Backed out changeset ca9561cbcd29 (bug 1165486)
Backed out changeset 91a3217d4cd0 (bug 1165486)
Backed out changeset e74163801eef (bug 1165486)
Backed out changeset ec5df87d2ee5 (bug 1165486)
Backed out changeset 17d21020a786 (bug 1165486)
Backed out changeset 6318eba2d3fe (bug 1165486)
Backed out changeset a103caa36183 (bug 1165486)
Backed out changeset 18c025c16bed (bug 1165486)
Backed out changeset b32fcdc115b6 (bug 1165486)
CLOSED TREE
2015-06-19 10:56:48 -04:00
Ryan VanderMeulen
e7cec7ce80
Backed out changesets b41a69e1b81c and 04f4fec38c9d (bug 1171177) for ASAN jsreftest crashes.
2015-06-19 10:56:01 -04:00
Ryan VanderMeulen
ac4a618eb5
Backed out changesets 0aa70076583f and 13a9a4428a68 (bug 1173764) for bustage.
2015-06-19 10:52:30 -04:00
Nicolas B. Pierron
7d29cabdbd
Bug 1173764 - Disable JitSpew argument computation in optimizied builds. r=bhackett
2015-06-19 15:17:25 +02:00
Nicolas B. Pierron
801fa6e99f
Bug 1173764 - Enable LAllocation/LUse serialization in optimized builds. r=bhackett
2015-06-19 15:17:24 +02:00
Shu-yu Guo
7bae1e6428
Bug 1171177 - Remove UNQUALIFIED_VAROBJ Shape flags in favor of Class-checking. (r=luke)
2015-06-19 01:21:14 -07:00
Shu-yu Guo
77c2695ddd
Bug 1171177 - Remove VAROBJFIX. (r=luke)
2015-06-19 01:21:14 -07:00
Shu-yu Guo
acfc8b1af8
Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust)
2015-06-19 01:21:14 -07:00
Shu-yu Guo
1f804a6fc6
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-19 01:21:14 -07:00
Shu-yu Guo
c4e22bc81b
Bug 1165486 - Use JS::CompileForNonSyntacticScope in Gecko where we used to set polluted global scope. (r=bz, rs=bholley)
2015-06-19 01:21:13 -07:00
Shu-yu Guo
671373fdea
Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke)
2015-06-19 01:21:13 -07:00
Shu-yu Guo
0aecf719dc
Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke)
2015-06-19 01:21:13 -07:00
Shu-yu Guo
438a929dfa
Bug 1165486 - Rebase yield offsets when cloning scripts. (r=jandem)
2015-06-19 01:21:13 -07:00
Shu-yu Guo
535833aa01
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-19 01:21:13 -07:00
Shu-yu Guo
7b61440a23
Bug 1165486 - Remove PollutedGlobalScopeOption in favor of using the static scope chain to detect non-syntactic scopes. (r=luke)
2015-06-19 01:21:13 -07:00
Shu-yu Guo
147d8b1350
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-19 01:21:13 -07:00
Shu-yu Guo
993d41323c
Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke)
2015-06-19 01:21:13 -07:00
Shu-yu Guo
59a5782891
Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke)
2015-06-19 01:21:13 -07:00
Shu-yu Guo
afea714c00
Bug 1165486 - Cleanup: use standard object allocation functions when allocating scope objects. (r=terrence)
2015-06-19 01:21:13 -07:00
Shu-yu Guo
18b1ae39fe
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