Commit Graph

49807 Commits

Author SHA1 Message Date
Shu-yu Guo
b712851893 Bug 1171177 - Remove VAROBJFIX. (r=luke) 2015-06-15 21:32:31 -07:00
Shu-yu Guo
ce36264858 Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust) 2015-06-15 21:32:30 -07:00
Shu-yu Guo
ea6cf2a6c7 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
d9f89e438e 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
0154dc3d97 Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke) 2015-06-15 21:32:30 -07:00
Shu-yu Guo
a7f0119a17 Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke) 2015-06-15 21:32:30 -07:00
Shu-yu Guo
ba7251c199 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
2dc0e8c310 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
ba0feeff0d 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
05d025893d Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke) 2015-06-15 21:32:30 -07:00
Shu-yu Guo
1c10684b7e Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke) 2015-06-15 21:32:30 -07:00
Shu-yu Guo
c991c4ca30 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
dfc69fed51 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
c366b2c3f3 Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts.
CLOSED TREE

--HG--
rename : dom/messagechannel/MessageChannel.cpp => dom/base/MessageChannel.cpp
rename : dom/messagechannel/MessageChannel.h => dom/base/MessageChannel.h
rename : dom/messagechannel/MessagePort.cpp => dom/base/MessagePort.cpp
rename : dom/messagechannel/MessagePort.h => dom/base/MessagePort.h
rename : dom/messagechannel/MessagePortList.cpp => dom/base/MessagePortList.cpp
rename : dom/messagechannel/MessagePortList.h => dom/base/MessagePortList.h
rename : dom/messagechannel/tests/iframe_messageChannel_chrome.html => dom/base/test/iframe_messageChannel_chrome.html
rename : dom/messagechannel/tests/iframe_messageChannel_cloning.html => dom/base/test/iframe_messageChannel_cloning.html
rename : dom/messagechannel/tests/iframe_messageChannel_pingpong.html => dom/base/test/iframe_messageChannel_pingpong.html
rename : dom/messagechannel/tests/iframe_messageChannel_post.html => dom/base/test/iframe_messageChannel_post.html
rename : dom/messagechannel/tests/test_messageChannel.html => dom/base/test/test_messageChannel.html
rename : dom/messagechannel/tests/test_messageChannel.xul => dom/base/test/test_messageChannel.xul
rename : dom/messagechannel/tests/test_messageChannel_cloning.html => dom/base/test/test_messageChannel_cloning.html
rename : dom/messagechannel/tests/test_messageChannel_pingpong.html => dom/base/test/test_messageChannel_pingpong.html
rename : dom/messagechannel/tests/test_messageChannel_post.html => dom/base/test/test_messageChannel_post.html
rename : dom/messagechannel/tests/test_messageChannel_pref.html => dom/base/test/test_messageChannel_pref.html
rename : dom/messagechannel/tests/test_messageChannel_start.html => dom/base/test/test_messageChannel_start.html
rename : dom/messagechannel/tests/test_messageChannel_transferable.html => dom/base/test/test_messageChannel_transferable.html
rename : dom/messagechannel/tests/test_messageChannel_unshipped.html => dom/base/test/test_messageChannel_unshipped.html
2015-06-15 13:06:23 -04:00
Terrence Cole
7afa7dfb04 Bug 1173889 - Strongly type the CallbackTracer dispatch function; r=jonco, r=mccr8
--HG--
extra : rebase_source : 413319f0701f8e92b8fc1c79a51f4a09c2c5cd39
2015-06-11 10:03:33 -07:00
Terrence Cole
037cbe6747 Bug 1173864 - Make MarkStack private in GCMarker; r=jonco
--HG--
extra : rebase_source : 00fafca6dc9ac4890d31a686658cc6a62bfbe3d8
2015-06-03 09:00:50 -07:00
Jan de Mooij
38c03284be Bug 977805 followup - Fix some issues with IonCache::reset reprotection. r=luke 2015-06-15 17:28:10 +02:00
Jan de Mooij
6eec66f116 Bug 1174542 - Remove unnecessary AutoWritabeJitCode from initTraceLogger. r=luke 2015-06-15 17:27:13 +02:00
Jan de Mooij
cd1ab886fd Bug 1174372 - Initialize ExecutableAllocator static fields in JS_Init. r=luke 2015-06-15 17:26:41 +02:00
Carsten "Tomcat" Book
415a18b516 Backed out changeset 2cba58b2e1b4 (bug 1100498) for m-oth js crashes
--HG--
extra : rebase_source : 1f90cff0e3a790d034cd73a1641fbc9c89998a58
2015-06-15 17:04:24 +02:00
Jukka Jylanki
849a58bf98 Bug 1168471 - Implement support for SharedArrayBuffers and SharedArrayViews in WebIDL. r=bz, r=lth, r=luke
--HG--
extra : rebase_source : 0eb1a42791c03a43113f6a81b066c0c932deb7c8
2015-06-13 14:02:46 +03:00
Andrea Marchesini
9b1ac68ebb Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
--HG--
rename : dom/base/MessageChannel.cpp => dom/messagechannel/MessageChannel.cpp
rename : dom/base/MessageChannel.h => dom/messagechannel/MessageChannel.h
rename : dom/base/MessagePort.cpp => dom/messagechannel/MessagePort.cpp
rename : dom/base/MessagePort.h => dom/messagechannel/MessagePort.h
rename : dom/base/MessagePortList.cpp => dom/messagechannel/MessagePortList.cpp
rename : dom/base/MessagePortList.h => dom/messagechannel/MessagePortList.h
rename : dom/base/test/iframe_messageChannel_chrome.html => dom/messagechannel/tests/iframe_messageChannel_chrome.html
rename : dom/base/test/iframe_messageChannel_cloning.html => dom/messagechannel/tests/iframe_messageChannel_cloning.html
rename : dom/base/test/iframe_messageChannel_pingpong.html => dom/messagechannel/tests/iframe_messageChannel_pingpong.html
rename : dom/base/test/iframe_messageChannel_post.html => dom/messagechannel/tests/iframe_messageChannel_post.html
rename : dom/base/test/test_messageChannel.html => dom/messagechannel/tests/test_messageChannel.html
rename : dom/base/test/test_messageChannel.xul => dom/messagechannel/tests/test_messageChannel.xul
rename : dom/base/test/test_messageChannel_cloning.html => dom/messagechannel/tests/test_messageChannel_cloning.html
rename : dom/base/test/test_messageChannel_pingpong.html => dom/messagechannel/tests/test_messageChannel_pingpong.html
rename : dom/base/test/test_messageChannel_post.html => dom/messagechannel/tests/test_messageChannel_post.html
rename : dom/base/test/test_messageChannel_pref.html => dom/messagechannel/tests/test_messageChannel_pref.html
rename : dom/base/test/test_messageChannel_start.html => dom/messagechannel/tests/test_messageChannel_start.html
rename : dom/base/test/test_messageChannel_transferable.html => dom/messagechannel/tests/test_messageChannel_transferable.html
rename : dom/base/test/test_messageChannel_unshipped.html => dom/messagechannel/tests/test_messageChannel_unshipped.html
2015-06-15 14:08:25 +01:00
Gabor Krizsanits
3a8036a7a7 Bug 1100498 - Report function names for addon exceptions. r=billm 2015-06-15 14:59:49 +02:00
Ted Mielczarek
6179c7e55b bug 977805 - add missing #include. r=jandem
--HG--
extra : commitid : 7O5wByzxfit
extra : rebase_source : 9f296d9adfe15f7631f601c5b65581b8306267d8
extra : source : 9fa312e065e1e9da9b5cb3514c3b40dcc7f65539
2015-06-12 15:51:47 -04:00
Nicolas B. Pierron
80880ed682 Bug 1172076 - Switch compartment before computing recover instruction results. r=jandem 2015-06-15 11:48:15 +02:00
Brian Hackett
b9f1c2051a Bug 1162986 - Allow objects to be turned into singletons dynamically, r=jandem. 2015-06-14 08:02:44 -07:00
Phil Ringnalda
d73cdd33ea Back out fd36716d1f9d (bug 1162986) for mostly-Win8-debug devtools crashes
CLOSED TREE
2015-06-13 14:41:15 -07:00
Phil Ringnalda
86b70fa229 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
f40bc629cb bug 977805 - pacify JS style checker. r=bustage
--HG--
extra : commitid : FSfDiw1Uya2
2015-06-13 15:29:16 -04:00
Ted Mielczarek
067a053990 bug 977805 - add missing #include. r=jandem
--HG--
extra : commitid : 6EirTnSCubT
extra : rebase_source : da6372f26ba7d759a059653c41402c0753ee6e29
2015-06-12 15:51:47 -04:00
Wes Kocher
9dceeed482 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
76d8ba0697 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
5b2bba8e45 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
c4030d6d6c Bug 1171177 - Remove VAROBJFIX. (r=luke) 2015-06-15 17:38:01 -07:00
Shu-yu Guo
a6548d90c4 Bug 1165486 - Debug function to dump static scope chain of scripts. (r=efaust) 2015-06-15 17:38:01 -07:00
Shu-yu Guo
cd3f1ec464 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
cc2e99dbc5 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
701d6c99b1 Bug 1165486 - Split JS::Compile into JS::Compile and JS::CompileForNonSyntacticScope. (r=luke) 2015-06-15 17:38:01 -07:00
Shu-yu Guo
42b5246b7a Bug 1165486 - Replace the PlainObj varobj with NonSyntacticVariablesObject. (r=luke) 2015-06-15 17:38:01 -07:00
Shu-yu Guo
1b71c450ef 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
82371c50a5 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
25b39263b2 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
38b0113958 Bug 1165486 - Add StaticNonSyntacticScopeObjects and teach scope iterators about it. (r=luke) 2015-06-15 17:38:01 -07:00
Shu-yu Guo
dd61e262eb Bug 1165486 - Rename hasPollutedGlobalScope to hasNonSyntacticScope. (r=luke) 2015-06-15 17:38:01 -07:00
Shu-yu Guo
ffbffb8ab2 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
017a37d1ed 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
9b2e60be6b 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
40b8fd3ec6 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
59ddd53a2e 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
fce9fdde80 Bug 1171013 - Extend defineLazyModuleGetter to support user-defined proxy objects. r=mfinkle 2015-06-15 19:16:00 +02:00
Nicolas B. Pierron
8c00228862 Bug 1174322 - RObjectState::recover: Work-around the lack of MStoreUnboxedBoolean. r=bhackett 2015-06-17 14:03:04 +02:00
Andrea Marchesini
8372e7d29d Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
--HG--
rename : dom/base/MessageChannel.cpp => dom/messagechannel/MessageChannel.cpp
rename : dom/base/MessageChannel.h => dom/messagechannel/MessageChannel.h
rename : dom/base/MessagePort.cpp => dom/messagechannel/MessagePort.cpp
rename : dom/base/MessagePort.h => dom/messagechannel/MessagePort.h
rename : dom/base/MessagePortList.cpp => dom/messagechannel/MessagePortList.cpp
rename : dom/base/MessagePortList.h => dom/messagechannel/MessagePortList.h
rename : dom/base/test/iframe_messageChannel_chrome.html => dom/messagechannel/tests/iframe_messageChannel_chrome.html
rename : dom/base/test/iframe_messageChannel_cloning.html => dom/messagechannel/tests/iframe_messageChannel_cloning.html
rename : dom/base/test/iframe_messageChannel_pingpong.html => dom/messagechannel/tests/iframe_messageChannel_pingpong.html
rename : dom/base/test/iframe_messageChannel_post.html => dom/messagechannel/tests/iframe_messageChannel_post.html
rename : dom/base/test/test_messageChannel.html => dom/messagechannel/tests/test_messageChannel.html
rename : dom/base/test/test_messageChannel.xul => dom/messagechannel/tests/test_messageChannel.xul
rename : dom/base/test/test_messageChannel_cloning.html => dom/messagechannel/tests/test_messageChannel_cloning.html
rename : dom/base/test/test_messageChannel_pingpong.html => dom/messagechannel/tests/test_messageChannel_pingpong.html
rename : dom/base/test/test_messageChannel_post.html => dom/messagechannel/tests/test_messageChannel_post.html
rename : dom/base/test/test_messageChannel_pref.html => dom/messagechannel/tests/test_messageChannel_pref.html
rename : dom/base/test/test_messageChannel_start.html => dom/messagechannel/tests/test_messageChannel_start.html
rename : dom/base/test/test_messageChannel_transferable.html => dom/messagechannel/tests/test_messageChannel_transferable.html
rename : dom/base/test/test_messageChannel_unshipped.html => dom/messagechannel/tests/test_messageChannel_unshipped.html
2015-06-17 11:44:27 +01:00
Nicolas B. Pierron
d9856e1023 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
5585146514 Backed out changeset c1534aaff6c6 (bug 1125624) for SpiderMonkey Compacting GC Shell Build test failures
--HG--
extra : rebase_source : 8acc60b21e8a01b5de119e156eadedf157d07d9a
2015-06-17 11:05:39 +02:00
Carsten "Tomcat" Book
fe91296868 Backed out changeset 94f14d6b26d5 (bug 1125624)
--HG--
extra : rebase_source : 4165a923b0b1152155981120dba33326bfa2ec15
2015-06-17 11:02:59 +02:00
Carsten "Tomcat" Book
2d907f3406 Backed out changeset 822901f56c1f (bug 1170216)
--HG--
extra : rebase_source : fcde858b7a057af0a53b9e4e00bea770a38bc3a1
2015-06-17 11:02:52 +02:00
Carsten "Tomcat" Book
247c97380b Backed out changeset 9345403c7628 (bug 1171036)
--HG--
extra : rebase_source : 60f044bf4daf139f536196cbba6986e795eb902d
2015-06-17 11:02:46 +02:00
Jeff Walden
8ebc2cc372 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
f0f3c8921b Bug 1171036 - Change GetLengthProperty slow path to use ToLengthClamped instead of ToUint32. r=Waldo.
--HG--
extra : rebase_source : d4e4d46cc39831328b1e62773c0e5ae1e34a5b9a
2015-06-03 10:01:45 -05:00
Jason Orendorff
a42a6ea95d Bug 1170216 - When using the slow-and-standard path in js::SetIntegrityLevel, don't manually call setNonwritableArrayLength afterwards. r=Waldo.
--HG--
extra : rebase_source : 94c5b8e4225cb682bebcefe2b94869f6bd326eaa
2015-06-01 12:01:02 -05:00
Jason Orendorff
0691fb22c8 Bug 1125624, part 3 - Remove js::StandardDefineProperty and js::DefineOwnProperty. r=Waldo.
--HG--
extra : rebase_source : 0a882c98558c85f4c2368f94036ee38c17d396ce
2015-05-29 16:48:26 -05:00
Jason Orendorff
0d44d9af8a Bug 1125624, part 2 - Change js::StandardDefineProperty to forward to js::DefineProperty. r=Waldo.
--HG--
extra : rebase_source : 5e74b4e991aed705d87675f6cf539acb4bdf25fc
2015-05-29 17:31:43 -05:00
Brian Hackett
136d4aae24 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
4549e447ab Bug 1173992 - Add ARM64 build support. r=glandium 2015-06-11 15:03:20 -07:00
Lars T Hansen
8ebee24be7 Bug 1172517 - track sharedness in global. r=luke 2015-06-16 15:19:25 +02:00
Lars T Hansen
00e3df0854 Bug 1171540 - Properly gate atomics and SAB for asm.js. r=luke 2015-06-16 15:19:05 +02:00
Ted Mielczarek
f6af9a3909 bug 1163828 - build system changes to support building for iOS. r=glandium
--HG--
extra : commitid : EAxgCmmuwAx
extra : rebase_source : 854a55e62573e59e042a326d62450fa3fbf2db18
2015-06-10 11:10:40 -04:00
Brian Hackett
4cee2c0ad4 Bug 1162986 - Allow objects to be turned into singletons dynamically, r=jandem. 2015-06-13 08:10:55 -07:00
Brian Hackett
bd8b38ac1f Bug 1172943 - Use unboxed arrays for JSON and script literal arrays, r=jandem. 2015-06-13 07:54:06 -07:00
Boris Zbarsky
fbc00f1ba8 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
58c1f94add 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
64babb721b 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
a24fffe156 Bug 1173908 - Fix an MSVC warning about negating an unsigned integer; r=nbp
--HG--
extra : rebase_source : 37e9f775cebad5269c7328c6bc29148b31a0d10b
2015-06-04 12:43:10 -07:00
Nicolas B. Pierron
2526ee7bc0 Bug 1170750 - jsprf.cpp: Sort headers properly. r=me
CLOSED TREE
2015-06-12 17:14:59 +02:00
Hannes Verschore
99e19e9eed Bug 1173529: IonMonkey - Also iterate phis when removing guards, r=nbp 2015-06-12 16:58:46 +02:00
Nicolas B. Pierron
49de4b0495 Bug 1170750 - Use mfbt snprintf_literal instead of sprintf. r=jandem 2015-06-12 16:53:34 +02:00
Sean Stangl
37842fb3bf Bug 1166037 - Part 2 - Modify common Baseline code for ARM64. r=djvj 2015-06-11 14:45:41 -07:00
Sean Stangl
32b98fbd79 Bug 1173642 - Import unimplemented ARM64 Ion components. r=efaust 2015-06-10 20:08:45 -07:00
Tooru Fujisawa
8eb49e6e81 Bug 1172470 - Remove unused unboxed case from GenerateDenseElementHole. r=jandem 2015-06-12 18:38:08 +09:00
Jon Coppeard
d997f27268 Bug 1166041 - Add some assertions to help catch leaked slots memory r=terrence
--HG--
extra : rebase_source : a0324e603a1b30673c6d3b28313f807ec7f7f401
2015-06-12 10:11:07 +01:00
Jan de Mooij
db6e034904 Bug 977805 - Add an option to mark JIT pages as non-writable. r=luke
--HG--
extra : rebase_source : 19259db74937812d1f17a3d9c434314050968c75
2015-06-12 10:20:59 +02:00
Jan de Mooij
1507ecd934 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
ec65861ffa Bug 1168864 followup - Remove unnecessary addProperty check from CheckHasNoSuchProperty. r=bhackett 2015-06-12 09:40:12 +02:00
Boris Zbarsky
de337fb2ce 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
cd40f38304 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
d91cf6d108 Bug 1167895 - Escape JS engine SPS profile strings to UTF8 properly. (r=djvj) 2015-06-11 18:30:39 -07:00
Wes Kocher
c07c3dd3d8 Merge fx-team to central, a=merge 2015-06-11 17:18:11 -07:00
Brian Hackett
5bb65f936a 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
d000c8c063 Bug 1156264 - Activate/deactivate jank and CPOW monitoring separately (low-level). r=jandem
--HG--
extra : transplant_source : %06%B4%CE%80%E1%D7r%ED%F6%02J%24%E1JV%FE%A4L%BF%96
2015-06-04 13:12:07 +02:00
Wes Kocher
4eedce1509 Merge inbound to central, a=merge 2015-06-10 18:29:39 -07:00
Ryan VanderMeulen
2fffd0165c Bug 1170372 - Skip js1_5/Regress/regress-312588.js on SM(cgc) builds due to timeouts.
--HG--
extra : rebase_source : 31272a3f8fc2adf7bc96504f97e3c744af6f2e8a
2015-06-10 15:17:26 -04:00
Brian Hackett
a6cbfd3be7 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
d225788d50 Bug 1173042 - Remove unused GCChunkSet and chunk hashing functions; r=ehoogeveen 2015-06-10 09:34:57 -07:00
Terrence Cole
5fa8570a2b 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
0a6abc496a Bug 1171430 - Don't shift the poison value by non-byte values; r=jonco 2015-06-10 08:58:36 -07:00
Jon Coppeard
8f085854d3 Bug 1171430 - Do not poison the nursery's chunk kind marker; r=terrence 2015-06-10 04:11:00 -07:00
Thomas Escalon
9eb9a9d012 Bug 1132189 - Rename "Analysis Helper" thread. r=bhackett 2015-06-09 09:02:11 +02:00
Benjamin Bouvier
8a51f4f00c Bug 1172824: Initialize a few members in CompartmentCheckTracer (CID 1304705); r=terrence
--HG--
extra : rebase_source : a76d3d27ed8fa8b818c1c585eb45ec426435d617
extra : histedit_source : 7b124b6c002e17b007d27a3cd21dc81241fed7dc
2015-06-09 10:27:51 +02:00
Benjamin Bouvier
35a57b8dab Bug 1172824: Initialize a few more members in VerifyPreTracer (CID 1304706); r=terrence
--HG--
extra : rebase_source : 7833120d10428447d897815638c54752245f3286
extra : histedit_source : e0b0ca92b399b5f483c8ae5375f75cfefeae7051
2015-06-09 10:20:54 +02:00
Benjamin Bouvier
e56566a403 Bug 1172824: Close dumpFile in case of error in DumpHeap (CID 1302587); r=jonco
--HG--
extra : rebase_source : 698eaddba51469d3d1ce4ca94a7cc6f1d0b6c2d8
extra : histedit_source : 771c174d40c901ec9dd256cf61807974231ab0c1
2015-06-09 10:15:52 +02:00
Hannes Verschore
d1e564952f Bug 1139376: Ionmonkey - Make removing of guards aware of phis, r=nbp 2015-06-02 12:25:45 +02:00
Lars T Hansen
917fe2297e Bug 1172638 - guard a test case. r=bbouvier 2015-06-09 13:15:34 +02:00
Mike Hommey
7cbdd8c8fd 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
d2f37fb969 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
d1c7dfa95b Bug 1170758 - Make non-debug GraphSpewer constructor explicit. r=nbp 2015-06-02 15:10:16 -07:00
Steve Fink
2114f90ea7 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).

--HG--
extra : rebase_source : d2a3068933aefd9d16d944361738a9f68685984c
2015-06-09 14:53:40 -07:00
Steve Fink
e39fdb1b06 No bug. Add a --function argument for analyzing a single function by name.
--HG--
extra : rebase_source : 5fa23c8bdfe574cd868added7ba067df8a0b4989
2015-06-09 14:53:17 -07:00
Steve Fink
07c93b66f7 Bug 1166101 - redirect aka os.file.redirect should not be available in fuzzing mode
--HG--
extra : rebase_source : a12c59e3816f53c17fe9eb7cb8e607a8ae300696
2015-06-08 12:32:17 -07:00
Paolo Amadini
0697364b3d Bug 1158133 - Add a way to disable async stacks, and disable by default on mobile platforms. r=bent,jimb
--HG--
extra : rebase_source : 440284ded7a60d44430cd0a91fd946fa4c76c987
2015-06-09 11:17:09 +02:00
Jason Orendorff
7ecb2e38eb 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.

--HG--
extra : rebase_source : f47058323cc0730531912279b150077b1dbcd5b4
extra : amend_source : 9c821a976c0cb4dcc8bc2cf43f43de7c41d6e848
2015-05-12 10:24:30 -05:00
Brian Hackett
069b636e17 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
cb7ff4726f 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
ae4c6bfb86 Backed out changeset 136d0f3fe47c (bug 1172193) for causing bc3 leaks in browser_notifications.js on a CLOSED TREE
--HG--
extra : rebase_source : 673a24cc1053330c43adce8a845b8a6f15d7bf0f
2015-06-11 16:35:44 +02:00
Carsten "Tomcat" Book
704da72051 Backed out changeset bf800c62eeba (bug 1172641)
--HG--
extra : rebase_source : c34f5a4a4747e61e47f8367e8c66fc2ef57c2fff
2015-06-11 16:35:09 +02:00
Benjamin Bouvier
6b249ed153 Bug 1172895: Raise the stack size limit for JS helper threads; r=bhackett
--HG--
extra : rebase_source : 68e54a51d1d2dd2571456648d982e1b2bcad47dd
extra : amend_source : 9dcced8f16960884fdf02f5926688060789ad2d1
2015-06-09 23:09:37 +02:00
Nicolas B. Pierron
9b91536674 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
325ca05288 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
f58ef21c00 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
dcd3b38ebb 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
50ea72309c 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
aa65925511 Bug 1166711 part 2.2 - IonBuilder::loadUnboxedProperty: Rename scaledOffset to index. r=bhackett 2015-06-11 14:30:32 +02:00
Nicolas B. Pierron
3d508eacec 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
c87993fcf5 Bug 1166711 part 1.1 - Recover CreateThisWithTemplate with unboxed objects. r=bhackett 2015-06-11 14:30:31 +02:00
Nicolas B. Pierron
d5814bc5f0 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
a609ee608e 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
0183ae4d27 Bug 1166711 part 0.2 - JitSpew add scope-base indentation level. r=bhackett 2015-06-11 14:30:30 +02:00
Nicolas B. Pierron
9bf9aee889 Bug 1166711 part 0.1 - Use JitSpewPrinter instead of stderr. r=bhackett 2015-06-11 14:30:30 +02:00
Nicolas B. Pierron
295f4a9314 Bug 1165348 - Move Scalar Replacement after GVN. r=jandem 2015-06-11 14:30:29 +02:00
Nicolas B. Pierron
24c30e1b04 Bug 1125481 - FunctionInfo: Remove useless inline keywords. r=Waldo 2015-06-11 13:32:24 +02:00
Nicolas B. Pierron
158182d776 Bug 1125481 - Replace FunctionInfo macros by variadic templates. r=Waldo 2015-06-11 13:32:24 +02:00
Nicolas B. Pierron
b99a5d8da0 Bug 1168500 - Replace the operator, by variadic templates. r=Waldo 2015-06-11 13:32:23 +02:00
Nick Fitzgerald
1a209501ce Bug 1173513 - Point to SavedFrame.md docs from JSAPI comments; r=fitzgen
--HG--
extra : rebase_source : 24a65679c896b6bc5ed998c0dbb2089b5fdf4983
2015-06-10 15:59:00 +02:00
Nicolas B. Pierron
f22dc8b863 Bug 1170750 - Replace %f by %.16g in js/src. r=jandem 2015-06-11 13:19:32 +02:00
Jon Coppeard
6b3455d8e9 Bug 1172641 - Fix class tests to not fail on builds where classes are not enabled r=shu 2015-06-11 07:58:36 +01:00
Jon Coppeard
6d50fefdbc Bug 1172193 - Also collect zones with cross zone pointers into the scheduled set r=terrence 2015-06-11 07:58:36 +01:00
Eric Rahm
0ed80c1ddd Bug 1171722 - Part 3: Specify gcreason::XPCONNECT_SHUTDOWN during xpconnect shutdown. r=mccr8 2015-06-10 21:31:33 -07:00
Eric Rahm
ecfdabcb72 Bug 1171722 - Part 2: Add gcreason::XPCONNECT_SHUTDOWN. r=terrence 2015-06-10 21:31:32 -07:00
Eric Rahm
feb635048a Bug 1171722 - Part 1: Add gcreason to GCSliceCallback. r=fitzgen 2015-06-10 21:31:31 -07:00
Tooru Fujisawa
3675d6d7a5 Bug 1170716 - Part 3: Use getLastWarning in test for warning with JSEXN_NONE. r=jandem 2015-06-11 13:14:14 +09:00
Tooru Fujisawa
ead4f155ab Bug 1170716 - Part 2: Report unreachable code after return statement as JSEXN_NONE. r=jandem 2015-06-11 13:14:13 +09:00
Tooru Fujisawa
741a249bca Bug 1170716 - Part 1: Add js shell functions to get last warning. r=jandem 2015-06-11 13:14:13 +09:00
Sean Stangl
7841b7b822 Bug 1167244 - Handle nullptr return from maybeGetProperty(). r=bhackett 2015-06-10 19:14:27 -07:00
Sean Stangl
33c5f3e3dd Bug 1166527 - Import ARM64 Architecture and Assembler. r=nbp 2015-06-10 19:06:12 -07:00
Wes Kocher
cf559bd6b2 Merge m-c to inbound, a=merge CLOSED TREE 2015-06-10 18:38:28 -07:00
Sean Stangl
dc50e12fdd Bug 1166037 - Follow-up - Revert SimulatorType to Simulator. no_r=me 2015-06-10 15:33:21 -07:00
Sean Stangl
fb9e5c1934 Bug 1166037 - Import ARM64 Baseline changes. r=djvj 2015-06-10 15:08:35 -07:00
Terrence Cole
270a79fe21 No Bug - Remove an unneeded annotation DONTBUILD; r=sfink
--HG--
extra : rebase_source : 4faba24c563e921568729118cccd04d2103ee7ed
2015-06-10 14:50:55 -07:00
Terrence Cole
43469776bf Bug 1171612 - Use C++11 features to make Statistics module nicer; r=sfink
--HG--
extra : rebase_source : e12798c4a3af966b9db41db75a3c3acf08920721
2015-06-04 11:49:31 -07:00
Terrence Cole
e2e18c19e1 Bug 1164982 - Record telemetry for GC max pause during animations; r=sfink
--HG--
extra : rebase_source : 1a774dca8b27f9280dc41676c58307e74eb47441
2015-06-04 09:30:44 -07:00
Steve Fink
9c03689307 Bug 1172109 - Name some anonymous structs to help out the analysis, r=terrence 2015-06-08 11:59:26 -07:00
Nicolas B. Pierron
4edad5f58f Bug 923717 - Add IC fuzzing mode. r=efaust 2015-06-08 20:22:57 +02:00
Jeff Walden
cdc5496d89 Bug 1168474 - Remove assorted arity-checks that are easily done another way (or not at all). r=shu
--HG--
extra : rebase_source : ff074b1923672e3bc940fb104ac75e918c0e2856
2015-05-19 16:35:55 -07:00
Jeff Walden
8d95432ebc Bug 1167823 - Remove dead code for checking whether a parse tree node has side effects. r=shu
--HG--
extra : rebase_source : e5eda478e00a867c613b3f6812c583283a19a421
2015-05-19 15:47:28 -07:00
Jeff Walden
1d25d2ad4e Bug 1167823 - Handle more nodes by kind when checking for side effects. r=shu
--HG--
extra : rebase_source : d911d8d47cb09b5c43938f5d011cce862b1a454d
2015-05-19 15:45:55 -07:00
Jeff Walden
ddb79d4fe3 Bug 1167823 - Handle more nodes by kind when checking for side effects. r=shu
--HG--
extra : rebase_source : f48f4512dd364a576318c0b1546717dd6a230af5
2015-05-19 15:15:14 -07:00
Jeff Walden
8f7e1abcfa Bug 1167823 - Handle functions by kind when checking for side effects. r=shu
--HG--
extra : rebase_source : 8b799ed5c26c7e4261a1289d91c6daee03c0e811
2015-05-22 19:02:40 -07:00
Jeff Walden
f5b13a3c47 Bug 1167823 - Handle various other nodes by kind when checking for side effects. r=shu
--HG--
extra : rebase_source : 328a79fe2b556c4960f2e68f06a63a22ab679d5b
2015-05-22 19:02:40 -07:00
Jeff Walden
dbe31b00d4 Bug 1167823 - Handle various list-ful nodes by kind when checking for side effects. r=shu
--HG--
extra : rebase_source : 8c2ed434d39631a668002d85be559b0a19adef4d
2015-05-22 19:02:40 -07:00
Jeff Walden
b3858c8fdb Bug 1167823 - Handle try/catch by kind when checking for side effects. r=shu
--HG--
extra : rebase_source : e222ce50ece9f9bbfdfda1f3814fda7549e4934e
2015-05-22 19:02:40 -07:00
Jeff Walden
ddfc6a734c Bug 1167823 - Handle more nodes by kind when checking for side effects. r=shu
--HG--
extra : rebase_source : f93d1a58edbcd7c511646d5d593b2cd27373fc8e
2015-05-19 08:29:08 -07:00
Jeff Walden
eb1f229026 Bug 1167823 - Handle more nodes by kind when checking for side effects. r=shu
--HG--
extra : rebase_source : 97661b564327c9dca97677de29f0e8534499dbbb
2015-05-19 08:29:08 -07:00
Jeff Walden
a04d5c1bd2 Bug 1167823 - Check various binary operators for side effects, by node kind. r=shu
--HG--
extra : rebase_source : 1737efc6bab73c5ba6e0144298a67ed77832625e
2015-05-19 08:29:08 -07:00
Jeff Walden
40c1c82dcf Bug 1167823 - Handle more nodes by kind when checking for side effects. r=shu
--HG--
extra : rebase_source : ed01667c1dd7bc63e95b1052bc61174698177cb6
2015-03-04 13:21:30 -08:00
Jeff Walden
73807b43b3 Bug 1167823 - Handle more nodes by kind in BytecodeEmitter::checkSideEffects. r=shu
--HG--
extra : rebase_source : 257554926fce8ff5769942a73d5a10f4e1b16593
2015-05-19 08:29:08 -07:00
Jeff Walden
71384eabcb Bug 1167823 - Handle various nullary/unary nodes in BytecodeEmitter::checkSideEffects. r=shu
--HG--
extra : rebase_source : 28fac27fda1ffe5ffb16fc534bef2397fea3a9b5
2015-03-04 13:21:30 -08:00
Jeff Walden
f58d959d94 Bug 1167823 - Begin rewriting CheckSideEffects to work by kind, not arity. r=shu
--HG--
extra : rebase_source : f923c10afdde91a18f0a0bcb7b747f2b34b999ba
2015-03-04 13:21:30 -08:00
Hannes Verschore
9010b092dd Bug 1169213 - SharedStubs: Introduce JitFrame_IonStub to allow vmcalls out of sharedstubs in IonMonkey, r=npb 2015-06-08 16:39:19 +02:00
Hannes Verschore
de26cda8df Bug 1168753 - SharedStubs: Simplification to push BaselineFrame* in stubs, r=jandem 2015-06-08 16:38:55 +02:00
Hannes Verschore
7c5bf3c667 Bug 1168750 - SharedStubs: (part4) Track for which engine a stub needs to get compiled, r=jandem 2015-06-08 16:38:55 +02:00
Hannes Verschore
df00b796cd Bug 1168750 - SharedStubs: (part3) Make split between baseline only and shared stubs, r=jandem
--HG--
rename : js/src/jit/BaselineIC.cpp => js/src/jit/SharedIC.cpp
rename : js/src/jit/BaselineIC.h => js/src/jit/SharedIC.h
2015-06-08 16:38:55 +02:00
Hannes Verschore
d2c404fd11 Bug 1168750 - SharedStubs: (part2) Rename registers used by baseline stubs for use with shared stubs, r=jandem 2015-06-08 16:38:54 +02:00
Hannes Verschore
d05b62c063 Bug 1168750 - SharedStubs: (part1) Rename BaselineRegisters.h and BaselineHelpers.h, r=jandem
--HG--
rename : js/src/jit/BaselineHelpers.h => js/src/jit/SharedICHelpers.h
rename : js/src/jit/BaselineRegisters.h => js/src/jit/SharedICRegisters.h
rename : js/src/jit/arm/BaselineHelpers-arm.h => js/src/jit/arm/SharedICHelpers-arm.h
rename : js/src/jit/arm/BaselineRegisters-arm.h => js/src/jit/arm/SharedICRegisters-arm.h
rename : js/src/jit/mips/BaselineHelpers-mips.h => js/src/jit/mips/SharedICHelpers-mips.h
rename : js/src/jit/mips/BaselineRegisters-mips.h => js/src/jit/mips/SharedICRegisters-mips.h
rename : js/src/jit/none/BaselineHelpers-none.h => js/src/jit/none/SharedICHelpers-none.h
rename : js/src/jit/none/BaselineRegisters-none.h => js/src/jit/none/SharedICRegisters-none.h
rename : js/src/jit/x64/BaselineHelpers-x64.h => js/src/jit/x64/SharedICHelpers-x64.h
rename : js/src/jit/x64/BaselineRegisters-x64.h => js/src/jit/x64/SharedICRegisters-x64.h
rename : js/src/jit/x86/BaselineHelpers-x86.h => js/src/jit/x86/SharedICHelpers-x86.h
rename : js/src/jit/x86/BaselineRegisters-x86.h => js/src/jit/x86/SharedICRegisters-x86.h
2015-06-08 16:38:54 +02:00
Tooru Fujisawa
205dced600 Bug 1171777 - Make sure the index is nonnegative in GetElement IC with hole. r=jandem 2015-06-08 22:31:43 +09:00
Tooru Fujisawa
70137b7e93 Bug 1171871 - Fix bytecode documentation comment for JSOP_NEWTARGET. r=efaust 2015-06-08 22:31:43 +09:00
Gabor Krizsanits
c5989e232b Bug 1164014 - Shim optimization. r=billm 2015-06-08 09:28:54 +02:00
Brian Hackett
e0dedf454a Bug 1167677 - Enable code which was accidentally left disabled. 2015-06-07 18:45:32 -07:00
Brian Hackett
54466ce0a4 Bug 1167677 - Try harder to find scratch registers for memory->memory MoveGroup moves, r=sunfish. 2015-06-06 11:16:43 -07:00
Brian Hackett
4ccefce630 Bug 1169460 - Fix imprecise computation in BacktrackingAllocator::minimalUse, r=sunfish. 2015-06-06 09:03:59 -07:00
Brian Hackett
d8454f0a42 Bug 1170355 - Watch for indexes that don't fit in a jsid in Array.shift, r=jandem. 2015-06-06 08:37:35 -07:00
Eric Faust
87c0701240 Bug 1172150 - Remove bogus assert. (r=bz) 2015-06-05 20:37:51 -07:00
Tom Schuster
ff9a4b6da1 Bug 1170959 - Remove JS_GetPropertyDescriptor from a JSAPI test. r=efaust 2015-06-05 21:36:47 +02:00
Carsten "Tomcat" Book
318f9f9614 Merge mozilla-central to mozilla-inbound 2015-06-05 15:36:32 +02:00
Carsten "Tomcat" Book
ae98e02935 merge mozilla-inbound to mozilla-central a=merge 2015-06-05 15:25:08 +02:00
Mike Hommey
66e9856486 Fixup for hazard bustage after bug 1168719 on a CLOSED TREE. r=sfink 2015-06-05 14:40:11 +09:00
Wes Kocher
ea44c90c4c Merge m-c to fx-team, a=merge 2015-06-04 18:30:52 -07:00
Nick Fitzgerald
0f7e84a204 Bug 1169869 - Document the Debugger's onPromiseSettled hook DONTBUILD; r=jimb 2015-06-04 17:33:49 -07:00
Tooru Fujisawa
c7362ee724 Bug 1168416 - Do not change lastIndex property if not writable in RegExp.prototype.{test,exec}. r=Waldo 2015-06-05 09:56:10 +09:00
Terrence Cole
eb51f18a7b Bug 1171749 - Re-add nonincremental reason to compact stats output; r=sfink 2015-06-04 16:02:04 -07:00
Terrence Cole
f24eb3077f Bug 811911 - Use UTF-8 output for TwoByte chars in Error objects; r=jandem
--HG--
extra : rebase_source : 8c567cc3a6e986c56407c111b6265c5d215fca64
2015-06-04 08:43:11 -07:00
Terrence Cole
28981c8eda Bug 1170717 - Move heapState check up to readBarrier; r=jonco 2015-06-02 14:49:59 -07:00
Jon Coppeard
663e220661 Bug 1168769 - Simplify parser's LexicalLookup function r=waldo 2015-06-04 10:16:06 +01:00
Mike Hommey
1ec5ee71e9 Bug 1166243 - Remove build() function from js and xpc shells. r=bholley,r=efaust 2015-06-04 13:59:47 +09:00
Eric Faust
9ea4f14959 Bug 1141865 - Part 7: Make new.target work in generator functions. (r=jorendorff, r=jandem) 2015-06-03 02:01:15 -07:00
Eric Faust
327db47a88 Bug 1141865 - Part 6: Implement new.target in arrow functions. (r=jandem, r=jorendorff) 2015-06-03 02:01:15 -07:00
Eric Faust
1ce3f34d88 Bug 1141865 - Part 5: Implement new.target inside eval. (r=jorendorff, r=jandem) 2015-06-03 02:01:15 -07:00
Eric Faust
65208f2037 Bug 1141865 - Part 4: Remove LCallDirectEvalV in anticipation of register pressure with new.target in eval frames. (r=jandem) 2015-06-03 02:01:15 -07:00
Eric Faust
428d5f13c7 Bug 1141865 - Part 3: Parse new.target, add Reflect support, and tests. (r=jorendorff, r=shu) 2015-06-03 02:01:15 -07:00
Eric Faust
7180509ffe Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-03 02:01:14 -07:00
Eric Faust
2f731b8b6c Bug 1141865 - Part 1: Make two ICCall_Fallback, one for constructing invocations. (r=jandem) 2015-06-03 02:01:14 -07:00
Eric Rahm
75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm
67f6de2a30 Bug 1165515 - Part 9: Remove instances of using numeric log levels 1-5. rs=froydnj 2015-06-03 15:22:35 -07:00
Eric Rahm
f50b813989 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Brian Hackett
8ce6d5a48d Bug 1166709 - Mark definite properties when replacing the unboxed group used for literals at some pc, r=jandem. 2015-06-03 11:31:28 -07:00
Jon Coppeard
bf0d9da2db Bug 1168666 - Update assertions to allow export specs to contain batch exports r=waldo 2015-06-05 09:55:03 +01:00
Nicholas Nethercote
5ed657a8e9 Bug 1171305 - Remove lots of now-unnecessary null-checks involving XPCMaps. r=mrbkap.
Possible because both |new| and PLDHashTable initialization are infallible now.

I had to use NS_ABORT_OOM for a couple of the maps that use js::HashTable,
which still has fallible initialization. There were a couple of uses of those
maps that weren't protected by null-checks, so we would have got crashes anyway
if they had OOMed.

--HG--
extra : rebase_source : 23ff7a427f7da6e276570d14ccb1deb691962be1
2015-05-05 18:20:33 -07:00
Terrence Cole
f10e38672f Bug 1170673 - MSVC is less flexible with zero-sized arrays; r=shu 2015-06-02 10:50:48 -07:00
Terrence Cole
5dd32db8cf Bug 1169086 - Use virtual dispatch to implement callback tracer; r=jonco, r=mccr8
--HG--
extra : rebase_source : 8da1af998621319f7a0112f1870080dd8835063e
2015-05-28 16:35:08 -07:00
James Willcox
2ad56bee85 Bug 1165460 - Work around on-demand linker badness with NDK r10e/GCC 4.9 r=dhylands,glandium 2015-06-03 10:26:18 -05:00
Jon Coppeard
d398f244f0 Bug 1155618 - Test OOM behaviour of global creation r=terrence 2015-06-03 14:36:47 +01:00
Carsten "Tomcat" Book
7b0cb6283f Backed out changeset 2901436c9047 (bug 1141865) for e10-s asan m4 test failures on a CLOSED TREE 2015-06-03 12:46:33 +02:00
Carsten "Tomcat" Book
916a61c26f Backed out changeset d038c5da19b0 (bug 1141865) 2015-06-03 12:44:59 +02:00
Carsten "Tomcat" Book
3dede416d6 Backed out changeset 8f94d0d72a21 (bug 1141865) 2015-06-03 12:42:45 +02:00
Carsten "Tomcat" Book
c06710b638 Backed out changeset 6031f4ce0f9c (bug 1141865) 2015-06-03 12:42:16 +02:00
Carsten "Tomcat" Book
2eae096d54 Backed out changeset 24403e652d6d (bug 1141865) 2015-06-03 12:42:03 +02:00
Carsten "Tomcat" Book
3a80a55abd Backed out changeset 0f963fbdc918 (bug 1141865) 2015-06-03 12:41:48 +02:00
Carsten "Tomcat" Book
e1180d592e Backed out changeset 213b09228bdf (bug 1141865) 2015-06-03 12:41:25 +02:00
Eric Faust
f02ffbf5c7 Bug 1141865 - Part 7: Make new.target work in generator functions. (r=jorendorff, r=jandem) 2015-06-03 02:01:15 -07:00
Eric Faust
f5ab1ec9f9 Bug 1141865 - Part 6: Implement new.target in arrow functions. (r=jandem, r=jorendorff) 2015-06-03 02:01:15 -07:00
Eric Faust
5af210b547 Bug 1141865 - Part 5: Implement new.target inside eval. (r=jorendorff, r=jandem) 2015-06-03 02:01:15 -07:00
Eric Faust
a00873073d Bug 1141865 - Part 4: Remove LCallDirectEvalV in anticipation of register pressure with new.target in eval frames. (r=jandem) 2015-06-03 02:01:15 -07:00
Eric Faust
1b027437f4 Bug 1141865 - Part 3: Parse new.target, add Reflect support, and tests. (r=jorendorff, r=shu) 2015-06-03 02:01:15 -07:00
Eric Faust
e8c9b4486c Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-03 02:01:14 -07:00
Eric Faust
0bb43f1511 Bug 1141865 - Part 1: Make two ICCall_Fallback, one for constructing invocations. (r=jandem) 2015-06-03 02:01:14 -07:00
Jan de Mooij
ca6ceedd89 Bug 1143679 - Make TryNoteIterIon behave more like Baseline/interpreter iterators. r=shu 2015-06-03 09:35:30 +02:00
Nicholas Nethercote
e849e6588b Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj.
--HG--
extra : rebase_source : 9510ea47204fffa163cac43aeaaac6ae1ad80419
2015-05-19 16:46:17 -07:00
Tooru Fujisawa
b8c9333677 Bug 774364 - Part 1: Inline Math.random() in Ion on x86_64. r=sstangl 2015-06-02 17:28:32 +09:00
Daniel Holbert
d6c8798de6 Bug 1166847 followup: Add 'override' annotation to some new overriding methods in jswrapper.h. rs=ehsan 2015-06-02 19:45:24 -07:00
Wes Kocher
bcd821592f Merge m-c to inbound, a=merge 2015-06-02 18:43:25 -07:00
Wes Kocher
d80ffbf1c9 Merge inbound to central, a=merge 2015-06-02 18:20:12 -07:00
Ryan VanderMeulen
dcf4ded0cb Backed out changeset 5f2e8622f945 (bug 1139376) for causing frequent Win8 w-p-t timeouts. 2015-06-02 16:05:41 -04:00
Eddy Bruël
27446f880e Bug 1166847 - Implement OpaqueCrossCompartmentWrapper;r=evilpies 2015-06-02 16:54:54 +02:00
Wes Kocher
0ee8be2a55 Backed out 7 changesets (bug 1141865) for assertion failures in various test suites CLOSED TREE
Backed out changeset 3796a4c827e4 (bug 1141865)
Backed out changeset 41a10ac99656 (bug 1141865)
Backed out changeset 027bba006fbb (bug 1141865)
Backed out changeset fc9d645f55b3 (bug 1141865)
Backed out changeset 6b87d4ed5d30 (bug 1141865)
Backed out changeset fcbf3e53cce6 (bug 1141865)
Backed out changeset 4a9a06c26be7 (bug 1141865)
2015-06-01 18:25:38 -07:00
Wes Kocher
c8fae56d8e Backed out changeset c0e7bdb0da7b (bug 1141865) for assertions 2015-06-01 18:24:37 -07:00
Wes Kocher
93b34f209b Backed out changeset 3e660b56c502 (bug 1169171) for easily backing out bug 1141865
--HG--
extra : amend_source : 5e071bcb2a6dce6ed5ec9035c48d9407d5dc3a47
2015-06-01 18:23:51 -07:00
Wes Kocher
dd6d17a95b Backed out changeset 4275a4bf842e (bug 1169511) 2015-06-01 18:23:50 -07:00
Wes Kocher
1cfd1a1753 Backed out changeset 8b0cd6ec2fc4 (bug 1167845) 2015-06-01 18:23:49 -07:00
Wes Kocher
459ee9473f Backed out changeset 79466a3087b1 (bug 1167845) 2015-06-01 18:23:48 -07:00
Wes Kocher
6dff0c284a Backed out changeset ce16efb6bee2 (bug 1141865) for assertions 2015-06-01 18:23:15 -07:00
Wes Kocher
4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Faust
0b8583211b Bug 1141865 - Followup followup: Fix the WIN64 build on a CLOSED TREE. (rs=shu) 2015-06-01 17:00:25 -07:00
Jeff Walden
04d7a96a62 Bug 1167845 - Rename ParseHandler::isName to ParseHandler::maybeName. r=efaust
--HG--
extra : rebase_source : 28e9268d2e08d3a5aa2f5281623e57e059a35d74
2015-06-01 13:28:36 -07:00
Tooru Fujisawa
cccfd369c8 Bug 1169853 - Require semicolon after export default AssignmentExpression. r=shu 2015-06-03 09:17:41 +09:00
Tooru Fujisawa
cdc4f63343 Bug 1169850 - Handle PNK_EXPORT_DEFAULT in BytecodeEmitter::emitTree. r=shu 2015-06-03 09:17:37 +09:00
Tom Schuster
a65f7266fe Bug 1165722 - Replace JS_GetPropertyDescriptor usage in Xray code. r=bholley 2015-06-02 23:27:39 +02:00
Tom Schuster
8b3a3efd8b Bug 1135993 - Remove js::IsInNonStrictPropertySet. r=jorendorff 2015-06-02 23:27:39 +02:00
Tooru Fujisawa
2caf3e87ee Bug 1169199 - Check platform argument on linux SpiderMonkey shell build and specify target and host on 32bit build. r=sfink 2015-06-03 06:20:19 +09:00
Jeff Walden
6c760fcac6 Bug 1167845 - Rename ParseHandler::isName to ParseHandler::maybeName. r=efaust
--HG--
extra : rebase_source : b24c6a038bbb9ffc36eccf3dd4d477f80c00209a
2015-06-01 13:28:36 -07:00
Jeff Walden
37cc1da7ef Bug 1167845 - Rejigger {in,de}crement/assignment parsing to vet targets primarily through a single Parser::isValidSimpleAssignmentTarget method, so that this method can also be called outside the parser. r=efaust
--HG--
extra : rebase_source : 739982716140ebc1196fc1da7ef1dceb09c20771
2015-05-22 19:02:41 -07:00
Jeff Walden
bf88218fe7 Bug 1169511 - Split PNK_TYPEOF into one kind for application to names, one kind for application to other expressions. r=efaust
--HG--
extra : rebase_source : 5dd56e81026d949994d1d21d064c21563e5e5f36
2015-05-29 13:23:06 -07:00
Jeff Walden
f72feb5e17 Bug 1169171 - Split PNK_DELETE into several different kinds for each of the syntactically distinct modes of |delete| operation, depending upon the syntax of the operand. r=efaust
--HG--
extra : rebase_source : ea5d01bbf504ea6284abede320a07ac76af50a28
2015-05-28 13:47:44 -07:00