Commit Graph

51031 Commits

Author SHA1 Message Date
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
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
Jon Coppeard
279474c28d Bug 930414 - Implement ModuleEvaluation method r=shu 2015-09-23 15:47:40 +01:00
Jon Coppeard
72772b7a50 Bug 930414 - Implement ModuleDeclarationInstantiation method r=shu 2015-09-23 15:47:40 +01:00
Jon Coppeard
424ab1e851 Bug 930414 - Implement module ResolveExport method r=shu 2015-09-23 15:47:39 +01:00
Jon Coppeard
76c5197467 Bug 930414 - Add hook for HostResolveImportedModule r=shu 2015-09-23 15:47:39 +01:00
Till Schneidereit
52972d2713 Bug 1188347 - Part 3: Only run test relying on debug builds in debug builds. r=bustage 2015-09-23 15:03:18 +02:00
Till Schneidereit
26ec27b525 Bug 1188347 - Part 2: Fix bustage. r=jandem
--HG--
extra : rebase_source : 45a1b1d49b545c1c04c63cd7ae5e8c97152c19e2
2015-09-23 14:00:03 +02:00
Till Schneidereit
3e91adfbc7 Bug 1188347 - Properly handle OOM during script cloning. r=jandem
--HG--
extra : rebase_source : f867184b557677ad18d831c0afed40907f4c09a4
2015-09-23 13:07:18 +02:00
Tooru Fujisawa
f2519a89ab Backed out changeset 4a1c66651bf0 (bug 1201869) for windows SM(p) OOM 2015-09-23 16:41:46 +09:00
Tooru Fujisawa
d7f417dc91 Backed out changeset 7757ecad90b7 (bug 1201869) for windows SM(p) OOM 2015-09-23 16:41:46 +09:00
Tooru Fujisawa
ffa86e6488 Backed out changeset 84e1d41336a5 (bug 1201869) for windows SM(p) OOM 2015-09-23 16:41:45 +09:00
Tooru Fujisawa
78200307b7 Backed out changeset 15f4976a4937 (bug 1199345) to backout patches for bug 1201869 2015-09-23 16:41:45 +09:00
Tooru Fujisawa
81fa7d6aad Backed out changeset fdac8ff4e7a4 (bug 1201869) for windows SM(p) OOM 2015-09-23 16:41:45 +09:00
Victor Carlquist
86fe3fdc1d Bug 1207236 - ARM64: Build errors with --enable-simulator=arm64. r=h4writer 2015-09-22 18:29:13 -03:00
Chris Peterson
71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Tooru Fujisawa
0d88b36a64 Bug 1201869 - Part 3: Add missing using mozilla::ArrayLength. r=bustage CLOSED TREE
--HG--
extra : rebase_source : 0f1634268714c1e90e4dd5c68ea50118a2ea4463
2015-09-23 15:42:07 +09:00
Tooru Fujisawa
a9650528da Bug 1199345 - Extend JSOP_NEWARRAY/JSOP_INITELEM_ARRAY/JSOP_SPREADCALLARRAY operand to uint32. r=Waldo
--HG--
extra : rebase_source : 00a67bd5e8fdc583bbb2041ed56e683373909d56
2015-08-29 17:56:38 +09:00
Tooru Fujisawa
f26de1fc39 Bug 1201869 - Part 2: Make an array sparse when exceeds the limit of dense array length. r=Waldo
--HG--
extra : rebase_source : ed89e0020bc4562822f8290e325d37ce6e445b0f
2015-09-05 13:24:02 +09:00
Jeff Walden
98b1851781 Bug 1201869 - Part 1: Fix the maximum length of a dense array. r=arai
--HG--
extra : rebase_source : d152e41ad1d2671dbf605e835d42009938d044fa
2015-09-05 12:51:18 +09:00