Commit Graph

32346 Commits

Author SHA1 Message Date
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
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
Nicolas B. Pierron
dbf878f683 Bug 962555 part 5 - IonMonkey: Move the RValueAllocation into an indexed buffer. r=h4writer 2014-03-18 08:31:24 -07:00
Brian Hackett
ecdbf6f6c8 Bug 972817 - Enable type inference unconditionally, r=jandem. 2014-03-18 09:05:16 -06:00
Jan de Mooij
16fc1b4d48 Bug 984293 - Poison Yarr code in release builds. r=cpeterson 2014-03-18 13:09:21 +01:00
Chris Peterson
2c12ede183 Bug 983959 - Part 2: Remove unused DebugOnly #includes in js/. r=luke 2014-03-16 22:40:55 -07:00
Chris Peterson
f194aee9e6 Bug 983959 - Part 1: Fix warnings about unused member variables in js/. r=luke 2014-03-14 23:24:31 -07:00
Terrence Cole
ba61803b38 Bug 984684 - Do not fire barriers on shared atoms; r=bhackett 2014-03-17 16:52:10 -07:00
Terrence Cole
ae5effd448 Bug 957723 - Decommit unused portions of the nursery; r=jonco 2014-01-08 13:43:55 -08:00
Terrence Cole
3c28d00cf9 Backout ed7130b21a68 (Bug 957723) for SM(r) orange on a CLOSED TREE. 2014-03-17 11:42:57 -07:00
Peter Van der Beken
ee76987bdb Bug 982114 - Deal with new DOM binding objects for Window in more places. r=bz. 2014-01-30 15:31:16 +01:00
Peter Van der Beken
f44da3849f Bug 982112 - Make accesscheck code deal with WebIDL bindings. r=bz. 2013-11-05 09:47:59 +01:00
Brian Hackett
b76edd36de Bug 979480 - Don't store array buffer contents in elements, r=sfink. 2014-03-17 11:46:04 -06:00
Steve Fink
92095d3677 Bug 981809 - Postbarrier WeakMapPtr keys, r=terrence
--HG--
extra : rebase_source : 207e9ab48a03ec4fdfe314a8c2c6e6af95853d6b
2014-03-13 13:53:34 -07:00
Terrence Cole
f90244a4d8 Bug 957723 - Decommit unused portions of the nursery; r=jonco
--HG--
extra : rebase_source : b4e5a0b55d1817d3fc312b4aed2abb4e5273b145
2014-01-08 13:43:55 -08:00
Jon Coppeard
9adcde9134 Bug 959787 - Handlify some friend and debug APIs r=sfink r=bholley 2014-03-17 16:17:58 +00:00
Jon Coppeard
6ca748883c Bug 959787 - Handlify JS_ExecuteScript, JS_EvaluateScript and other JS APIs r=sfink r=bz 2014-03-17 16:17:58 +00:00
Vivien Nicolas
7dd506f567 Bug 983513 - js/src/jsobj.cpp:2552:48: error: reference to ‘NullPtr’ is ambiguous (--disable-ion). r=nbp 2014-03-17 12:57:29 +01:00
Benjamin Bouvier
c994738d89 Bug 980860: Rename test to match bug number. DONTBUILD
--HG--
rename : js/src/jit-test/tests/ion/bug980960.js => js/src/jit-test/tests/ion/bug980860.js
2014-03-17 10:51:39 +01:00
Jan de Mooij
f1bdce3faf Bug 981693 - Improve JIT code memory reporters. r=njn 2014-03-17 10:11:21 +01:00
Masayuki Nakano
a7a5e56dd5 Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Phil Ringnalda
5cd379fb80 Back out db542ae460d9 (bug 983399) for b2g debug xpcshell bustage 2014-03-16 19:42:51 -07:00
Brian Hackett
81bc820552 Bug 983752 - Consider conflicting intervals when splitting backtracking intervals, r=sunfish. 2014-03-16 16:44:53 -06:00
Terrence Cole
0cd291344b Bug 983399 - Make mozComponentLoader work with moving GC; r=sfink
--HG--
extra : rebase_source : d5d04949c97be80bdf2212f82493686bd4a6cb28
2014-03-07 15:28:48 -08:00
Cykesiopka
776f19badf Bug 931732 - Remove #if 0 code from jit/arm/*. r=jandem 2014-03-16 15:34:13 -04:00
Nicholas D. Matsakis
91aa8c050a Bug 976530 -- Do not permit structs to overflow an int32_t r=sfink 2014-02-25 21:04:17 -05:00
Nicholas D. Matsakis
0414374247 Bug 976697 - Detect neutered buffers in typed array / typed object constructors r=sfink 2014-02-26 11:55:34 -05:00
Phil Ringnalda
1d6b16f7bd Bug 981362 - Bail out of parallel/bug976889.js when parallel is not defined, rather than making aurora permaorange 2014-03-15 20:13:29 -07:00
Phil Ringnalda
41cecbe750 Bug 984063 - bail out of ion/bug977674.js when parallel isn't defined instead of making mozilla-aurora permaorange 2014-03-15 20:13:16 -07:00
Shu-yu Guo
2a8c1ceda9 Bug 983558 - Test for return type when inlining ForkJoinGetSlice. (r=nmatsakis) 2014-03-15 18:32:04 -07:00
Kyle Huey
7067fb5db1 Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
84360900b0 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Jan de Mooij
d5425d28a4 Bug 960523 followup - Fix comment typo. DONTBUILD 2014-03-15 16:07:43 +01:00
Jan de Mooij
705ae7e3ed Bug 960523 - Add Baseline IC stub for fun.call(). r=djvj 2014-03-15 15:56:22 +01:00