Commit Graph

40535 Commits

Author SHA1 Message Date
Benoit Girard
fb4fa8ec7c Bug 1172186 - Make the profiler build standalone. r=mstange 2015-06-18 01:05:42 -04:00
Benoit Girard
198176edf9 Bug 858927 - Move the mozilla::TimeStamp into mozglue. r=glandium 2015-06-05 16:03:11 -04:00
Nicholas Nethercote
7d2167b5ec 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
a1e04654bc 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
dd2d2c51ba 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
6a35f08203 Bug 1174850 - Remove the explicitly relocatable store buffers; r=jonco 2015-06-16 16:03:11 -07:00
Terrence Cole
1f074b2b95 Bug 1174319 - Remove the intermediate store buffer buffer; r=jonco 2015-06-16 16:03:02 -07:00
Ryan VanderMeulen
725ca1c6fb Merge inbound to m-c. a=merge
CLOSED TREE
2015-06-18 16:03:38 -04:00
Terrence Cole
1c1e3bf43a 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
5cfe4eaf4b 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
c41b25119c 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
b9e0c72bd0 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
0ad06cbf0f 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
8c615fef69 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
b8a0bf4eb3 merge mozilla-inbound to mozilla-central a=merge 2015-06-18 15:13:19 +02:00
Tom Tromey
a46bd5f117 Bug 1159506 - Make GC events use TimeStamp. r=terrence 2015-06-17 15:14:00 -04:00
Tom Tromey
3a7023a303 Bug 1159507 - make allocation times consistent with timeline; r=fitzgen,mccr8 2015-06-17 13:01:27 -07:00
Ryan VanderMeulen
4d4652b6fe Merge m-c to fx-team. a=merge 2015-06-17 15:05:37 -04:00
Daniel Holbert
9144de4741 Bug 1165486 followup: Annotate toObjectBox() impls as 'override'. rs=ehsan 2015-06-15 23:21:51 -07:00
Shu-yu Guo
d302aba021 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
bc5aa8e315 Bug 1171177 - Remove VAROBJFIX. (r=luke) 2015-06-17 21:26:58 -07:00
Shu-yu Guo
7d6af53a6e Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust) 2015-06-17 21:26:58 -07:00
Shu-yu Guo
fc77c416ce 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
95b4d04c31 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
2430a0eda6 Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo
8659aa0d30 Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo
f178f5f002 Bug 1165486 - Rebase yield offsets when cloning scripts. (r=jandem) 2015-06-17 21:26:57 -07:00
Shu-yu Guo
906c046a08 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
19d647d4fb 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
c1c2a95c64 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
ecb7599bfc Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo
68d9ba06ee Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke) 2015-06-17 21:26:57 -07:00
Shu-yu Guo
87210e49e3 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
74d4ec3a2d 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
40212e3fb3 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
a93b20df5e 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
f64cd45559 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
1032351e6d Bug 1169736 - Temporarily disallow eval and arrow functions inside derived class constructors. (r=jorendorff) 2015-06-17 14:38:23 -07:00
Eric Faust
a892b450a6 Bug 1169731 - [[Call]] on a class constructor should throw. (r=jandem) 2015-06-17 14:37:49 -07:00
Eric Faust
96518a9519 Bug 1173525 - Add JS::Construct overload for specifying new.target. (r=Waldo) 2015-06-17 14:37:48 -07:00
Eric Faust
56a7b34d5f Bug 1172483 - Remove erroneous assert. (r=Waldo) 2015-06-17 14:37:45 -07:00
Nick Fitzgerald
35d4f68a2b Bug 1157456 - Re-wrap results in SavedFrame accessors; r=jorendorff 2015-06-17 13:18:16 -07:00
Nick Fitzgerald
6df5f8d965 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
d71c3a3e42 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
f73183046a Bug 1174262 - Make jstest dispatch via a generator on Windows; r=sfink 2015-06-11 18:37:21 -07:00
Terrence Cole
5b5b26366f Bug 1174009 - Remove a couple of unused AutoRooter types; r=sfink 2015-06-10 10:16:53 -07:00
Nicolas B. Pierron
77c87e3b72 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
68e271a90a Bug 1035973 - Add DebuggerObject.getOwnPropertySymbols; r=fitzgen 2015-06-16 09:30:00 +02:00
David Rajchenbach-Teller
60d5715064 Bug 1157870 - Performance Groups should have a unique ID (low-level). r=jandem 2015-05-18 16:40:22 +02:00
Bobby Holley
31f0e20789 Bug 1174971 - Introduce two variants of getOwnPropertyFromTargetIfSafe. r=gabor,r=arai 2015-06-16 09:00:41 -07:00