Commit Graph

36909 Commits

Author SHA1 Message Date
Jan de Mooij
84ad6705ec Bug 1103056 - Make optimized asm.js FFI exit also work with Baseline scripts. r=luke,h4writer 2014-11-25 13:43:30 +01:00
Hannes Verschore
78caa2711c Bug 1103032: IonMonkey: Get LSubstr working with limited amount of available registers, r=jandem 2014-11-25 12:43:21 +01:00
Jon Coppeard
7a0bd812d5 Bug 650161 - Allow sweeping on the background thread before compacting r=terrence 2014-11-25 10:19:25 +00:00
Jon Coppeard
e3f043936c Bug 989390 - Start background sweeping as soon as arenas are available to sweep r=terrence 2014-11-25 10:19:25 +00:00
Lars T Hansen
e083d47e73 Bug 1102820 - Use MOZ_CONSTEXPR appropriately. r=mh+mozilla 2014-11-25 11:15:20 +01:00
Brian Hackett
8e3038bb83 Bug 1100170 - Optimize marking for inline typed objects, r=sfink. 2014-11-24 20:24:17 -07:00
Wes Kocher
ba84008335 Backed out changeset ff97ac763705 (bug 1097694) 2014-11-24 17:04:50 -08:00
Wes Kocher
5b631c000d Backed out changeset c69e27e86565 (bug 1083211) 2014-11-24 17:04:42 -08:00
Wes Kocher
25b4eb5299 Backed out changeset b3f742c00ba1 (bug 1103152) 2014-11-24 17:04:30 -08:00
Wes Kocher
34ba1564db Backed out changeset 64aa4c4d0691 (bug 1103368) 2014-11-24 17:04:21 -08:00
Wes Kocher
1fb6419611 Backed out changeset e737de5b209b (bug 1103368) 2014-11-24 17:04:12 -08:00
Wes Kocher
2d3d66f571 Backed out changeset ba1d6ece1bc6 (bug 1103368) 2014-11-24 17:04:06 -08:00
Wes Kocher
87de2fba09 Backed out changeset d201babc2e84 (bug 1103368) 2014-11-24 17:03:52 -08:00
Wes Kocher
4cc15a268f Backed out changeset b4b619628d1d (bug 1103368) for b2g build bustage 2014-11-24 17:03:44 -08:00
Jason Orendorff
7ebaeb9261 Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
--HG--
extra : rebase_source : 4fffe30636fdc5f0c708bc50f98c974c67cd4459
2014-11-22 12:23:39 -06:00
Jason Orendorff
4050b5c0d0 Bug 1103368, part 4 - Ban stub getter/setter arguments to js::CheckDefineProperty. r=bhackett.
--HG--
extra : rebase_source : c8e78f1d488cb830bf5362d539694cac786b95ab
2014-11-22 08:43:56 -06:00
Jason Orendorff
4aa1d2d892 Bug 1103368, part 3 - Ban stub getter/setter arguments to JSObject::define{Generic,Property,Element} and js::SetPropertyIgnoringNamedGetter. r=bhackett.
--HG--
extra : rebase_source : 4eeced4ac54894561bc4411601487e2e9592559a
2014-11-22 08:10:20 -06:00
Jason Orendorff
2b58db42f0 Bug 1103368, part 2 - Ban stub getter/setter arguments to js::baseops::Define{Property,Generic,Element}, DefineNativeProperty, and DefinePropertyOrElement. r=bhackett.
--HG--
extra : rebase_source : 5f80c2060ad8d637b15e2649a83e64e06860b63a
2014-11-21 21:07:13 -06:00
Jason Orendorff
1f21b9756e Bug 1103368, part 1 - Forbid stub getter/setter arguments to NativeObject::{add,change,put}Property. r=bhackett.
--HG--
extra : rebase_source : 2885e93a5bd430eefb8035132e0174311e74747b
2014-11-21 19:33:45 -06:00
Jason Orendorff
70bf2f7446 Bug 1103152 - Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett.
--HG--
extra : rebase_source : 40b75b926ae59d91c80374fc5b25d2a459ecb717
2014-11-21 15:14:58 -06:00
Jason Orendorff
1558714892 Bug 1083211 - Reimplement BaseProxyHandler::set from scratch to follow ES6 draft rev 27 9.1.9. r=bholley.
The handlers affected by this change are:
  SandboxProxyHandler
  XrayWrapper
  DeadObjectProxy (but not really)

In the near future, I will change Proxy::set() to use this code when mHasPrototype is true.

Handlers that do not override set() but nonetheless are not affected:

*   WindowNamedPropertiesHandler. Not affected yet because hasPrototype=true, so
    set() is never called. However it's worth thinking about this one. It will be
    changing to use this code soon.

*   ScriptedIndirectProxyHandler. This class was the original motivation for the
    old bad code; its old bad behavior has been preserved (by changing it to
    override set() with the old code). This is necessary, alas -- there's in-tree
    code depending on these details of Proxy.create()'s behavior.

--HG--
extra : rebase_source : bb4860a0eb6f32ae64c170dfe1c8d716d2a25bac
2014-10-13 16:46:04 -05:00
Jason Orendorff
ce99a7b521 Bug 1097694 - js::HasOwnProperty sanity surgery. r=efaust.
*   Rename the clownshoes js::HasOwnProperty signature to js::NonProxyLookupOwnProperty,
    which is what it really is.

*   Change the sane js::HasOwnProperty signature to use the hasOwn handler when the
    argument is a proxy, as that's what it's there for.

*   Change the DirectProxyHandler::hasOwn implementation to use js::HasOwnProperty, so
    that when target is also a proxy, we end up calling its hasOwn handler.  Similar
    changes in ScriptedDirectProxyHandler.cpp.

--HG--
extra : rebase_source : 802e6f826db7038fec6303e2e1228b5c9dfc0c58
2014-11-11 11:14:48 -06:00
Marty Rosenberg
7fea6ab2c1 Bug 1088316: Emit "push lr" after calls, rather than "push pc" before (r=jandem) 2014-11-24 11:15:53 -05:00
Jan de Mooij
7bf8e1b089 Bug 1104027 - Fix IonBuilder::jsop_setelem to not abort during arguments analysis. r=bhackett 2014-11-24 16:31:02 +01:00
Nicolas B. Pierron
99cf4dc87c Bug 1093674 - IonMonkey: Add Sink for instruction which can be recovered on bailout. r=sunfish 2014-11-24 16:11:32 +01:00
Benjamin Bouvier
a9b6e14d5b Bug 1102893: Remove some SIMD.js outdated functions; r=till 2014-11-24 16:09:34 +01:00
Benjamin Bouvier
33f372f0fd Bug 1072368: Merge SIMD.js comparison tests in comparisons.js; r=till 2014-11-24 16:09:29 +01:00
Dan Gohman
43c78c0ce2 Bug 1072368 - Implement the remaining SIMD integer compares in the interpreter and asm.js; a=sunfish,bbouvier, r=sunfish
--HG--
extra : histedit_source : c9a772af119b0d8d01ba5ef01653bc3a356826dc
2014-11-24 16:07:43 +01:00
Masatoshi Kimura
ad759160d3 Bug 1094013 - Bump subsytem version to 6.1 (Win7) for Win64 builds. r=glandium,jorendorff 2014-11-24 22:18:09 +09:00
Jon Coppeard
06c5ab9676 Bug 1102542 - Release any relocated arenas on out of memory r=terrence 2014-11-24 10:42:21 +00:00
Jon Coppeard
f5b55c10d0 Bug 650161 - Remove an assertion that things don't move r=terrence 2014-11-24 10:40:33 +00:00
Emanuel Hoogeveen
877ed696be Bug 1101856 - Part 2: Show the output of failed jstests unless '--no-show-failed' is passed. r=sfink 2014-11-21 13:38:00 +01:00
Emanuel Hoogeveen
ccc845d01f Bug 1101856 - Part 1: Show the output of failed jit-tests unless '--no-show-failed' is passed. r=sfink 2014-11-21 12:56:00 +01:00
Bobby Holley
26fc283b27 Bug 1102521 - Use AutoEntryScript/AutoJSAPI for CPOW answers. r=billm 2014-11-23 15:23:21 -08:00
Brian Hackett
b8bc67a4f9 Bug 1103273 - Fix uses of forwarding pointers in inline typed objects, r=sfink. 2014-11-23 11:09:41 -07:00
Brian Hackett
2777cc2722 Bug 1102329 - Fix unchecked downcast to JSFunction, r=jandem. 2014-11-22 11:51:52 -07:00
Terrence Cole
f4fc72589d Bug 1103173 - Avoid a lock/unlock pair if there are no Chunks to expire; r=sfink 2014-11-21 17:19:48 -08:00
Terrence Cole
7b11387c54 Bug 1074961 - Remove last of the open-coded Chunk list management; r=sfink 2014-11-20 17:03:45 -08:00
Terrence Cole
5255880de7 Bug 1074961 - Part 18: Use a ChunkPool for full chunks and get rid of chunkSet; r=sfink
--HG--
extra : rebase_source : b63841c680f10a758accd7a132338aa2e81e01b9
2014-11-20 04:08:18 -08:00
Chris Peterson
93053a8c80 Bug 1102131 - Part 3: Log console warnings for deprecated let expressions. r=shu
--HG--
extra : rebase_source : 2b979c45d9d35a259905dd242d2efe6148f13ed2
2014-11-16 00:49:20 -08:00
Chris Peterson
40ff0404ab Bug 1102131 - Part 2: Collect telemetry about deprecated let blocks and expressions. r=shu
--HG--
extra : rebase_source : 9e0db2c7a2f90545d27e78d46a334dbc27554209
2014-11-15 23:33:33 -08:00
Chris Peterson
c2f4519d08 Bug 1102131 - Part 1: Fix spelling of "LetExpresion". r=shu
--HG--
extra : rebase_source : d5aeb746550df4aed30cad5c4a795998ed5568ff
2014-11-15 23:27:22 -08:00
Terrence Cole
d06b4dec6a Bug 1101921 - Nursery heap size should scale with the chunk size; r=jonco
--HG--
extra : rebase_source : 0d50d5998f1d24af0e85050e617f2f088cb0b609
2014-11-19 15:01:54 -08:00
Terrence Cole
4554819e05 Backed out changeset 012e11e54840 (Bug 1101921) for build bustage on a CLOSED TREE
--HG--
extra : rebase_source : 38aac2c757b138fbdf754abb374f326048a5516a
2014-11-21 16:03:53 -08:00
Benjamin Peterson
568f75caf5 Bug 1102964 - Fix optimized build unused variables warnings in Debugger.cpp. r=jimb
--HG--
extra : rebase_source : 6fb34b6132bf588d0105cb50d1d7080db65022aa
2014-11-21 18:55:36 -05:00
Benjamin Peterson
b520b4da7a Bug 1102964 - Fix optimized build unused variable warnings in jit/. r=sunfish
--HG--
extra : rebase_source : 936082739eb5ea0da62e10a408b8601cb6622cc2
2014-11-21 18:51:02 -05:00
Terrence Cole
e2e81fba58 Bug 1101921 - Nursery heap size should scale with the chunk size; r=jonco 2014-11-19 15:01:54 -08:00
Hannes Verschore
d9c1eef6b2 Bug 1101821: IonMonkey: Fix Math.min and Math.max with more than 2 arguments, r=jandem 2014-11-21 23:18:08 +01:00
Steve Fink
4650f37b17 Bug 1088831 - Count storebuffer overflows, account for minor GCs, and implement timed regions, r=jonco
--HG--
extra : rebase_source : 45985b1dd8f4ee69ea992bdbd1b25746bfb17ffd
2014-11-18 11:26:11 -08:00
Jan de Mooij
fc1173705d Bug 1102498 - "SavedStacks sees extra frame on stack when resuming generator" [r=nfitzgerald]
--HG--
extra : rebase_source : 5e83c965f69fc0c129745514023c220b31419aee
2014-11-21 06:44:00 -08:00