Commit Graph

51049 Commits

Author SHA1 Message Date
Jan de Mooij
7abf7b0246 Bug 1205707 part 1 - Clean up some is-TypedArrayObject code in Ion. r=Waldo 2015-09-28 13:30:42 +02:00
Jan de Mooij
67828960f0 Bug 1191635 - Fix stack limit for evalInWorker runtime. r=bhackett 2015-09-28 13:30:40 +02:00
Jan de Mooij
34c825ad7d Bug 1207943 - Fix an assert in MacroAssembler::guardObjectType. r=bhackett 2015-09-28 13:30:38 +02:00
Wes Kocher
40f2f82907 Merge m-c to inbound, a=merge 2015-09-25 18:02:38 -07:00
Jeff Walden
780b2875a9 Bug 1101561 - Fix generator bootstrapping (for legacy and star generators both) to be OOM-safe. r=jandem
--HG--
extra : rebase_source : a80a7ad7bbac563e489c8c110d9df40a26a161ca
2015-09-24 12:51:56 -07:00
Jeff Walden
5cda3c1e75 Bug 1101561 - Fix %IteratorPrototype% initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : dc72bcf441d9ee39b893df3ba78cbb6e61c5336f
2015-09-24 12:51:55 -07:00
Jeff Walden
bd623be2ad Bug 1101561 - Fix %StringIteratorPrototype% initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 536f5a139a86b7749bf9f868e0e7604c0937db98
2015-09-24 12:51:55 -07:00
Jeff Walden
e815f375b1 Bug 1101561 - Fix %ArrayIteratorPrototype% initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 1b01d8f6fc9d5c95036c161b8ac241adfe39dca3
2015-09-24 12:51:55 -07:00
Jeff Walden
137cd22356 Bug 1101561 - Fix StopIteration class initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 15606a30fdff42d358977a793e1f4ff24dbe3fd3
2015-09-24 12:51:55 -07:00
Jeff Walden
91ee1fd4d4 Bug 1101561 - Move ensuring classes needed by parsing into a single method, and assert all needed prototypes are created as delegates. r=jandem
--HG--
extra : rebase_source : 4232e19fd44e4f6d213cb1142179ff4ca5fa6000
2015-09-25 11:22:28 -07:00
Terrence Cole
0c90745b80 Bug 1196847 - Part 2: Implement a cell hasher that uses unique id based hashes; r=jonco
--HG--
extra : rebase_source : e1464d566ec7dbf85b1b9d861450906945057e23
2015-08-26 14:51:35 -07:00
Terrence Cole
a10a39f891 Bug 1196847 - Part 1: Allow storage of a unique id for a cell independent of address; r=jonco
* * *
imported patch rewrite_uid_on_ht_with_zone_sweeping

--HG--
extra : rebase_source : e0d01c24e9ea7cdb9660f5cac3b65699eb091cfd
2015-08-20 10:35:22 -07:00
Wei-Cheng Pan
fb94baa0ac Bug 877896 - Print stack trace in the console service. r=bholley 2015-09-16 18:16:56 +08:00
Jeff Walden
9bc7583ece Back out 62ab5e142af3, 387c21d5c4e3, e3138a3efe4a, d8b09e2a11f1, 8add4271e98c, and ead219581dbe for bustage. r=badness-10000 in a CLOSED TREE 2015-09-24 19:43:36 -07:00
Jeff Walden
0bdea7ee42 Bug 1205937. r=jandem, with various input from efaust as well
--HG--
extra : rebase_source : 2647386aa30803f13ca8789454675e98cb167ece
2015-09-22 13:54:00 -07:00
Jeff Walden
2b52966dc7 Bug 1101561 - Fix generator bootstrapping (for legacy and star generators both) to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 4508a3ec55595d62c29776715d82f46e2739a014
2015-09-24 12:51:56 -07:00
Jeff Walden
911f434868 Bug 1101561 - Fix %IteratorPrototype% initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 149a8880d6b54d634c044d2fdd1255bdd547b153
2015-09-24 12:51:55 -07:00
Jeff Walden
d551aa37b6 Bug 1101561 - Fix %StringIteratorPrototype% initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 345fa7073d8fcbabcbd98bff8c5c7452f81ffa09
2015-09-24 12:51:55 -07:00
Jeff Walden
678917f7ca Bug 1101561 - Fix %ArrayIteratorPrototype% initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 023690c37e1abe6cd8317180153e2a8610a4802d
2015-09-24 12:51:55 -07:00
Jeff Walden
ccc0106dfb Bug 1101561 - Fix StopIteration class initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 63f71dbb418f37fc33b2b2497c545b9083d4a535
2015-09-24 12:51:55 -07:00
Jeff Walden
3214fcbcb6 Micro-fix to the parser for a linking issue that *seemingly* should affect everyone, yet hasn't produced any complaints I'm aware of yet. No bug, r=me for a trivial refactoring that evades the problem
--HG--
extra : rebase_source : f9a5538c0d20e4a77b6d692b13849e32a5015a35
2015-09-24 18:45:54 -07:00
Till Schneidereit
2819a9f44b Bug 1208067 - Ensure that self-hosted functions with innner functions aren't relazified. r=jandem
--HG--
extra : rebase_source : 83b0c1e600a798a154ed0037e3b12f2780436aff
2015-09-24 23:19:56 +02:00
Nick Fitzgerald
b3dadc255e Bug 1206290 - Part 1: Implement a JS::ubi::PostOrder depth first traversal; r=sfink 2015-09-24 14:01:22 -07:00
Nick Fitzgerald
896a2e9849 Bug 1206290 - Part 0: Move js/UbiNodeTraverse.h to js/UbiNodeBreadthFirst.h; r=sfink
--HG--
rename : js/public/UbiNodeTraverse.h => js/public/UbiNodeBreadthFirst.h
2015-09-24 14:01:22 -07:00
Wes Kocher
a8c9792653 Backed out changeset 6d452e559186 (bug 1206987) for causing windows jit test timeouts 2015-09-25 12:48:59 -07:00
Terrence Cole
efe4f5d3ea Bug 1207730 - Update comments in Barrier.h and sort classes in same order; r=sfink
--HG--
extra : rebase_source : 6e1aadbbfcf16bd6198d36c643c86282dc97a397
2015-09-23 11:06:52 -07:00
Terrence Cole
9f3728184b Bug 1205454 - Consolidate the tagged pointer marking methods; r=sfink
--HG--
extra : rebase_source : 18d7fe3f1f7d652e07c18a6e40b1b88f0e36cef0
2015-09-17 10:57:55 -07:00
Terrence Cole
d4c2e2b686 Bug 1207793 - Fix unified bustage from the TaggedPointer split; r=jolesen
--HG--
extra : rebase_source : 40bfb3129919ba6d69f6c5940667cf48db66f7dd
2015-09-22 16:25:12 -07:00
Terrence Cole
1f39d33b09 Bug 1206987 - Only suppress windows failure dialog boxes during tests; r=sfink
--HG--
extra : rebase_source : 26bbcb7fc7787cf43bc3b963b1e151c3152ccc81
2015-09-22 14:32:43 -07:00
Benjamin Bouvier
b1713a8478 Bug 1207449: Conservatively mark MFilterTypeSet with phis as not float32-compatible; r=h4writer
--HG--
extra : commitid : BDXD4wBQ10g
extra : rebase_source : 9d09d01c339aedac81db80be76f8a77cea6b0b45
2015-09-23 19:43:00 +02:00
Tooru Fujisawa
7a5d38258f Bug 1199345 - Extend JSOP_NEWARRAY/JSOP_INITELEM_ARRAY/JSOP_SPREADCALLARRAY operand to uint32. r=Waldo
--HG--
extra : commitid : imG7mt4Vvv
extra : rebase_source : 3989d27762c33124fa9223960fadf44fb7756d73
2015-08-29 17:56:38 +09:00
Tooru Fujisawa
d6f6b9e0d0 Bug 1201869 - Part 2: Make an array sparse when exceeds the limit of dense array length. r=Waldo
--HG--
extra : commitid : Hf5cv9HAcnR
extra : rebase_source : 3f8c46f4549cbfe8d267f6de4b930562681fcd25
2015-09-05 13:24:02 +09:00
Jeff Walden
4651e27655 Bug 1201869 - Part 1: Fix the maximum length of a dense array. r=arai
--HG--
extra : commitid : I8tr1GFtV1G
extra : rebase_source : 484ef497e9f9dd3ccc5c117fac8b027e0892395f
2015-09-05 12:51:18 +09:00
Tooru Fujisawa
6ac3f82e0b Bug 1201869 - Part 0: Rename MNewArray::count to MNewArray::length. r=Waldo
--HG--
extra : commitid : 8LecdYFVNex
extra : rebase_source : e83b4914c7802a5ea6292f342e13c28ef42be265
2015-09-19 12:03:24 +09:00
Nicholas Nethercote
b08e7b3457 Bug 1202561 - Mark no-longer-used constants in jsversion.h. r=jorendorff.
--HG--
extra : rebase_source : 796aa9a8ffadc9ec82fd1c5d66b5148f6c39ed5c
2015-09-23 11:51:31 -07:00
Ted Mielczarek
54fef6bd96 bug 1171649 - Implement arm/iOS support in JS JITs. r=jandem
This patch includes some assembly files from llvm's compiler-rt to implement __aeabi_ividmod and __aeabi_uidivmod.

--HG--
extra : commitid : 3kYDArfQ2b8
extra : rebase_source : da75248c6cf3709e96616bd22f8ee696cba44aa4
2015-09-23 10:21:41 -04:00
Terrence Cole
e4ca9c4a2b Backout 748829f0a151 (Bug 1206987) for breaking Jit on a CLOSED TREE. 2015-09-23 15:19:24 -07:00
Wes Kocher
b19d88b060 Backed out 7 changesets (bug 1206168, bug 1177318, bug 1054756) for hazard build failures CLOSED TREE
Backed out changeset e892727a373a (bug 1206168)
Backed out changeset 6c93d1044b7e (bug 1054756)
Backed out changeset 105433ce195b (bug 1054756)
Backed out changeset 13128a88f2b9 (bug 1054756)
Backed out changeset c250abf4fd17 (bug 1054756)
Backed out changeset fc9fef646a97 (bug 1054756)
Backed out changeset c8897f109a08 (bug 1177318)
2015-09-23 12:31:19 -07:00
Terrence Cole
34664b8354 Bug 1206987 - Only suppress windows failure dialog boxes during tests; r=sfink
--HG--
extra : rebase_source : e0546cf286e70cbf277bde1055e376c0f3d13670
2015-09-22 14:32:43 -07:00
Benjamin Bouvier
b34e6f5815 Bug 1207232: Let lockOwner be Atomic; r=terrence
--HG--
extra : commitid : FFrGdIRgTdY
extra : rebase_source : c04b2c8ed994fd3d74f3a4467015199d03e130ee
2015-09-22 19:26:21 +02:00
Jason Orendorff
5cfd64bf4d Bug 1206168 - Rename JS_DefaultValue to JS::ToPrimitive. r=jandem.
--HG--
extra : commitid : 4nCMAna0EKm
extra : rebase_source : b3590ed380216e2c1202b3773e7894702dc19a9e
2015-09-18 12:26:48 -05:00
Jason Orendorff
54e92d9beb Bug 1054756, part 5 - Remove Class::convert.
--HG--
extra : commitid : KrjkP1flM3c
extra : rebase_source : 8c367e3158528e92ac8ebc51521d32472f1e5bb1
2015-03-20 16:28:59 -05:00
Jason Orendorff
69f5edcebe Bug 1054756, part 4 - Remove BaseProxyHandler::defaultValue. r=jandem.
--HG--
extra : commitid : 2c3wdgbGsGs
extra : rebase_source : d7d00204286b855fc90e19ac85c74f046166b643
2015-03-20 14:03:24 -05:00
Jason Orendorff
81838ba2bd Bug 1054756, part 3 - Implement Symbol.toPrimitive. Replace existing convert hooks with methods. r=jandem.
JSClass::convert is no longer used after this, but to minimize the noise, it will be deleted in a separate patch. However all non-nullptr convert hook implementations must be replaced with [@@toPrimitive] methods in this patch to avoid changing the behavior.

The changes in XrayWrapper.cpp fix a pre-existing bug: when an Xray wrapper tries to emit the "Silently denied access" warning, if id is a symbol, the existing code triggers an error trying to convert it to a string for the warning message. Implementing Symbol.toPrimitive revealed this bug; the fix is straightforward.

--HG--
extra : commitid : Bod43vTkd1o
extra : rebase_source : 0cd6b8e3e7046952631b1b471430c5ab5002c7d8
2015-03-20 14:02:55 -05:00
Jason Orendorff
9719a36a06 Bug 1054756, part 2 - Move ToPrimitive slow paths into a non-inline function. r=jandem.
--HG--
extra : commitid : AE8kB73rGNo
extra : rebase_source : 74417a0623efca659939b9e2202e7ed2e82da52c
2014-10-31 17:17:20 -05:00
Jason Orendorff
ec6bc5a0e0 Bug 1054756, part 1 - Support symbol-keyed properties in JSXrayTraits::resolveOwnProperty(). r=jandem.
--HG--
extra : commitid : 8L9zXvmmUaY
extra : rebase_source : 3e472abcd4b4d8860be8a57200b29bb83e11d40e
2015-07-07 19:22:20 -05:00
Jason Orendorff
e39e70661e Bug 1177318 - Add Ion support for JSOP_TOSTRING, to make template strings faster. r=jandem.
--HG--
extra : commitid : 3LD3WfWJRcd
extra : rebase_source : 639d3d9cadbc6ef6fb1c9b411189c37f94e4eac1
2015-08-12 11:12:07 -05:00
Nick Fitzgerald
54a8708a3a Bug 1182653 - Use JSRuntime* instead of JSContext* in ubi::Node infrastructure; r=sfink
This enables the use of ubi::Node in situations where a JSContext* is not
available, and paves the way for debugging utilities to dump shortest paths from
GC roots to a given ubi::Node that can be used while paused in a debugger.
2015-09-23 09:39:56 -07:00
Benjamin Bouvier
f2632d25ad Bug 1207413: Check callers of TypeSets::unionSets for OOM; r=h4writer
--HG--
extra : commitid : BsmftzOWDho
extra : rebase_source : 8a472c0af72b9f78b3abcceef9c658e8bc91b7da
extra : amend_source : d6f61674fcdb64e3298d40920b548f73045b3ca0
2015-09-23 11:57:26 +02:00
Till Schneidereit
7c4d444f52 Bug 1188347 - Part 4: Root LazyScript* in CloneScriptIntoFunction. r=bustage
--HG--
extra : rebase_source : 64ba4d9dd94577b489ea922f7397e829d8662bd9
2015-09-23 17:15:03 +02:00