Commit Graph

43736 Commits

Author SHA1 Message Date
Jon Coppeard
e4c801fe24 Bug 1263884 - Don't report OOM when speculative shape table shrink fails r=jandem 2016-04-18 15:31:33 +01:00
Jan de Mooij
3b4f24a914 Bug 1124397 - More crash diagnostics. r=nbp
--HG--
extra : rebase_source : 77a6b4c0d179ca7dde85e3094f1754b3703a7d3d
2016-04-18 13:14:22 +02:00
Benjamin Bouvier
81900ec394 Bug 1263203: Ensure we don't have Phi values in wasm; r=luke
MozReview-Commit-ID: 5XKeBIJbpN0

--HG--
extra : rebase_source : 98e19813b27a7b274f772d2edbd045941eb5667e
extra : amend_source : 1ce91499cddedac649a113152ce2103ed4c5e0ae
2016-04-08 19:29:22 +02:00
Carsten "Tomcat" Book
fbeb4ca1bd Merge mozilla-central to mozilla-inbound 2016-04-18 08:51:38 +02:00
Tooru Fujisawa
5a3b8095ed Bug 1265187 - Backout bug 1263857 testcase due to frequent timeout on Windows xp debug jittest. r=Tomcat, a=Tomcat 2016-04-18 15:44:43 +09:00
Carsten "Tomcat" Book
558930f4e9 Backed out changeset e673dbc9848f (bug 1232686) for breaking VS2013 Builds 2016-04-16 10:57:53 +02:00
Wes Kocher
656b901828 Merge inbound to central, a=merge
MozReview-Commit-ID: BpCN8N6VSVt
2016-04-15 14:31:31 -07:00
Wes Kocher
59d9a1b8ae Backed out 4 changesets (bug 1263558) for jit OOM crashes a=backout
Backed out changeset 7fcc62dda4e3 (bug 1263558)
Backed out changeset faa055e3ace8 (bug 1263558)
Backed out changeset 94805cd19c15 (bug 1263558)
Backed out changeset ad22cb06de5d (bug 1263558)

MozReview-Commit-ID: JkWyfHDBf1E
2016-04-15 10:21:35 -07:00
Carsten "Tomcat" Book
c4445ccd33 merge mozilla-inbound to mozilla-central a=merge 2016-04-15 11:41:41 +02:00
Carsten "Tomcat" Book
f893a5d6de Backed out changeset 0a5cf306560d (bug 1255925) on request from evilpie 2016-04-14 16:20:02 +02:00
Jeff Walden
7757c74ac0 Declare and define ExecutableAllocator::reprotectRegion only #ifdef NON_WRITABLE_JIT_CODE, to eliminate MOZ_ASSERT of a constant condition that makes some compilers warn. No bug, r=efaust over IRC 2016-04-13 19:19:03 -07:00
Tooru Fujisawa
e13b5ceea4 Bug 1263803 - Change AllocateArrayBuffer to receive byteLength instead of nelements. r=lth 2016-04-16 01:53:03 +09:00
Jeff Walden
e97969a976 Bug 1257164 - Check for interrupts in a few loops in JSON.stringify to eliminate feedback-less hangs. r=evilpie
--HG--
extra : rebase_source : 6a0b76c8e7dd423246a9cd716cb6d80f3a23fde7
2016-04-13 14:39:58 -07:00
Carsten "Tomcat" Book
6d10ec2ab9 Backed out changeset db1b027cbeb1 (bug 1041586) for assertion failures in expression-autopsy.js 2016-04-17 05:46:02 +02:00
Carsten "Tomcat" Book
50c708e702 Backed out changeset 2021fd52a8c9 (bug 1041586) 2016-04-17 05:45:44 +02:00
Carsten "Tomcat" Book
b96ed92209 Backed out changeset 35b1a010cb9f (bug 1041586) 2016-04-17 05:45:42 +02:00
Tom Schuster
cbe6451568 Bug 1041586 - Tests. r=arai 2016-04-16 12:22:18 +02:00
Tom Schuster
3aff2303e6 Bug 1041586 - Use IsConcatSpreadable in Array.prototype.concat. r=arai 2016-04-16 12:22:12 +02:00
Tom Schuster
2587e419ad Bug 1041586 - Implement Symbol.isConcatSpreadable. r=arai 2016-04-16 12:21:48 +02:00
Carsten "Tomcat" Book
63dd433e61 Merge mozilla-central to mozilla-inbound 2016-04-16 11:23:40 +02:00
Nicholas Nethercote
5eb5cc7d6c Bug 1132502 (part 1) - Abort if compartmentStats is null during memory reporting. r=jandem.
We have inconclusive evidence that compartmentStats is sometimes nullptr during
memory reporting, which would be bad. This patch makes us abort in that case.
It also changes some pointers to references to make the expected non-nullness
clearer.

--HG--
extra : rebase_source : c49f727450ce065d0e84d7728057c93d35353e91
2016-04-15 12:03:39 +10:00
Jeff Walden
370120f9b8 Bug 1259877 - Adjust Promise code to use Call instead of Invoke. r=till
--HG--
extra : rebase_source : 991fbfe3fcc01a0b13768a68f8a490860b6ad68b
2016-03-25 22:19:09 -07:00
Jeff Walden
577281e2d7 Bug 1259877 - Rename FastInvokeGuard to FastCallGuard and make it not depend on CallArgs::set{Callee,This}, and remove js::Invoke. r=shu
--HG--
extra : rebase_source : 5c57a037a469a9e9a0df7d1a46c77b1845316d55
2016-03-22 13:40:21 -07:00
Jeff Walden
32071a25f8 Bug 1259877 - Update various builtins to use js::Call, not js::Invoke. r=efaust
--HG--
extra : rebase_source : 48a39d68dfbda641fbf1ace43864d70716bf145b
2016-03-22 13:40:20 -07:00
Jeff Walden
0fe8132890 Bug 1259877 - Update miscellaneous code to use js::Call instead of js::Invoke. r=till
--HG--
extra : rebase_source : 7881073ec02d63777da5275a64885823e3ba8ebf
2016-03-21 16:18:33 -07:00
Jeff Walden
40e4bb1dbb Bug 1259877 - Update ScriptedDirectProxyHandler code to use js::Call and FixedInvokeArgs. r=evilpie
--HG--
extra : rebase_source : 6616569ab392eb01524b0dc4abc9818e5ea0fb20
2016-03-21 16:17:28 -07:00
Jeff Walden
5df03c8ef4 Bug 1259877 - Update Reflect.parse callback code to work with InvokeArgs and js::Call. r=arai
--HG--
extra : rebase_source : 0d1b24ea2d4e821f419bab753db2471b1a827341
2016-03-21 16:13:36 -07:00
Jeff Walden
03498fc0e9 Bug 1259877 - Update function-calling JSAPI methods to use js::Call. r=sfink
--HG--
extra : rebase_source : 1f4ff1b389007b39ebdd6fd23a8d11c045f00d66
2016-03-21 16:12:54 -07:00
Jeff Walden
3be1890b85 Bug 1259877 - Update DoCallFallback to use js::CallFromStack. r=jandem
--HG--
extra : rebase_source : c6729d6dcb8005d361e9e782ecad1331d90403b8
2016-03-29 08:48:28 -07:00
Jeff Walden
6593c6a8fd Bug 1259877 - Update various miscellaneous function-calling code to js::Call. r=jandem
--HG--
extra : rebase_source : c01dadfba56df387e4cd5eb71c658e46fef8c7ab
2016-03-21 16:05:36 -07:00
Jeff Walden
8687a40f93 Bug 1259877 - Update Debugger code to use js::Call rather than Invoke. r=jorendorff
--HG--
extra : rebase_source : 2422976d3e6139413d20e0bc27f2a2f162160c21
2016-03-21 16:01:18 -07:00
Jeff Walden
8960d5f7bb Bug 1259877 - Add a bunch of Call overloads for 0/1/2 arguments with this as (HandleValue | JSObject*). r=jorendorff
--HG--
extra : rebase_source : 79b8e4b1cf54921417be31b17187ba4f8a72c8d5
2016-04-05 14:06:09 -07:00
Jeff Walden
20b04cbd46 Bug 1259877 - Add CallFromStack for certain internal users, js::Call for general use, and mark js::Invoke as deprecated. r=efaust
--HG--
extra : rebase_source : 4e2d82e18da373cc7ab7ba30e86af2f777665794
2016-03-21 15:51:13 -07:00
Jeff Walden
525e0715b0 Bug 1259877 - Eliminate Invoke(JSContext*, const CallArgs&, MaybeConstruct = NO_CONSTRUCT) by 1) renaming it to a more-internal name, 2) adding an Invoke overload for existing InvokeArgs providers only, and 3) adding an InternalInvoke function to temporarily mark non-InvokeArgs places using the existing signature that will later be changed not to. r=efaust
--HG--
extra : rebase_source : a5807c1c0c1685b6cfb8306fa82e1e430ce8e2b4
2016-03-21 14:32:26 -07:00
Jeff Walden
f5360f52f0 Bug 1259877 - Change js::DirectEval to take v/vp rather than a CallArgs to operate on directly. r=efaust
--HG--
extra : rebase_source : 8508fb793576454565ab316e515e77938f266317
2016-03-21 14:28:59 -07:00
Hannes Verschore
e0b8ab8aeb Bug 1262453: IonMonkey - Don't add resume point for constants, r=nbp 2016-04-13 10:04:04 -04:00
Hannes Verschore
4020f87091 Bug 1263895 - IonMonkey: Check return value of all functions in GVN, r=jandem 2016-04-13 10:04:02 -04:00
Hannes Verschore
e337970222 Bug 1263794 - IonMonkey: Crash when iterating graph and finding a nullptr MDefinition, r=jandem 2016-04-13 10:04:01 -04:00
Jon Coppeard
da4bbe510f Bug 1263881 - Check the the number of body level lexicals doesn't exceed that which we can store in Bindings r=shu
--HG--
extra : rebase_source : 639ae9e661e6605709ad2dcc09918391dd6b61c1
2016-04-13 14:06:21 +01:00
Jon Coppeard
c6b5b97275 Bug 1263871 - Fix OOM handling in while resolving function name r=shu
--HG--
extra : rebase_source : 8c4e2537c6661748036e267c855806c80aed1f7c
2016-04-13 14:06:21 +01:00
Tom Schuster
e5356af969 Bug 1255925 - Give a name to getters/setters and integer-named methods. r=efaust 2016-04-13 13:43:43 +02:00
Tom Schuster
c5870592c8 Bug 1041586 - Autogenerate symbol names. r=jorendorff 2016-04-13 13:43:43 +02:00
Greg Weng
775e4ae3c1 Bug 1198701 - ArrayIterator gets length property after iteration has finished. r=till 2016-04-12 18:29:00 +02:00
Jon Coppeard
a49aa74ce1 Bug 1259180 - Compact arenas containing scripts r=terrence 2016-04-13 10:03:44 +01:00
Mike Hommey
19f78b2dd2 Bug 1259382 - Remove support for Intel C/C++ compiler. r=ted 2016-04-13 17:11:36 +09:00
Jan de Mooij
3fd0587905 Bug 1262936 - Add missing OOM check to RegExpStack::reset. r=bhackett 2016-04-13 09:31:06 +02:00
Jan de Mooij
0ffeacf985 Bug 1263886 - Don't call makeConstructorCode if the group has unknown properties. r=bhackett 2016-04-13 09:29:57 +02:00
Jan de Mooij
f2d88a73fb Bug 1124397 - Add more crash diagnostics. r=efaust 2016-04-13 09:28:16 +02:00
Chris Peterson
13ac2212dd Bug 1103588 - Part 5: Remove deprecated String#contains function; use String#includes instead. r=till 2016-04-09 16:01:03 -07:00
Chris Peterson
3aeba200ca Bug 1103588 - Part 4: Replace deprecated String#contains in js tests. r=till
- Remove sudoku.js test's unnecessary String#contains and Array#contains polyfill functions.
- Replace warning.js test's String#contains warning with an expression closure warning.
2016-04-09 16:03:00 -07:00