Commit Graph

46085 Commits

Author SHA1 Message Date
Jason Orendorff
195aa9ff10 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
f1f1c2a5c6 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
cb075f37c6 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
45fb002538 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
f8e9c4aaf6 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
77ad68103c 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
328c833702 Bug 1102893: Remove some SIMD.js outdated functions; r=till 2014-11-24 16:09:34 +01:00
Benjamin Bouvier
c3b8adcf02 Bug 1072368: Merge SIMD.js comparison tests in comparisons.js; r=till 2014-11-24 16:09:29 +01:00
Dan Gohman
5cc08e7f89 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
f226e5813f 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
707785ce7e Bug 1102542 - Release any relocated arenas on out of memory r=terrence 2014-11-24 10:42:21 +00:00
Jon Coppeard
e3df57f59e Bug 650161 - Remove an assertion that things don't move r=terrence 2014-11-24 10:40:33 +00:00
Emanuel Hoogeveen
8427a2e6b0 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
30d3456897 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
3c1d0fd115 Bug 1102521 - Use AutoEntryScript/AutoJSAPI for CPOW answers. r=billm 2014-11-23 15:23:21 -08:00
Brian Hackett
2c8a202b70 Bug 1103273 - Fix uses of forwarding pointers in inline typed objects, r=sfink. 2014-11-23 11:09:41 -07:00
Brian Hackett
5540c3e690 Bug 1102329 - Fix unchecked downcast to JSFunction, r=jandem. 2014-11-22 11:51:52 -07:00
Terrence Cole
4254d11678 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
1bc9a161e0 Bug 1074961 - Remove last of the open-coded Chunk list management; r=sfink 2014-11-20 17:03:45 -08:00
Terrence Cole
4e195d6ffb 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
e50f62ea85 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
1a48947a82 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
48f9369603 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
d583da7d39 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
91cd09280f 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
52f854355a 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
3e69cb4917 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
f3f0c8c515 Bug 1101921 - Nursery heap size should scale with the chunk size; r=jonco 2014-11-19 15:01:54 -08:00
Hannes Verschore
f45dc121c8 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
706af8fe14 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
c86defe21a 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
Steve Fink
2ff4d387d6 Bug 1098641 - Add os.{getpid,waitpid,spawn,system}, r=jorendorff 2014-11-13 16:12:34 -08:00
Benjamin Bouvier
563f5bfcdf Bug 1094855: Add SIMD.float32x4.minNum/maxNum to asm.js; r=luke 2014-11-21 17:27:46 +01:00
Benjamin Bouvier
bfb325186d Bug 1094855: Implement SIMD.float32x4.minNum/maxNum in the JITs; r=sunfish 2014-11-21 17:27:40 +01:00
Benjamin Bouvier
b6fd50acda Bug 1094855: Add helpers for cmpps; r=sunfish 2014-11-21 17:27:35 +01:00
Benjamin Bouvier
b24d182522 Bug 1094855: Move some tests in testSIMD.js; r=sunfish 2014-11-21 17:27:30 +01:00
Benjamin Bouvier
7ea905e56f Bug 1094855: Update SimdBinaryArith::Min/Max to properly handle comparisons involving -0/0 and NaNs; r=sunfish 2014-11-21 17:27:21 +01:00
Benjamin Bouvier
ccdc80feeb Bug 1094855: SIMD: Add minNum/maxNum and update min/max in the interpreter; r=till
--HG--
rename : js/src/tests/ecma_6/TypedObject/simd/float32x4max.js => js/src/tests/ecma_6/TypedObject/simd/float32x4-minmax.js
2014-11-21 17:27:17 +01:00
Till Schneidereit
7e20d71646 Bug 1069063 - Part 2: Make Array.prototype.includes Nightly-only. r=lth
--HG--
extra : rebase_source : 62e7c230290d039596771339c83e085f9358f882
2014-11-21 16:41:51 +01:00
Benjamin Bouvier
03b91def37 Bug 1079361: Use AsmJSSimdType rather than Type in SIMD type checking in asm.js; r=luke 2014-11-21 12:14:06 +01:00
Benjamin Bouvier
56c0ec83c0 Bug 1079361: SIMD: add support for {int,float}32x4.{load,store} to asm.js; r=luke 2014-11-21 12:13:40 +01:00
Benjamin Bouvier
66d0244777 Bug 1079361: Refactor AsmJSHeapAccess to include the view type of the heap access; r=luke 2014-11-21 12:12:29 +01:00
ZongShen Shen
287d8bae70 Bug 1066040 - IonMonkey: Implement the StringReplace recover instruction. r=nbp 2014-11-21 14:05:47 +01:00
Carsten "Tomcat" Book
7aeb9397f0 Backed out changeset 74527e0493c5 (bug 1079361) for Bustage on a CLOSED TREE 2014-11-21 12:46:07 +01:00
Carsten "Tomcat" Book
2449cfbedb Backed out changeset 39e6791cc5c5 (bug 1079361) 2014-11-21 12:45:43 +01:00
Carsten "Tomcat" Book
16a9ad26c4 Backed out changeset a7d29ca3d8c2 (bug 1079361) 2014-11-21 12:45:38 +01:00
Benjamin Bouvier
2c706f775b Bug 1079361: Use AsmJSSimdType rather than Type in SIMD type checking in asm.js; r=luke 2014-11-21 12:14:06 +01:00
Benjamin Bouvier
6996c5659d Bug 1079361: SIMD: add support for {int,float}32x4.{load,store} to asm.js; r=luke 2014-11-21 12:13:40 +01:00
Benjamin Bouvier
3d99d11936 Bug 1079361: Refactor AsmJSHeapAccess to include the view type of the heap access; r=luke 2014-11-21 12:12:29 +01:00
Benjamin Bouvier
bcdd89cb6e Bug 1088709: Add SIMD.{float,int}32x4.{load,store} to the interpreter; r=till 2014-11-21 12:11:59 +01:00
ziyunfei
d91ea4db6d Bug 1069063 - Implement Array.prototype.includes. r=till 2014-11-20 20:34:00 +01:00
Carsten "Tomcat" Book
d6a3510342 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2014-11-21 08:23:35 +01:00
Carsten "Tomcat" Book
96a6e8cb94 Backed out changeset 44c68f942d20 (bug 1071546) for ggc perma failures 2014-11-21 08:05:55 +01:00
Carsten "Tomcat" Book
40726eb004 Backed out changeset 2b29d8a00774 (bug 996509) 2014-11-21 08:04:23 +01:00
Carsten "Tomcat" Book
1d7121678c Backed out changeset 5c168f572252 (bug 996509) 2014-11-21 08:04:21 +01:00
Carsten "Tomcat" Book
f9ede388b0 Backed out changeset 8d040e2b9aff (bug 1072903) 2014-11-21 08:04:20 +01:00
Carsten "Tomcat" Book
79c6828d56 Backed out changeset 7d0eb79dd247 (bug 1072903) 2014-11-21 08:04:18 +01:00
Carsten "Tomcat" Book
a11f464268 Backed out changeset 5485b455c029 (bug 1072903) 2014-11-21 08:04:17 +01:00
Carsten "Tomcat" Book
e69a1b6df1 Backed out changeset 8b9390d62ecd (bug 1072903) 2014-11-21 08:04:15 +01:00
Carsten "Tomcat" Book
540f556ebd Backed out changeset 33167a292285 (bug 1072903) 2014-11-21 08:04:12 +01:00
Carsten "Tomcat" Book
51991c42be Backed out changeset 8661c6e4fa51 (bug 1072903) 2014-11-21 08:04:11 +01:00
Carsten "Tomcat" Book
791e6c76b8 Backed out changeset 971439e9c318 (bug 1072903) 2014-11-21 08:04:09 +01:00
Carsten "Tomcat" Book
337b01a0ea Backed out changeset f206e54f843e (bug 1072903) 2014-11-21 08:04:08 +01:00
Carsten "Tomcat" Book
75a0b29cbb Backed out changeset 8db5d425405f (bug 1072906) 2014-11-21 08:04:06 +01:00
Carsten "Tomcat" Book
f43b0058a3 Backed out changeset c54bb9df733b (bug 1072906) 2014-11-21 08:04:05 +01:00
Carsten "Tomcat" Book
cfb2f60ea0 Backed out changeset ba17a7e1ae7b (bug 1072910) 2014-11-21 08:04:03 +01:00
Carsten "Tomcat" Book
43fe90d065 Backed out changeset aa78b751e325 (bug 1083694) 2014-11-21 08:04:01 +01:00
Carsten "Tomcat" Book
83fd72df59 Backed out changeset 4ba3f3e635fc (bug 1083694) 2014-11-21 08:04:00 +01:00
Carsten "Tomcat" Book
8202639b0a Backed out changeset 59f15435d8de (bug 1083694) 2014-11-21 08:03:58 +01:00
Carsten "Tomcat" Book
cc8486ce7f Backed out changeset 83acb541d44a (bug 1083694) 2014-11-21 08:03:56 +01:00
Carsten "Tomcat" Book
860f384207 Backed out changeset aafd058bcab1 (bug 1083694) 2014-11-21 08:03:55 +01:00
Carsten "Tomcat" Book
978ab54374 Backed out changeset 7f5dc516518d (bug 1083694) 2014-11-21 08:03:53 +01:00
Carsten "Tomcat" Book
3d2c29ff48 Backed out changeset 05ca63f6ffe3 (bug 1083694) 2014-11-21 08:03:51 +01:00
Carsten "Tomcat" Book
d20c793c34 Backed out changeset 54c8f117c3db (bug 1083694) 2014-11-21 08:03:49 +01:00
Carsten "Tomcat" Book
a4e4cd0526 Backed out changeset 0ee7bf79625e (bug 1083694) 2014-11-21 08:03:46 +01:00
Hannes Verschore
190c7f4fc1 Bug 1083694 - TraceLogger: Part 9: Create dummy of rdtsc for all platforms, r=h4writer 2014-11-20 17:44:05 +01:00
Hannes Verschore
8b01ebecf5 Bug 1083694 - TraceLogger: Part 8: Handle quotes in filenames, r=h4writer 2014-11-20 17:44:05 +01:00
Hannes Verschore
ee47543ddc Bug 1083694 - TraceLogger: Part 7: Add some basic tests, r=h4writer 2014-11-20 17:44:05 +01:00
Hannes Verschore
6504c8dd28 Bug 1083694 - TraceLogger: Part 6: Fix --disable-trace-logging, r=till 2014-11-20 17:44:04 +01:00
Hannes Verschore
59b194b55f Bug 1083694 - TraceLogger: Part 5: Add TraceLogEvent to refer to specific events, r=bbouvier 2014-11-20 17:44:04 +01:00
Hannes Verschore
b90752b5b7 Bug 1083694 - TraceLogger: Part 4: Make it possible to log inlined IonMonkey frames, r=bbouvier 2014-11-20 17:44:04 +01:00
Hannes Verschore
576cd7d973 Bug 1083694 - TraceLogger: Part 3: Don't use EventEntry in TraceLoggerGraph, r=bbouvier 2014-11-20 17:44:03 +01:00
Hannes Verschore
f1798201c2 Bug 1083694 - TraceLogger: Part 2: Split meaning of Script into AnnotateScript and Script (called), r=till 2014-11-20 17:44:03 +01:00
Hannes Verschore
8653783fb9 Bug 1083694 - TraceLogger: Part 1: Only log time when TraceLoggerGraph is enabled, r=bbouvier 2014-11-20 17:44:03 +01:00
Hannes Verschore
f60f8b9d68 Bug 1072910 - TraceLogger: Create hooks for the debugger, r=bbouvier 2014-11-20 17:44:02 +01:00
Hannes Verschore
0b6b4a1006 Bug 1072906 - TraceLogger: Part 2: Improve the interface to setup the tracelogger, r=bbouvier 2014-11-20 17:44:02 +01:00
Hannes Verschore
98fe446b0e Bug 1072906 - TraceLogger: Part 1: Make it possible to toggle text ids dynamically in Baseline and IonMonkey, r=jandem 2014-11-20 17:44:02 +01:00
Hannes Verschore
55427fe5c3 Bug 1072903 - TraceLogger: Part 7: Disable TraceLoggerGraph by default, r=bbouvier 2014-11-20 17:44:01 +01:00
Hannes Verschore
239fbbcc62 Bug 1072903 - TraceLogger: Part 6: Add locking logic for TraceLoggerGraph, r=bbouvier 2014-11-20 17:44:01 +01:00
Hannes Verschore
908ce474a1 Bug 1072903 - TraceLogger: Part 5: Log whenever tracelogger gets enabled or disabled, r=bbouvier 2014-11-20 17:44:01 +01:00
Hannes Verschore
90cd125372 Bug 1072903 - TraceLogger: Part 4: Free things accordingly, r=bbouvier 2014-11-20 17:44:00 +01:00
Hannes Verschore
44eeb65d37 Bug 1072903 - TraceLogger: Part 3: Refactor into TraceLoggerGraph, TraceLoggerThread and TraceLoggerThreadState, r=bbouvier 2014-11-20 17:44:00 +01:00
Hannes Verschore
d662b0ced1 Bug 1072903 - TraceLogger: Part 2: Adjust how to retrieve the tracelogger text ids, r=bbouvier 2014-11-20 17:43:59 +01:00
Hannes Verschore
d2d8f3f850 Bug 1072903 - TraceLogger: Part 1.5: Fix iterations of stack when getting enabled, r=nbp 2014-11-20 17:43:59 +01:00
Hannes Verschore
8a265f320a Bug 1072903 - TraceLogger: Part 1: Remove static array and use function to retrieve the tracelogger text descriptions, r=bbouvier 2014-11-20 17:43:59 +01:00
Hannes Verschore
02c48dcda5 Bug 996509 - TraceLogger: Make it possible to toggle TraceLogger_Engine on and off, r=bbouvier 2014-11-20 17:43:58 +01:00
Hannes Verschore
fc56f6f332 Bug 996509 - TraceLogger: Make it possible to toggle TraceLogger_Script on and off, r=bbouvier 2014-11-20 17:43:58 +01:00
Hannes Verschore
55f9a71875 Bug 1071546 - TraceLogger: Build tracelogger by default, r=till,glandium 2014-11-20 17:43:58 +01:00
Tooru Fujisawa
69bc0ba9ab Bug 1099517 - Fix category/type of JSOP_DEBUGAFTERYIELD for bytecode documentation. r=jandem 2014-11-21 01:27:21 +09:00
Lars T Hansen
f53d7464f2 Bug 1073096 - ARM support for atomics for Odin/asm.js. r=dtc-moz 2014-11-20 16:27:43 +01:00