Commit Graph

32379 Commits

Author SHA1 Message Date
Terrence Cole
226d4a6189 Bug 985562 - Do not allocate large call objects in the nursery; r=jandem 2014-03-20 14:38:51 -07:00
Boris Zbarsky
f8115c0dde Bug 983300 part 4. Convert exceptions in static methods returning promises into rejected promises. r=khuey,efaust 2014-03-21 12:18:24 -04:00
Boris Zbarsky
51d9175a36 Bug 983300 part 3. Convert exceptions in specialized methods returning promises into rejected promises. r=khuey, efaust 2014-03-21 12:18:24 -04:00
Jan de Mooij
36526a5b38 Bug 983709 part 2 - Fix MBinaryInstruction to not override congruentTo. r=h4writer 2014-03-21 15:53:00 +01:00
Jan de Mooij
f30ab3701b Bug 983709 part 1 - Don't mark shift instructions as commutative. r=h4writer 2014-03-21 15:48:27 +01:00
Lars T Hansen
2f31b53f76 Bug 983675 - Intrinsify and inline TypeDescrIsArrayType, TypeDescrIsUnsizedArrayType, TypeDescrIsSizedArrayType, TypeDescrIsSimpleType, ObjectIsTypedObject. r=shu 2014-03-21 09:18:09 -04:00
Dave Townsend
363d510707 Bug 986107: Make new sandboxes inherit the metadata of the creating sandbox by default. r=bholley 2014-03-21 19:57:42 -07:00
Lars T Hansen
98b3628c4b Bug 983577 - Improvements to parallel and sequential map for TypedObject. r=shu 2014-03-21 09:05:37 -04:00
Carsten "Tomcat" Book
9468864ecc Backed out changeset f787c0fa465e (bug 975042) for B2G ICS Emulator M7 Orange on a CLOSED TREE 2014-03-21 08:48:40 +01:00
Carsten "Tomcat" Book
bb48a49dd4 Backed out changeset 351371062c26 (bug 975042) 2014-03-21 08:47:48 +01:00
Carsten "Tomcat" Book
78052541e1 Backed out changeset 449ade4078c0 (bug 975042) 2014-03-21 08:47:47 +01:00
Carsten "Tomcat" Book
97ef36ac53 Backed out changeset 59a38e0e27bb (bug 975042) 2014-03-21 08:47:45 +01:00
Carsten "Tomcat" Book
7a8da8c316 Backed out changeset 8ac7fa583164 (bug 975042) 2014-03-21 08:47:44 +01:00
Carsten "Tomcat" Book
4b438d3d7a Backed out changeset 6c25a4bfd449 (bug 975042) 2014-03-21 08:47:43 +01:00
Carsten "Tomcat" Book
be38538d25 Backed out changeset f7d97dc26289 (bug 975042) 2014-03-21 08:47:42 +01:00
Carsten "Tomcat" Book
f8212b78d2 Backed out changeset 1b62c8f1c211 (bug 975042) 2014-03-21 08:47:41 +01:00
Carsten "Tomcat" Book
d8d768555c Backed out changeset 16da792be5f8 (bug 975042) 2014-03-21 08:47:40 +01:00
Carsten "Tomcat" Book
dbdb175c96 Backed out changeset 767ce92ebaf1 (bug 975042) 2014-03-21 08:47:36 +01:00
Boris Zbarsky
b138bfaeec Bug 980962. Fix in-tree consumers to not construct typed arrays without "new". r=jorendorff 2014-03-20 23:19:42 -04:00
Bobby Holley
35f8f8d688 Bug 975042 - Tests. r=peterv
We try to make this test machinery reusable for future Xrayable JS objects.
2014-03-20 23:47:25 -03:00
Bobby Holley
fb059d76d6 Bug 975042 - Update expando sharing tests to test the Xray-to-JS case. r=peterv 2014-03-20 23:47:25 -03:00
Bobby Holley
b28a8e3b81 Bug 975042 - Enable JS Xray for the Date object. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
ce9c4ef5c4 Bug 975042 - Implement resolveOwnProperty and enumerateNames trap. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
b65a5d12b4 Bug 975042 - Make enumerateNames trap virtual. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
3ef7622033 Bug 975042 - Implement getPrototypeOf. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
6f32cdd540 Bug 975042 - Implement createHolder. r=peterv 2014-03-20 23:47:24 -03:00
Bobby Holley
867afa81f6 Bug 975042 - Implement the easy trait hooks. r=peterv 2014-03-20 23:47:23 -03:00
Bobby Holley
2b514f18c9 Bug 975042 - Basic Xray infrastructure and boilerplate. r=peterv
All of this machinery asserts if it actually get used. But it won't be used at
present, because we have an empty whitelist of JSProtoKeys.
2014-03-20 23:47:23 -03:00
Bobby Holley
ba01d93b50 Bug 975042 - Remove the special COW support for Date. r=peterv
As soon as Date is on Xrays, this stuff won't work anyway. Henceforth, content
access to chrome Date objects is forbidden, and APIs should use something like
|new contentWindow.Date()| for any Date object they wish to expose to content.
2014-03-20 23:47:23 -03:00
Gabor Krizsanits
b368adf53a Bug 985472 - cloneInto for sandbox. r=bholley 2014-03-25 16:21:56 +01:00
Gabor Krizsanits
6949913c28 Bug 985472 - Name fixup in ExportFunction. r=bholley 2014-03-25 16:21:51 +01:00
Nicholas D. Matsakis
8ead34644b Bug 975446 -- Load the KIND from the descriptor, not the typed object, in toSource() r=sfink 2014-03-18 15:32:06 -04:00
Nicholas D. Matsakis
34cda3e53e Bug 981650 -- Check the variable-size flag on the type descriptor, not the type representation r=sfink 2014-03-18 08:19:04 -04:00
Terrence Cole
61b57a399b Bug 619558 - Enable generational GC on desktop; sr=naveed 2014-02-05 10:04:16 -08:00
Nathan Froyd
bfa7382195 Bug 948445 - use different caching schemes for ProtoAndIfaceArray depending on the global kind; r=bz 2013-12-10 16:04:55 -05:00
Ed Morley
9e758c90e9 Backed out changeset 738a4b230194 (bug 988326) for assertions 2014-03-26 18:11:11 +00:00
Luke Wagner
7dfc57b7b5 Bug 974700 - cached asm.js doesn't cache profiled function info (r=bbouvier) 2014-03-25 12:55:13 -04:00
Terrence Cole
dc6410d514 Bug 988326 - Start GC arenas in the decommitted state; r=jonco 2014-03-26 13:12:45 -04:00
Kannan Vijayan
de35048eca Bug 987442 - Correctly clear compile-time tracking frame for SPS when emitting OOL code. r=sstangl 2014-03-26 13:06:04 -04:00
Sankha Narayan Guria
b8b45d5fb2 Bug 885788 - Implement Object.setPrototypeOf; r=jorendorff 2014-01-25 20:13:07 +05:30
Jeff Walden
e6d7a3c3dd Bug 987087 - Fix ggc-only typos. r=i-am-so-smrt
--HG--
extra : rebase_source : 8a382a4f4baed3c4b39f2e5ce8ba97dd9f7e722d
2014-03-26 12:22:03 -04:00
Jeff Walden
d8e15aa0e5 Bug 987807 - Split a NewSingletonCallObject out of NewCallObject. This produces slightly leaner code and creates all call objects with the correct type initial type from birth. r=terrence
--HG--
extra : rebase_source : 6b27082de6e5c05e0bf672d56a8701a39c8c7090
2014-01-15 17:55:39 -05:00
Jeff Walden
9d69004099 Bug 987243 - Don't use .call(...) in self-hosted code. r=till
--HG--
extra : rebase_source : 05c8d1126fc15279ed43522fd91fb277c0f80c6a
2014-03-25 10:27:35 -04:00
Bobby Holley
311ff27b73 Bug 958326 - Remove same-compartment security wrapper machinery. r=mrbkap 2014-03-26 10:59:20 -03:00
Bobby Holley
c7ea45b3a7 Bug 979481 - Add a helpful assertion indicating that the caller probably needs a JSAutoCompartment. r=luke 2014-03-26 10:59:03 -03:00
Bobby Holley
655ad8ddf4 Bug 979481 - Make the SafeJSContext default to a null compartment, and have AutoSafeJSContext enter the compartment instead. r=bz 2014-03-26 10:59:03 -03:00
Bobby Holley
fd6d0d6aab Bug 979481 - Prepare the cx stack machinery for a world where a cx has no default compartment object. r=bz 2014-03-26 10:59:02 -03:00
Bobby Holley
d9cab97202 Bug 979481 - Separate the lifetime of the SafeJSContext global from that of the SafeJSContext itself. r=bz 2014-03-26 10:59:02 -03:00
Carsten "Tomcat" Book
d8e38b0239 Backed out changeset 6a72a2510405 (bug 969436) for bustage 2014-03-26 09:35:04 +01:00
Ben Hackett
57bc490fc5 Bug 969436 - Changed the SafepointReader constructor to properly read safepoints, depending on the size of PackedRegisterMask; r=Nicolas B. Pierron 2014-03-24 18:09:00 +01:00
Phil Ringnalda
47d8f404e5 Back out 033a5dd2e159 (bug 985312) for build bustage
CLOSED TREE

--HG--
rename : js/src/builtin/ParallelUtilities.js => js/src/builtin/Parallel.js
2014-03-25 23:24:33 -07:00
Shu-yu Guo
cc1e31f40c Bug 987134 - Pare down the parallel/ic-setelement jit-test. (r=jandem) 2014-03-25 22:59:27 -07:00
Shu-yu Guo
8a3eda6b25 Bug 985312 - PJS: Remove the bounds function from ForkJoin. (r=nmatsakis)
--HG--
rename : js/src/builtin/Parallel.js => js/src/builtin/ParallelUtilities.js
2014-03-25 22:59:26 -07:00
Christian Holler
3246b34401 Bug 964803 - Cleanup the JS OOM testing code. r=jandem 2014-03-26 00:31:54 +01:00
Mike Hommey
8aba9ab7cf Bug 985836 - Move -Fd flags from configure to config.mk. r=mshal 2014-03-26 08:12:26 +09:00
Mike Hommey
5d1d8f0510 Bug 985835 - Move MOZ_DEBUG_FLAGS declaration for MSVC next to the one for GCC. r=mshal 2014-03-26 08:12:12 +09:00
Mike Hommey
105b36f5bd Bug 985833 - Don't quote CC/CXX when checking MSVC version in configure. r=mshal 2014-03-26 08:11:53 +09:00
Jeff Walden
c1673141f3 Back out bug 985687, likely cause of js1_8_5/extensions/recursion.js cantankering. r=CLOSED TREE 2014-03-20 16:39:30 -07:00
Julian Seward
ced006287f Bug 970643 - Valgrind does not understand OdinMonkey's guard page mechanism. r=luke. 2014-03-20 23:23:48 +01:00
Shu-yu Guo
7f53fca941 Bug 986139 - Purge caches when preserving PJS JIT code. (r=terrence) 2014-03-20 15:07:57 -07:00
Terrence Cole
17f04792e3 Bug 986147 - Loosen assertions to allow IsAboutToBeFinalized to be used during MinorGC; r=sfink 2014-03-20 14:38:43 -07:00
Jeff Walden
3d1397e2b2 Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
--HG--
extra : rebase_source : 4a9d1d783e658648c4ff210760b38f8353631458
2014-03-11 12:03:56 -07:00
Jeff Walden
c184c8d997 Bug 985695 - Rename JSContext::getLazyType to getSingletonType, because that's the only sense in which it's used. r=terrence
--HG--
extra : rebase_source : db9807b0c311c334ae38409f0dfee259f968b8d3
2014-02-07 16:50:28 -08:00
Dan Gohman
04e776a22b Bug 981894 - IonMonkey: Merge the code in MPhi::foldsTo with MPhi::operandIfRedundant. r=nbp 2014-03-20 08:58:27 -07:00
Dan Gohman
f04a80d62a Bug 981894 - IonMonkey: Misc cleanups r=nbp 2014-03-20 08:58:24 -07:00
Terrence Cole
99ff6a733e Bug 957723 - Followup fix for decommitted nursery reporting; r=njn 2014-03-19 14:43:44 -07:00
Bob Owen
3fbc188f5e Bug 978042 - Part 1: AutoPushJSContext in nsEventListenerManager::CompileEventHandlerInternal. r=bholley 2014-03-19 11:08:13 +00:00
Daniel Holbert
7bfc198364 Bug 985858: Use format string "%s" to fix build warning in Snapshots.cpp. r=nbp 2014-03-20 21:47:39 +08:00
Jan de Mooij
19ae495674 Bug 985526 part 2 - Use notifyOne instead of notifyAll in StartOffThreadParseScript and StartOffThreadCompression. r=bhackett 2014-03-20 12:05:46 +01:00
Jon Coppeard
3f63293ac4 Bug 981462 - Save and restore live array buffer lists over minor GC r=terrence 2014-03-20 09:32:37 +00:00
Jon Coppeard
48ecc0a1b8 Bug 959787 - Handlify some more GCing APIs r=sfink 2014-03-20 09:32:37 +00:00
Hannes Verschore
c7eba80bca Bug 978077 - IonMonkey: Set returntype of MMinMax to double if one of its arguments is, r=jandem 2014-03-20 09:16:38 +01:00
Steve Fink
065ee6341b Bug 985143 - Comment updates to new ArrayBuffer storage scheme
--HG--
extra : rebase_source : 22cee061dc536d327ae10171578bf60b5ccc1469
2014-03-19 10:47:47 -07:00
Jeff Walden
579d970984 Bug 982974 - Last bit of trunk fixup. r=sfink, r=nmatsakis
--HG--
extra : rebase_source : 8d4800943708f39dcd04d499224cd76ac9194ec7
2014-03-17 16:39:59 -07:00
Shu-yu Guo
bbdbff44c6 Bug 985182 - Only assert that we aren't operating in the self-hosted global for cross- (not same-) compartment wrappers. (r=bhackett) 2014-03-19 15:00:57 -07:00
Eric Faust
8c499b9f9e Bug 953024 - Part 2: Make Ion do common getter optimizations for JSOP_GETGNAME. (r=jandem, f=jwalden over IRC) 2014-03-19 12:46:11 -07:00
Eric Faust
03e81bbb5d Bug 953024 - Part 1: Implement own getter cacheing in BC, and use it for JSOP_GETGNAME. (r=djvj) 2014-03-19 12:46:02 -07:00
Eric Faust
5d52988042 Bug 953024 - Part 0: Factor out common BC getter stub logic for own getters. (r=djvj) 2014-03-19 12:44:53 -07:00
Ryan VanderMeulen
92b419c089 Backed out changeset 893b864b4b18 (bug 969012) for causing bug 984653. 2014-03-19 13:16:06 -04:00
Bobby Holley
8c3d899db2 Bug 825392 - Remove SOWs. r=bz 2014-03-19 13:35:45 -03:00
Bobby Holley
8e563284fb Bug 825392 - Add xpc::GetXBLScopeOrGlobal and Sprinkle some calls to it where necessary. r=bz 2014-03-19 13:35:45 -03:00
Jan de Mooij
aee7d01e9e Bug 985526 - Use notifyOne instead of notifyAll in StartOffThreadIonCompile. r=bhackett 2014-03-19 17:31:12 +01:00
Nathan Froyd
5aa819df66 Bug 984985 - avoid a useless stat call when loading JS components; r=bholley 2014-03-18 12:49:00 -04:00
Nathan Froyd
0b75838310 Bug 983803 - cast to nsIDOMEvent directly for generated events, rather than calling CallQueryInterface; r=smaug 2014-03-14 15:31:09 -04:00
Nathan Froyd
f1114918c9 Bug 984511 - make selfhosted.out.h explicitly depend on TypedObjectConstants.h; r=glandium 2014-03-19 07:59:39 -04:00
Jan de Mooij
6af7b5d82a Bug 984836 - Rename StackFrame to InterpreterFrame. r=luke 2014-03-19 09:28:57 +01:00
Shu-yu Guo
48ad465d69 Bug 983477 - Preserve scripts and the JIT code of PJS scripts across GCs for some maximum N GCs. (r=terrence,nmatsakis) 2014-03-19 00:51:55 -07:00
Nicholas D. Matsakis
a499995fc2 Bug 983987 - Ignore NewDerivedTypedObjects with no uses in ParallelSafetyAnalysis r=shu 2014-03-15 21:16:48 -04:00
Nicholas D. Matsakis
4e7c85fecb Bug 983977 - Omit type barriers where possible r=jandem 2014-03-15 06:32:38 -04:00
Nicholas D. Matsakis
8186a5dafa Bug 983686 - Parallel fromPar r=shu 2014-03-14 11:20:44 -04:00
Nicholas D. Matsakis
19f3f631ed Bug 983486 - Collect parallel arenas during parallel iterations r=terrence 2014-03-13 20:55:38 -04:00
Wan-Teh Chang
12faa4423e Bug 983186: js/src/configure.in should append -Wl,--build-id to
NSPR_LDFLAGS. r=glandium.
2014-03-18 18:05:17 -07:00
Brian Hackett
24bb1b1db8 Bug 984766 - Don't give extra fixed slots to array buffer objects with inline storage, r=sfink. 2014-03-18 19:04:22 -06:00
Bobby Holley
abb31827e1 Bug 976704 - Make opaque security wrappers non-callable. r=gabor,sr=mrbkap 2014-03-18 19:23:45 -03:00
Jeff Walden
a75bf53470 Bug 982974 - Back out 3d2bdd4b74ad from a CLOSED TREE, I want to go home and rethink my life. r=death 2014-03-18 15:40:40 -07:00
Terrence Cole
4a50bff757 Bug 984684 - Do not fire barriers on shared atoms, round 2; r=sfink
--HG--
extra : rebase_source : f27e71470054e61ad424485e4a610bdaa2ff1314
2014-03-18 15:17:23 -07:00
Terrence Cole
2e4aad5a2f No Bug - Fix opt build bustage with generational GC enabled; r=sfink
--HG--
extra : rebase_source : 21769149621f7d5219d02d52e78e48d770e1eece
2014-03-18 15:17:22 -07:00
Kannan Vijayan
58aabd2c19 Bug 948229 - Stop ion from pushing pseudostack entries by default for inline frames. r=h4writer 2014-03-18 18:07:17 -04:00
Jeff Walden
e101f2d32c Bug 982974 - Last bit of trunk fixup. r=sfink
--HG--
extra : rebase_source : 5f7635125fca688cf315d21fd2aa9fe59f22baa1
2014-03-17 16:39:59 -07:00
Nicolas B. Pierron
611345673b Bug 962555 part 6 - IonMonkey: Simplify encoding & decoding of RValueAllocations. r=h4writer 2014-03-18 08:31:24 -07:00