Граф коммитов

54352 Коммитов

Автор SHA1 Сообщение Дата
Nicolas B. Pierron 41e52d7ff0 Bug 1264998 - CodeGeneratorShared::assignBailoutId: Properly handle allocation errors. r=h4writer 2016-04-19 17:26:39 +00:00
Benjamin Bouvier 68070b0a47 Bug 1265741: Fix unified build for fuzzers; r=nbp
MozReview-Commit-ID: 7yBDjPKv77g

--HG--
extra : rebase_source : 484f098ff3d27ef734010a7b41755b5315e7e798
extra : amend_source : c6799f01860c7fa6fcf12efc28254e825aabcf5a
2016-04-19 16:12:20 +02:00
Yury Delendik 84bc1d6b23 Bug 1265133 - Adds s-expr comments support for wasmTextToBinary. r=sunfish 2016-04-15 23:18:57 -05:00
Lars T Hansen a64e1e3847 Bug 1263902 - check return value from JS_smprintf. r=bbouvier, r=shu
--HG--
extra : rebase_source : c212beece2b24dfdf9888546289ed1649aa1af77
extra : amend_source : 65592b062fd6e97896f141feb67bdd6f29362f91
2016-04-18 15:28:40 +02:00
Nicholas Nethercote 5bb2e1ae86 Bug 1132502 (part 2) - Don't call AddClassInfo() for BaseShapes. r=jandem.
It appears to cause crashes, and the effects of not calling on memory reporting
accuracy are minor. The code should be able to be re-enabled once
heap-allocated js::Class instances no longer occur.

--HG--
extra : rebase_source : 6dcf36aa21ade45b0397b3df531aaaa8f754af49
2016-04-19 10:21:00 +10:00
Mike Hommey 8990bb15dd Bug 1264482 - Move adding -std=gnu99 and -std=gnu++11 to moz.configure. r=ted
We were unconditionally adding them, now actually check what the
compilers default to and add the flags if they are necessary.
This will, in the future, allow finer grained policy changes, where
we can decide that C++11 and C++14 are fine, downgrading compilers
that do C++17, etc.
2016-04-19 15:09:37 +09:00
Terrence Cole 5c75dc87d3 Backout ab87b53b3140 (Bug 1263771) for breaking the MSVC2013 build 2 days before uplift.
--HG--
extra : rebase_source : 7a2e41bf68aba3b536355de937e4eb7f42e00bb7
2016-04-18 15:50:28 -07:00
Benjamin Bouvier 3273b07efd Bug 1263870: Check allocation in WasmAstModule::declare; r=luke
MozReview-Commit-ID: bRq5jNR6uJ

--HG--
extra : rebase_source : e94a48b621c949a9dbf197afc6c21bdd61168d32
extra : histedit_source : 127c1de2fd8d8bcb19042d1a6c14e8cf16fa8633
2016-04-18 16:13:01 +02:00
Benjamin Bouvier a2c569fa0f Bug 1263882: Set a default value in DescribeScriptedCaller if the filename is null; r=luke
MozReview-Commit-ID: KTJGoH8KEAc

--HG--
extra : rebase_source : a001c14890d68a76aa8cc6c2141d95391c297efe
extra : histedit_source : a9d79f96cffd2002b6b961a18faae0b42e853138
2016-04-18 16:47:25 +02:00
Jon Coppeard 99bbb3221b Bug 1263966 - Compact arenas containing lazy scripts r=terrence 2016-04-18 16:27:54 +01:00
Benjamin Bouvier fd0feca4f6 Bug 1262402: Use the new int64 testing features; r=luke
MozReview-Commit-ID: 4sfNzBxqt13

--HG--
extra : rebase_source : 7938cb8bbd5e7ec3394d24fa8c31ddac81e054ce
2016-04-06 12:18:32 +02:00
Benjamin Bouvier 942a983108 Bug 1262402: Add i64 testing infrastructure in Baldr; r=luke
MozReview-Commit-ID: EtcTTnhiuNY

--HG--
extra : rebase_source : 636097c90258db0bcda86e9bcf9fa5e55112ccba
2016-04-11 13:03:39 +02:00
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
Jeff Walden 7a694921d3 Bug 888969 - Make XPCJSID instanceof comparisons work correctly when [[GetPrototypeOf]] on the [[Prototype]] chain of the instance being tested throws an exception. r=bz
--HG--
extra : rebase_source : 20bcd4f23114762afa4ad708085c3accbbbe5d64
2016-04-13 14:30:16 -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
Nicholas Nethercote 6dd45df6bb Bug 1264778 - Merge some XPConnect js::Class instances. r=mrbkap.
XPC_WN_WithCall_ObjectOps and XPC_WN_NoCall_ObjectOps are both equal to
JS_NULL_OBJECT_OPS.

As a result, XPC_WN_ModsAllowed_{With,No}Call_Proto_JSClass are identical, as
are XPC_WN_NoMods_{With,No}Call_Proto_JSClass. (In both cases, modulo the class
name.)

This patch merges those identical-except-for-their-name pairs, resulting in
XPC_WN_ModsAllowed_Proto_JSClass and XPC_WN_NoMods_Proto_JSClass.

--HG--
extra : rebase_source : 64c5990fa5dd09418466ee25a24300bb9cfd3596
2016-04-04 16:25:21 +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