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

45276 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Bouvier 4a83ef1127 Bug 1068725: More debugging and assertions for MoveGroups; r=sunfish 2014-09-30 11:33:11 +02:00
Douglas Crosher 333bf1d10b Bug 1071456 - IonMonkey: optimize DoubleToFloat32 to useAtStart the argument. r=sunfish 2014-09-27 00:31:13 +10:00
Douglas Crosher 6b3ee519b9 Bug 1070985 - IonMonkey x64: add some move instructions with a constant address operand, and fix the formatters to emit REX prefixes. r=nbp 2014-09-30 01:02:11 +10:00
Nick Fitzgerald 3db6a4453b Bug 1056373 - Remove debug logging that accidentally got left over. r=jimb 2014-09-23 09:00:00 +02:00
Lars T Hansen 0a5f96352b Bug 1072176 - Clean up misplaced assertions in public functions. r=waldo
--HG--
rename : js/src/jit-test/tests/sharedbuf/bug1068458-toolong.js => js/src/jit-test/tests/sharedbuf/toolong.js
2014-09-30 10:23:28 +02:00
Ryan VanderMeulen c8d14e42a2 Merge m-c to fx-team. a=merge 2014-09-29 16:09:22 -04:00
Benjamin Bouvier 4c36c9b130 Bug 1072927: Make SIMD MIR nodes cloneables; r=bhackett 2014-09-29 16:54:21 +02:00
Benjamin Bouvier 388cc90c2b Bug 1072927: Use macros for specifying which ops are valid for which SIMD type; r=luke 2014-09-29 16:54:14 +02:00
Benjamin Bouvier ce04a8cf49 Bug 1072927: Factor out SIMD cast validation in Odin; r=luke 2014-09-29 16:54:09 +02:00
Bobby Holley 8b421a48d3 Bug 1070842 - Factor script error event dispatch into a separate function. r=bz 2014-09-29 15:34:21 +02:00
Bobby Holley 94bd419133 Bug 1070842 - Remove ambiguous globals from xpc::ErrorReporter and make meanings explicit. r=bz 2014-09-29 15:34:20 +02:00
Jon Coppeard 966e76ebfe Bug 650161 - Fix interactions between compacting GC and recent typed object changes r=terrence 2014-09-29 09:50:18 +01:00
Jon Coppeard 1f741191df Bug 650161 - Fix interactions between compacting GC and type inference r=terrence 2014-09-29 09:50:18 +01:00
Jon Coppeard 2013670e0e Bug 650161 - We don't need an objectMoved hook for global objects r=terrence 2014-09-29 09:50:17 +01:00
Jon Coppeard 67333a5971 Bug 650161 - Don't move global objects even if the JITs are disabled r=terrence 2014-09-29 09:50:17 +01:00
Bobby Holley a24c29adc9 Bug 1070131 - Switch originPrincipals to a mutedError flags. r=luke,r=bz
--HG--
rename : js/src/jsapi-tests/testOriginPrincipals.cpp => js/src/jsapi-tests/testMutedErrors.cpp
2014-09-29 10:44:30 +02:00
Bobby Holley 2a1c09c3d0 Bug 1070131 - Stop XDR-serializing origin principals. r=luke,r=bz 2014-09-29 10:44:30 +02:00
Stephen Pohl 579061de7c Mac v2 signing - Bug 1060562 - Update xpcshell-tests for the new v2 bundle structure on OSX. r=jmaher 2014-09-29 11:51:29 -07:00
Marty Rosenberg 77ae465e31 Bug 1073771 - Add namespaces and whatnot to make JitMoveEmitterCycles compile. r=dougc
--HG--
extra : rebase_source : 240b569193324e88bf8e30c0f344e519bc096938
2014-09-26 21:48:00 -04:00
Ryan VanderMeulen 5202d5d927 Backed out changeset a1fb032b0216 (bug 1073771) for SM(arm) bustage. 2014-09-27 15:59:09 -04:00
Brian Hackett 0efd6b95f5 Bug 1073851 - Add check for TypedObject property in test. 2014-09-27 12:22:13 -07:00
Marty Rosenberg 9459b09cd3 Bug 1073771 - Add namespaces and whatnot to make JitMoveEmitterCycles compile. r=dougc
--HG--
extra : rebase_source : 50eb1858d4c2103766c77d51684b926993dfceb8
2014-09-26 21:48:00 -04:00
Brian Hackett 2401968ae8 Bug 1069688 - Rename OwnedTypedObject to OutlineTypedObject. 2014-09-26 18:55:16 -07:00
Wes Kocher 4557755686 Backed out changeset a8d4bd3746ec (bug 1056409) for m-oth failures on a CLOSED TREE 2014-09-26 15:40:41 -07:00
Jim Blandy f8940a20f6 Bug 1073320: Document and test the effect of removing debuggees on breakpoints. r=sfink 2014-09-26 15:35:09 -07:00
James Long 1c37a140e3 Bug 1056409 - move the `sourceMapURL` property from Debugger.Script to Debugger.Source r=jorendorff
commit a5e75ddf88dfc2fce84fb5889a63d5d805f2d1e1
Author: James Long <longster@gmail.com>
    patch
2014-09-25 23:04:50 -04:00
Dan Gohman ec051c3d79 Bug 1070955 - IonMonkey: GVN: Split phi operand removal from removePredecessor so that GVN can do this itself r=nbp 2014-09-23 17:32:57 -07:00
Nicolas B. Pierron 0bef0ad131 Bug 1007213 - Capture implicit dead branches caused by type barriers. r=sunfish 2014-09-26 19:48:00 +02:00
Nicolas B. Pierron 503c79a578 Bug 1072911 - Scalar Replacement: Add missing MIRTypes. r=h4writer 2014-09-26 19:47:59 +02:00
Peter Van der Beken 29c43cc253 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, stop forwarding sets to Traits. r=bholley.
--HG--
extra : rebase_source : dd7cccd24eb8d1c866a10784f29eb067ed29707a
2014-09-15 16:52:11 +02:00
Peter Van der Beken ebc693bfd7 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make Xrays walk the prototype chain when resolving DOM properties. r=bholley.
* * *
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, remove obsolete code. r=bholley.

--HG--
extra : rebase_source : 7a9aa81d3e9d74ed958374942020474147aa4f86
2014-09-15 16:51:40 +02:00
Terrence Cole db9616cb01 Bug 1064346 - JSFunction's extended attributes expect POD-style initialization. r=billm 2014-09-10 15:42:36 -07:00
Jeff Walden f83a8d78dc Remove tabs from js/src/vm. No bug, r=dietabsdie and DONTBUILD because |hg qdi -w| prints nothing for this change 2014-09-29 16:47:52 -07:00
André Bargull 2174ece369 Bug 1068589 - Remove forced extensible check before calling JSObject::preventExtensions. r=jwalden
--HG--
extra : rebase_source : 5ec8efb801fd67dd7c9d08ad0259aaee36f225ce
2014-09-23 22:47:01 +02:00
Terrence Cole fb8adde1a7 Bug 1064578 - Part 7: make MaybeAutoPhase a special case of AutoPhase; r=jonco
--HG--
extra : rebase_source : 1072489364c163a665e88c76c561b33d2ffb3055
2014-09-23 15:16:50 -07:00
Terrence Cole ed249d7942 Bug 1064578 - Part 6: make zone sweeping fine-grained too; r=jonco
--HG--
extra : rebase_source : 002d5e61254440f939e5f35bb35937481189f046
2014-09-22 13:22:30 -07:00
Terrence Cole bb969e6fa0 Bug 1064578 - Part 5: common up the redudant phase guards; r=jonco
--HG--
extra : rebase_source : 2e9f44f99f3f45746b9d7aca0b632da62bd798b5
2014-09-22 12:45:42 -07:00
Terrence Cole d8b71ddee4 Bug 1064578 - Part 4: remove the arbitrary phase distinction we make for tables; r=jonco
--HG--
extra : rebase_source : 6116163ca5f6ca9a3eccddf434c9782fc457094c
2014-09-22 11:47:53 -07:00
Terrence Cole 1e308472a9 Bug 1064578 - Part 3: move the table sweeping sections into a separate block; r=jonco
--HG--
extra : rebase_source : d01822fc937cc2fe7230eae338aa15cda1ae2f73
2014-09-22 11:16:09 -07:00
Terrence Cole d1a9a441e2 Bug 1064578 - Part 2: make compartment sweeping fine-grained; r=jonco
--HG--
extra : rebase_source : 8cc9f3f4781b74a053de8c199128e8ff03ff8332
2014-09-22 10:41:23 -07:00
Terrence Cole 353958d0cc Bug 1064578 - Part 1: move gc sweep phase guards above loop heads; r=jonco
--HG--
extra : rebase_source : ccc8700f784e6b73c9a87a1f8524b4cf206aa9b0
2014-09-22 10:23:32 -07:00
Bill McCloskey ca7f3b096e Bug 1048968 - Don't use e10s shims when add-on contains unprivileged content (r=bholley) 2014-09-29 13:05:22 -07:00
Jan de Mooij 784b508467 Bug 1046751 - Assert the frontend does not leave pending exceptions. r=jorendorff 2014-09-29 20:53:00 +02:00
Jan de Mooij 06a9724510 Bug 909389 - Remove --ion-compile-try-catch shell flag. r=djvj 2014-09-29 20:52:57 +02:00
Jan de Mooij 3f4c3e3d5e Bug 1073652 - Baseline-compile JSOP_THROWING. r=bhackett 2014-09-29 20:52:55 +02:00
Trevor Saunders 2ef4ef49ff no bug - fix nullptr to bool conversion in TypedArrayCommon.h r=themaid 2014-09-29 14:38:09 -04:00
Victor Carlquist 781a240255 Bug 1054330 - Add a Baseline stub for string.split(string) calls. r=jandem 2014-08-21 18:09:03 -03:00
Hannes Verschore 608af8951e Bug 1072691: IonMonkey: Fix case of negative zero when folding ternary structure, r=nbp 2014-09-26 15:15:23 +02:00
Hannes Verschore 4c676ebf7b Bug 1072691: IonMonkey: Fix hoisting of operand when folding ternary structure, r=nbp 2014-09-26 15:15:21 +02:00
Douglas Crosher fdedfa5efd Bug 1039993 - OdinMonkey: pad the stack to the SIMD alignment if there are calls or SIMD instructions. r=luke 2014-09-25 20:15:35 +10:00
Brian Hackett b6419e9f3a Bug 1073842 - Add NativeObject subclass of JSObject, remove ObjectImpl, r=luke. 2014-10-02 19:32:39 -07:00
Till Schneidereit 862aa1741c Bug 1075059 - Part 2: Backout of Array.prototpype.contains. r=jorendorff
--HG--
extra : rebase_source : 088d2cc999b55eb2c6c0d43b47bc5f3cc6d9d69a
2014-10-02 17:38:46 +02:00
Mukilan Thiyagarajan b1ad734388 Bug 1073016 - Optimize LRound and LRoundF on x86/x64. r=nbp 2014-10-02 17:21:39 +02:00
Hannes Verschore f66c67aff6 Bug 1073861 - IonMonkey: Don't update types during type policy, r=jandem 2014-10-02 17:11:28 +02:00
Michael Wu 38ff59f01d Bug 1073094 - Disable jsloader.reuseGlobal on debug builds, r=khuey 2014-09-30 12:25:41 -04:00
Phil Ringnalda 6eb3e94389 Back out 693507b38116 (bug 1041180) since it doesn't like compiling without its friend
CLOSED TREE
2014-09-25 21:18:01 -07:00
Brian Hackett 8ce12a05a9 Bug 1069688 - Use inline data for small opaque typed objects, r=sfink, nmatsakis. 2014-09-25 18:17:55 -07:00
Terrence Cole 39c65c0ff6 Bug 1070638; r=just_a_test 2014-09-25 17:04:11 -07:00
Christoph Kerschbaumer fd3d3cc25b Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-25 16:10:28 -07:00
Jason Orendorff e2b31ef29c Bug 1072541 - Remove orphaned declaration of JS_WrapAutoIdVector, whose implementation was removed in rev 828bbf429995. r=terrence.
--HG--
extra : rebase_source : 5c77bbe4ccf96264bb925a1c562e51112f88a26e
extra : amend_source : 471161bd1e3532b013ae0a2f4d74bca81b84fe68
2014-09-24 14:58:33 -05:00
Jason Orendorff a54668547a Eliminate a warning when running JS jit-tests. No bug, no_r=me, testonly.
--HG--
extra : rebase_source : 64ed626a761e17df5d0d0f79fb517645aa6b6445
2014-09-24 18:38:42 -05:00
Jason Orendorff ext:(%2C%20ziyunfei%20%3C446240525%40qq.com%3E) 236b987da5 Bug 1054835 - JSMSG_PAREN_BEFORE_FORMAL parse error in Method Definitions in strict mode. Tests by ziyunfei, who discovered the bug. r=Waldo.
--HG--
extra : rebase_source : 4fd8bfca7e331c886c090d4272891b150fc66bd7
2014-09-22 17:15:53 -05:00
Ryan VanderMeulen 8a931577a4 Backed out changesets b08e57dbef4e and 1049cfbf3426 (bug 947044) for various regressions. 2014-09-25 14:32:43 -04:00
Simon Lindholm 0d742cb8cd Bug 981987 - Set displayURL before invoking Debugger.onNewScript hook. r=jimb 2014-09-25 09:14:00 -04:00
Lars T Hansen adf992cc55 Bug 1071024 - fix style violations. r=me 2014-09-25 20:08:10 +02:00
Nicolas B. Pierron 7b93aaa31a Bug 1064358 - Recover CreateThisWithTemplate. r=jandem 2014-09-25 19:12:55 +02:00
Nicolas B. Pierron 22b82ecda6 Bug 1064358 - Recover state of MCreateThisWithTemplate objects. r=jandem 2014-09-25 19:12:55 +02:00
Nicolas B. Pierron 5bd663f8a3 Bug 1067489 - IonMonkey: Make |this| recoverable. r=shu 2014-09-25 19:12:55 +02:00
Jon Coppeard e608cad934 Bug 1063468 - Remove more unnecessary use of address() r=sfink 2014-09-25 17:39:02 +01:00
Terrence Cole 6271e71467 Bug 1072696 - Don't leak the debugScopes pointer if init fails; r=terrence 2014-09-25 09:31:05 -07:00
Guilherme Goncalves 402eaa8531 Bug 1071998 - Use js_free to free JSShellContextData in the JS shell. r=jorendorff
--HG--
extra : rebase_source : cee995d8aa10e9e45f23984345f2978b7e8e4798
2014-09-25 04:00:00 -04:00
Guilherme Goncalves d37e99f167 Bug 1071996 - Use JS_free to free memory allocated by JS_malloc in testXDR.cpp. r=Waldo
--HG--
extra : rebase_source : 19683822dcfac8efb5b09916c751ea352f57804e
2014-09-24 09:54:00 -04:00
ziyunfei 51e51933aa Bug 1071464 - Object.isFrozen() should return true when given primitive values as input. r=till
--HG--
extra : rebase_source : b905336908fb6d2cc23b9ff019bd307c62d950d8
2014-09-23 16:17:14 +08:00
Guilherme Goncalves 6efaad6645 Bug 1071967 - Replace ScopedFreePtr with UniquePtr in jsapi.cpp. r=terrence
ScopedFreePtr is deprecated and uses |free| directly, as opposed to
UniquePtr, which can be made to use js_free.
2014-09-23 15:16:00 -04:00
Benjamin Bouvier a6004515f4 Bug 1069956: SIMD: Add support for int32x4.fromFloat32x4Bits and float32x4.fromInt32x4Bits in Odin; r=luke 2014-09-25 13:18:21 +02:00
Benjamin Bouvier dbfbf336f5 Bug 1069956: SIMD x86-x64 backend: implement SimdReinterpretCast; r=sunfish 2014-09-25 13:18:14 +02:00
Benjamin Bouvier 50c6f26e9d Bug 1069956: SIMD: Add support for int32x4.fromFloat32x4 and float32x4.fromInt32x4 in Odin; r=luke 2014-09-25 13:18:08 +02:00
Benjamin Bouvier 900c9c8c75 Bug 1069956: SIMD x86-x64 backend: implement SimdConvertFrom; r=sunfish 2014-09-25 13:18:05 +02:00
Bobby Holley 8e8a7d28c3 Bug 1065811 - Track Xray waivers with CPOWs. r=billm 2014-09-25 13:13:29 +02:00
Bobby Holley 8b65a1f10b Bug 1065811 - Clean up ObjectId handling with static type checking. r=billm
While adding the CPOW flag for xray waivers, I discovered a bunch of
inconsistency and sloppiness with respect to our handling of object ids,
and a general lack of clarity about when the id included flags or not. Given
the fact that I'm removing static callability for CPOWs, we _could_ just get
rid of the flags, and store the xray waiver state on the answer-side only. But
I eventually decided that these kinds of flags (which are accessible to both
the Answer _and_ the Owner) had enough potential utility that they were worth
cleaning up.

It's worth noting that that utility comes with the large caveat that the flags
can't be trusted for security-sensitive decisions (at least in the parent->child
case), since they could be forged by a compromised child.
2014-09-25 13:13:29 +02:00
Bobby Holley 4f60ec8b3f Bug 1065811 - Stop statically computing callability/constructibility on CPOWs. r=billm 2014-09-25 13:13:29 +02:00
Bobby Holley db168e5cde Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm 2014-09-25 13:13:28 +02:00
Bobby Holley 098daff552 Bug 1065811 - Fix some soon-to-be rooting hazards. r=billm
When we starting forwarding isCallable and isConstructor over CPOWs, calls that
could potentially invoke this proxy trap can now GC.
2014-09-25 13:13:27 +02:00
Nicholas Nethercote cda9c17f4b Bug 1070251 - Anonymize non-chrome inProcessTabChildGlobal URLs in memory reports when necessary. r=khuey.
--HG--
extra : rebase_source : a204dbae9f853be3ade1cdebfa0f4ac01fa3a174
2014-09-24 19:08:20 -07:00
Bobby Holley 0058889876 Bug 1072174 - Handle all the cases XrayWrapper.cpp. r=peterv 2014-09-24 21:58:33 +02:00
Bill McCloskey c7186218ab Bug 1069704 - Fix broken deterministic JS build (lol=jorendorff) 2014-09-24 16:35:08 -07:00
Aleksandar Zlicic 5bf9825a0a Bug 1072300 - IonMonkey MIPS: tests fail on MIPS (asm.js/testMathLib.js, ion/testFloat32-correctness.js, ion/testFloat32.js). r=rankov 2014-09-24 15:37:15 +02:00
Branislav Rankov 13366270f1 Bug 1058640 - IonMonkey MIPS: Added testJitMoveEmitterCycles-mips.cpp and fixed bug in MoveEmitter. r=mjrosenb 2014-09-24 11:40:51 +02:00
Branislav Rankov a8a3a8e2cb Bug 1058024 - IonMonkey: (ARM) Fix jsapi-tests/testJitMoveEmitterCycles. r=mjrosenb 2014-09-02 15:59:38 +02:00
Benjamin Bouvier fc377d89ee Bug 1071444: Return stack offset before incrementing it for win64 args; r=luke
--HG--
extra : rebase_source : 047d297026d9d71d7481f51776093df2f5048969
2014-09-24 16:01:42 +02:00
Nicolas B. Pierron 7e89634dfe Bug 1063653 - Add testcase. r=bhackett 2014-09-24 15:42:57 +02:00
Ehsan Akhgari 6904219eef Bug 1068024 - Fix more bad implicit constructors in JS; r=luke,Waldo
--HG--
extra : rebase_source : 1eea3e7dfc3235a1b99d7deb131efda07dde4eac
2014-09-23 22:04:52 -04:00
Lars T Hansen 316cdafd62 Bug 1071618 - New instructions in the ARM assembler. r=mjrosenb 2014-09-24 15:00:19 +02:00
Jon Coppeard 132fb38dd4 Bug 650161 - Unify the finalization and moving GC callbacks into a weak pointer update callback r=terrence r=bholley 2014-09-24 12:54:11 +01:00
Jon Coppeard 9cf17436a8 Bug 650161 - Fix up XPCJSRuntime object pointers on moving GC r=bholley 2014-09-18 18:14:50 +01:00
Lars T Hansen 3bbcf48581 Bug 1071604 - Mechanisms for triggering the ARM simulator's REPL. r=mjrosenb 2014-09-24 13:52:11 +02:00
Carsten "Tomcat" Book 76043a5642 Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures 2014-09-24 13:13:20 +02:00
Hannes Verschore 41e4f79370 Bug 1071879 - IonMonkey: Hoist operand when folding ternary structure, r=nbp 2014-09-24 12:47:58 +02:00
Hannes Verschore b22f3347b3 Bug 1047266 - IonMonkey: Improvements to folding and lowering of MTest, r=sunfish 2014-09-24 11:07:33 +02:00
Christoph Kerschbaumer a2ecbd83dc Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Marty Rosenberg 7fc66e38ca bug 1039993: win8 mysteriously fails with this patch. Fix with an #ifdef until hardware can be acquired CLOSED TREE r=red 2014-09-24 04:32:46 -04:00
Bill McCloskey 3919c8a23b Bug 1068225 - Fix up assertion to check the right thing. r=bholley 2014-09-24 09:17:33 +02:00
Nick Fitzgerald 51675a240f Bug 947044 - Part 2: Fix tests that check ReferenceError's message. r=gavin 2014-09-22 16:13:00 +02:00
Nick Fitzgerald 90a2be9118 Bug 947044 - Provide a suggestion when throwing ReferenceError: <name> is not defined. r=luke 2014-09-23 16:34:00 +02:00
Marty Rosenberg dd161bc477 Bug 1039993: Don't try to re-use the input on float32 -> double conversions, it can go wrong on ARM due to deep-seated reasons. (r=jandem, terrence via irc) 2014-09-24 02:26:00 -04:00
Jeff Walden 5165b621b6 Bug 896116 - Followup to fix an ASAN test failure (that also affects normal builds, except apparently our tests don't manage to buffer-overflow spectacularly enough there to trigger a crash). r=bustage in a CLOSED TREE 2014-09-23 18:16:58 -07:00
Shu-yu Guo e53f2844d9 Bug 1068668 - Followup: Skip regress-698028-2.js if not running in the shell. (r=me) 2014-09-23 16:42:19 -07:00
Wes Kocher ff7c6d21cd Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Bill McCloskey 9496ce9967 Bug 1069704 - Add Cu.getJSTestingFunctions().objectAddress(obj) (r=sfink) 2014-09-23 15:48:52 -07:00
Brian Hackett 0eb54db50c Bug 1069680 - Restore array buffer view trace hook, clean up use of typed array layout constants, r=sfink. 2014-09-23 15:45:24 -07:00
Shu-yu Guo a495f0231b Bug 1068668 - Fix tests that tested for legacy 'let' semantics. (r=Waldo) 2014-09-23 15:43:27 -07:00
Shu-yu Guo 272f5d9255 Bug 1068668 - Fix stale reference to the -d JS shell flag. (r=terrence) 2014-09-23 15:43:27 -07:00
Shu-yu Guo cc76f05d9c Bug 1068953 - Disable coherency checks in JitCodeGlobalTable's SplayTree. (r=djvj) 2014-09-23 15:43:27 -07:00
Shu-yu Guo 3ba1b8c3a7 Bug 1070462 - Have BINDNAME push a poison scope on uninitialized lexical lookup. (r=Waldo) 2014-09-23 15:43:27 -07:00
Christoph Kerschbaumer bc20780b98 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Jeff Walden 5ece94b5e4 Bug 1070994 - Make Ion not assert when JSOP_INITPROP for the property name __proto__ occurs, which happens for any property definition not of the __proto__: v form. r=shu
--HG--
extra : rebase_source : 9ca3f30ed7834a5d015bd340f9c6f71739ee8653
2014-09-23 13:03:40 -07:00
Jeff Walden bfa5f21982 Bug 896116 - Implement %TypedArray% and %TypedArray%.prototype. r=till, r=bholley
--HG--
extra : rebase_source : 0e78b08f644b9d189c6a4b280aa20fb749a7600e
2014-08-21 20:39:30 -07:00
Jeff Walden 3c33ef9a25 Bug 896116 - Morph the dependent-JSProtoKey system to explicitly store a JSProtoKey, rather than relying on a system where a single class represents the parent and dependent both. Also convert error objects (Error, RangeError, &c.) to be represented by multiple classes, not a single one. r=bholley, r=till
--HG--
extra : rebase_source : 1d1913c49ae58be86e991077bda96684c6afb941
2014-09-18 20:06:32 -07:00
Nicolas B. Pierron 74babd2d1d Bug 1062869 part 7 - Prevent miss-use of instruction result computation. r=h4writer 2014-09-23 19:42:35 +02:00
Nicolas B. Pierron 9717825470 Bug 1062869 part 6 - Handle early execution of recover instructions. r=h4writer 2014-09-23 19:42:35 +02:00
Nicolas B. Pierron 5fc4f04592 Bug 1062869 part 5.5 - Disable Rooting Analysis around maybeRead with a non-GC capable fallback method. r=shu 2014-09-23 19:42:35 +02:00
Nicolas B. Pierron 4340197ea2 Bug 1062869 part 5 - Add MaybeReadFallback class to record the fallback method. r=shu 2014-09-23 19:42:34 +02:00
Nicolas B. Pierron 951aaba031 Bug 1062869 part 4 - Add an invalidate function to IonScript. r=h4writer 2014-09-23 19:42:34 +02:00
Nicolas B. Pierron a288d17ccc Bug 1062869 part 3 - Add vector of Ion recover info. r=h4writer 2014-09-23 19:42:34 +02:00
Nicolas B. Pierron 13754b02ef Bug 1062869 part 2 - Separate the recovery of instructions from the frame reconstruction. r=h4writer 2014-09-23 19:42:34 +02:00
Nicolas B. Pierron fdec3209fc Bug 1062869 part 1 - Replace the AutoValueVector by a vector of RelocatableValue. r=h4writer,jonco 2014-09-23 19:42:33 +02:00
Nicolas B. Pierron b41b03d47b Bug 1062869 part 0.5 - Properly root ArgumentsData & ArgumentsObject in prevision of GC under copyArgs. r=luke 2014-09-23 19:42:33 +02:00
Nicolas B. Pierron 1d19f6a9e1 Bug 1062869 part 0 - JitFrameIterator.cpp: Remove unused pre-declaration. r=h4writer 2014-09-23 19:42:33 +02:00
Lars T Hansen 10212ddd80 Bug 1071024 - correct the implementation of STREX, which used the register name rather than register value. r=me 2014-09-23 16:47:39 +02:00
Nick Fitzgerald 209d5f348a Bug 1056373 - Add the ability to sample each allocation by some probability. r=jimb 2014-09-22 17:01:00 -04:00
Tom Schuster 7782444d76 Bug 1069694 - Remove or move around functions in OldDebugAPI. r=shu 2014-09-23 15:25:31 +02:00
Douglas Crosher bc41d84178 Bug 1013996 - irregexp: Avoid unaligned accesses in ARM code. r=bhackett 2014-08-17 14:45:31 +10:00
Jacek Caban ee32d45c08 Bug 1060401 - NSS and NSPR libs can't be found in mingw builds. r=glandium 2014-09-23 11:51:36 +02:00
Benjamin Bouvier a3d0568724 Bug 1064537: Fix build warning for multiline comment; r=h4writer 2014-09-23 10:43:30 +02:00
Lars T Hansen e9a4b9b26c Bug 1071024 - ARM simulator support for LDREX, LDREXH, LDREXB, LDREXD, STREX, STREXH, STREXB, STREXD, SXTB, SXTH, DMB, DSB, and ISB. r=mjrosenb 2014-09-23 10:22:26 +02:00
Hannes Verschore c49389bf9a Bug 1064537: IonMonkey: Try folding ternary constructs, r=nbp 2014-09-23 09:42:05 +02:00
Dan Gohman 916abbc8f8 Bug 1070464 - IonMonkey: Update the dominator tree after ParallelSafetyAnalysis r=shu 2014-09-22 19:11:02 -07:00
Dan Gohman 645e5bbad5 Bug 1070460 - IonMonkey: Set the isCommutative flag when creating a commutative MMul. r=nbp 2014-09-22 19:11:00 -07:00
Brian Hackett ed5cb5354c Bug 1066652 - Clean up APIs for adding property types, r=jandem. 2014-09-22 17:29:15 -07:00
Shu-yu Guo b9fba87855 Bug 1068450 - Document Debugger.Frame.prototype.implementation. DONTBUILD. (r=jimb) 2014-09-22 16:34:10 -07:00
Eric Rahm 83245fc00d Bug 1060171 - Part 1: Add log levels to nsIConsoleMessage. r=froydnj 2014-09-22 15:32:21 -07:00
Hannes Verschore a45caf6348 Bug 1067984 - IonMonkey: Temporarily disable lazy linking for non i686/x64, r=mjrosenb 2014-09-22 22:45:08 +02:00
Ryan VanderMeulen cae5eb937c Merge m-c to inbound. a=merge 2014-09-22 15:51:51 -04:00
Ryan VanderMeulen 344138b126 Merge m-c to inbound. a=merge 2014-09-22 15:50:08 -04:00
Benjamin Smedberg 883f97d522 Bug 1069518 - XPTCall should refuse to implement interfaces with [notxpcom] methods, r=froydnj/bholley 2014-09-22 15:10:31 -04:00
Till Schneidereit 4145aa1fd3 Bug 1069063 - Part 2: follow-up to include changes in v2 of the patch. r=me
--HG--
extra : rebase_source : 6d79233c7dab7af574c6f86c4bcae4770baac745
2014-09-22 11:14:44 -04:00
Terrence Cole 91e1a9a93f Bug 1068123 - Make the MOZ_GCTIMER logs more verbose and readable; r=jonco 2014-09-19 08:39:54 -07:00
Terrence Cole 0d1a1613cc Backout 3f395d9d894a (Bug 1057563) for not handling the background allocation case. 2014-09-22 09:40:54 -07:00
Vlatko Markovic 8818f4947f Bug 1059216 - Verification of Trusted Hosted Apps manifest signature, part 1. r=dkeeler,rlb 2014-09-22 07:58:59 -07:00
Michael Shuen b3480f2432 Bug 1061652 - Inline setCrossCompartmentSlot on windows. r=luke 2014-09-19 18:35:00 +02:00
Christoph Kerschbaumer 34b8295e19 Bug 1038756: Callsites creating a channel in /js/ (r=mrbkap) 2014-09-21 09:45:16 -07:00
Jon Coppeard 90b843db8e Bug 1069655 - Fix build errors in non-unified builds r=me 2014-09-22 11:09:53 +01:00
Jon Coppeard 77bd71217c Bug 1069655 - Unify the forwarding mechanisms used by generational and compacting GC r=terrence 2014-09-22 09:36:22 +01:00
Jon Coppeard c3469f6c0c Bug 1068697 - Add a compartment option to preserve JIT code in non-shrinking GCs r=terrence 2014-09-22 08:43:36 +01:00
Till Schneidereit 99ba761309 changeset: 229387:7f06ae718751
user:        ziyunfei <446240525@qq.com>
files:       js/src/builtin/Object.cpp js/src/tests/ecma_6/Object/isSealed.js
description:
Bug 1062860 - Object.isSealed() should return true when given primitive values as input. r=till
2014-09-04 21:08:33 +08:00
Till Schneidereit ea058db5ed changeset: 229386:2c92e43e29d8
user:        ziyunfei <446240525@qq.com>
files:       js/src/builtin/Array.js js/src/builtin/Utilities.js js/src/jsarray.cpp js/src/tests/ecma_7/Array/browser.js js/src/tests/ecma_7/Array/contains.js js/src/tests/ecma_7/Array/shell.js js/src/tests/ecma_7/browser.js js/src/tests/ecma_7/shell.js
description:
Bug 1069063 - Implement Array.prototype.contains. r=till,securityAudit=bholley

--HG--
rename : js/src/tests/ecma_6/Array/browser.js => js/src/tests/ecma_7/Array/browser.js
rename : js/src/tests/ecma_6/Array/browser.js => js/src/tests/ecma_7/Array/shell.js
rename : js/src/tests/ecma_6/browser.js => js/src/tests/ecma_7/browser.js
rename : js/src/tests/ecma_6/shell.js => js/src/tests/ecma_7/shell.js
2014-09-18 17:22:05 +08:00
Bobby Holley be9e0c4e41 Bug 1070696 - Implement a JSObject* override to AutoJSAPI::Init(). r=smaug 2014-09-21 21:31:53 +02:00
Bobby Holley e3eca2660e Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Phil Ringnalda 1276bd7e4c Backed out 2 changesets (bug 1069063, bug 1062860) for mochitest-chrome and jsreftest bustage
CLOSED TREE

Backed out changeset 7f06ae718751 (bug 1062860)
Backed out changeset 2c92e43e29d8 (bug 1069063)
2014-09-20 20:53:35 -07:00
ziyunfei d47aa16266 Bug 1062860 - Object.isSealed() should return true when given primitive values as input. r=till 2014-09-04 21:08:33 +08:00
ziyunfei ca7c8b601b Bug 1069063 - Implement Array.prototype.contains. r=till
--HG--
rename : js/src/tests/ecma_6/Array/browser.js => js/src/tests/ecma_7/Array/browser.js
rename : js/src/tests/ecma_6/Array/browser.js => js/src/tests/ecma_7/Array/shell.js
rename : js/src/tests/ecma_6/browser.js => js/src/tests/ecma_7/browser.js
rename : js/src/tests/ecma_6/shell.js => js/src/tests/ecma_7/shell.js
2014-09-18 17:22:05 +08:00
Lars T Hansen e7fea5e909 Bug 1068451 - test case. r=waldo 2014-09-20 12:26:20 +02:00
Lars T Hansen 1839b19b76 Bug 1068458 - Limit SharedArrayBuffer and SharedTypedArray to INT32_MAX bytes. r=waldo 2014-09-20 12:12:06 +02:00
Terrence Cole d428c6078c Back out changeset b7f417116d90 (Bug 1029549) for making the tree a beautiful orange color on a CLOSED TREE 2014-09-19 16:53:17 -07:00
Terrence Cole 98b09bfb3a Bug 1029549 - Sanity-check TenuredHeap pointers when accessing them; r=jonco
--HG--
extra : rebase_source : 3aeb0679d121e301b1b6c5aea2511dbc1a419e55
2014-09-19 15:51:57 -07:00
Jim Blandy 04bf937110 Bug 1063247: Let embeddings tell Debugger how to find the size of a malloc'd block of memory. r=terrence 2014-09-19 15:10:01 -07:00
Jim Blandy 24bff230a9 Bug 1063247: Amend JS::ubi::Node::size and its implementations to expect a mozilla::MallocSizeOf function. r=terrence
Note that JS::ubi::Node::size has no callers at present, so we can change its
type without changing any callers.
2014-09-19 15:10:01 -07:00
Jim Blandy 11c263f4f6 Bug 1063247: Allow implicit construction of JS::ubi::Node from JS::HandleValue. r=terrence
This seems reasonable, since a ubi::Node is really just a pointer with some
introspection support, so the value and the Node are pretty similar. And I don't
see cases where you'd want an error.
2014-09-19 15:10:00 -07:00
Terrence Cole a964debd03 Bug 1057563 - There is no need to sync with the GC helper thread between slices; r=jonco
--HG--
extra : rebase_source : b4cfe084e1b8fabcc95aa78b560ad2e1eaa3e5d4
2014-08-22 14:28:56 -07:00
Terrence Cole 05be72f555 Backed out changeset a53aa43ab5f4 for Windows build bustage on a CLOSED TREE
--HG--
extra : rebase_source : d3a1aecd8882bc591898684c0a97f8929b7809a9
2014-09-19 09:40:53 -07:00
Terrence Cole 89f7f62c7c Bug 1068123 - Make the MOZ_GCTIMER logs more verbose and readable; r=jonco
--HG--
extra : rebase_source : 010b83f2302c2b10e7ef3d3bb347a9b7b57a51b4
2014-09-19 08:39:54 -07:00
Benjamin Bouvier efe2082e5a Bug 1025100: SIMD: add support for with{X,Y,Z,W} in Odin; r=luke 2014-09-19 14:56:10 +02:00
Benjamin Bouvier 2fbb559515 Bug 1025100: Use INSERTPS for inserting float elements when SSE4.1 is available; r=sunfish 2014-09-19 14:56:05 +02:00
Benjamin Bouvier a9fe05decf Bug 1025100: Implement MSimdInsertElement; r=sunfish 2014-09-19 14:53:25 +02:00
Benjamin Bouvier 9e6ba6e2bd Bug 1025100: Factor out redundant LExtractElement classes; r=sunfish 2014-09-19 14:53:19 +02:00
Benjamin Bouvier 6e35314066 Bug 1053788: Add Float32 min max in asm.js; r=luke 2014-09-19 14:39:59 +02:00
Benjamin Bouvier da5523f90b Bug 1053788: Activate float32 specialization of min/max; r=nbp 2014-09-19 14:39:53 +02:00
Benjamin Bouvier 098b26e8c7 Bug 1053788: Add float32 tests for RMinMax; r=nbp 2014-09-19 14:39:32 +02:00
Benjamin Bouvier 7943706407 Bug 1053788: Implement backends for generating min/max for float32; r=sunfish 2014-09-19 14:39:27 +02:00
Benjamin Bouvier e710bb450f Bug 1053788: Factor out LMinMax from LMinMax{I,F}; r=sunfish 2014-09-19 14:39:05 +02:00
Marty Rosenberg f35528c5b1 bug 1068857: Fix includes to appeas the style checker on a CLOSED TREE (r=red) 2014-09-19 08:22:53 -04:00
Marty Rosenberg 4b4a44730e bug 1068857: Allow overriding almost any of the jit options via the UNIX environment. (r=nbp) 2014-09-19 07:41:08 -04:00
Jon Coppeard 40bb019dc9 Bug 650161 - Update the gc() shell builtin to allow triggering of shrinking GC r=terrence 2014-09-17 15:35:12 +01:00
Jon Coppeard fbcb2a5eea Bug 650161 - Fix shell test failures caused by compacting GC r=terrence 2014-09-17 15:35:11 +01:00
Jon Coppeard 64b91b1c09 Bug 650161 - Use the object moved hook to update the wrapper cache r=terrence r=bz r=bholley
* * *
Add exception for objectMoved hook as we do for finalize hook
2014-09-17 15:35:11 +01:00
Jon Coppeard 1ae2e41b28 Bug 650161 - Add an assertion that something is only ever called from a GC callback r=terrence 2014-09-19 09:57:11 +01:00
Johannes Schulte 5407e293c5 Bug 994018 - Remove Memcpy-optimization for Typed Objects. r=nmatsakis 2014-09-17 22:57:33 +02:00
Jim Blandy c03a9cd41b Bug 1063233: Work around bug 1066193 (compiler bug) by providing an explicit 'this->'. r=Waldo 2014-09-18 12:56:54 -07:00
Jim Blandy 96cfd11162 Bug 1063233: Move JS::ubi::Node specializations for SpiderMonkey types closer to those types' definitions. r=terrence 2014-09-18 12:56:54 -07:00
Jim Blandy 153d508a49 Bug 1063233: Provide default definitions for optional JS::ubi::Node methods in Base. r=terrence 2014-09-18 12:56:53 -07:00
Ryan VanderMeulen 889eebf17e Backed out 7 changesets (bug 1062869) for ASAN UAF and Hazard Analysis failures.
Backed out changeset f62b115f169f (bug 1062869)
Backed out changeset 48943bce060d (bug 1062869)
Backed out changeset 846d57ff7684 (bug 1062869)
Backed out changeset 85b9beefb942 (bug 1062869)
Backed out changeset a98f73f954ee (bug 1062869)
Backed out changeset b111868be30f (bug 1062869)
Backed out changeset f3397cf24e64 (bug 1062869)

CLOSED TREE
2014-09-18 14:03:31 -04:00
Nicolas B. Pierron 2ca243e7f7 Bug 1069260 - Add MFunctionEnvironment::foldsTo. r=sunfish 2014-09-18 19:05:47 +02:00
Nicolas B. Pierron cb939b5b39 Bug 1062869 part 6 - Handle early execution of recover instructions. r=h4writer 2014-09-18 18:28:56 +02:00
Nicolas B. Pierron ed5879db01 Bug 1062869 part 5 - Add MaybeReadFallback class to record the fallback method. r=shu 2014-09-18 18:28:55 +02:00
Nicolas B. Pierron 8187debbb6 Bug 1062869 part 4 - Add an invalidate function to IonScript. r=h4writer 2014-09-18 18:28:55 +02:00
Nicolas B. Pierron cc7feabcd9 Bug 1062869 part 3 - Add vector of Ion recover info. r=h4writer 2014-09-18 18:28:54 +02:00
Nicolas B. Pierron af37bfcb34 Bug 1062869 part 2 - Separate the recovery of instructions from the frame reconstruction. r=h4writer 2014-09-18 18:28:54 +02:00
Nicolas B. Pierron e1e46502f8 Bug 1062869 part 1 - Replace the AutoValueVector by an HeapAllocated vector of HeapValue. r=h4writer 2014-09-18 18:28:53 +02:00
Nicolas B. Pierron 3b94b3a675 Bug 1062869 part 0 - JitFrameIterator.cpp: Remove unused pre-declaration. r=h4writer 2014-09-18 18:28:53 +02:00
Brian Hackett 43106801ee Bug 1061741 - Remove type slot in typed arrays, r=sfink. 2014-09-18 09:28:01 -07:00
Nicolas B. Pierron b3a5d501ed Bug 1065996 - Split data / methods of TypePolicy classes. r=jandem 2014-09-18 18:07:44 +02:00
Branislav Rankov 5345e91818 Bug 972836 - IonMonkey MIPS: Fixed FloatRegisters::GetName. r=mjrosenb 2014-09-02 14:53:06 +02:00
Aleksandar Zlicic 6a21845d5d Bug 1069386 - IonMonkey MIPS: Fix build failures on MIPS caused by recent updates (visitAsmJSCall). r=rankov 2014-09-18 17:07:27 +02:00
Bill McCloskey 86bdc64e76 Bug 1053999 - Investigation for JS_TransplantObject crash (r=bholley) 2014-09-18 08:56:56 -07:00
Dan Gohman 690cff68f3 Bug 1068960 - IonMonkey: GVN: Re-establish the original dependency after foldsTo is done r=nbp 2014-09-18 08:51:37 -07:00
Dan Gohman 6ab71bfc99 Bug 1058090 - IonMonkey: Minor compile-time speedups r=luke 2014-09-18 08:51:35 -07:00
Benjamin Bouvier d504c7dcfb Bug 1054882: Remove unused JSProtoKey key in SharedTypedArrayObject.cpp; r=lth 2014-09-18 13:37:14 +02:00
Benjamin Bouvier b126cea14e Bug 1068096: Add Min/Max support in Odin; r=luke 2014-09-18 12:59:54 +02:00
Benjamin Bouvier 3d3ed0a870 Bug 1043337: Add Min/Max to MSimdBinaryArith; r=sunfish 2014-09-18 12:59:38 +02:00
Benjamin Bouvier 6590faca11 Bug 1067502: Factor out call coercions; r=luke 2014-09-18 12:21:12 +02:00
Benjamin Bouvier 266f9f0db2 Bug 1067502: Be less coercive for float32x4 ctor and splat inputs; r=luke 2014-09-16 16:41:06 +02:00
Benjamin Bouvier e67553d844 Bug 1059321: Simplify SIMD constructor's initialization; r=nmatsakis 2014-09-18 12:02:12 +02:00
Johannes Schulte a53125dcb9 Bug 1059426 - Don't inline ToInteger if we're likely to bailout. r=kvijayan 2014-09-16 20:40:45 +02:00
Nicholas Nethercote 2d771de5ad Bug 1067699 (part 1) - Export double-conversion.h normally from MFBT. r=froydnj.
--HG--
extra : rebase_source : 14c3d827f4d8015d8326612e82782c52dcf7335d
2014-09-16 23:33:05 -07:00
Peter Van der Beken 307531531b Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, move some code around. r=bholley.
--HG--
extra : rebase_source : 713a35d4bc7ffa4a25561823dbb0301a22565cb5
2013-10-18 13:22:08 +02:00
Peter Van der Beken 75c937d206 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make Proxy::set throw for read-only properties. r=efaust.
--HG--
extra : rebase_source : 961e38d6c99cd22c7d7336cef744f41310751214
2014-08-14 15:12:19 +02:00
Peter Van der Beken 1ab9ffc995 Bug 1067501 - Make stringification of DOM Xrays use Object.prototype.toString. r=bholley.
--HG--
extra : rebase_source : 7ba38f2b2625d0ff5405eda2fda6bad9608efa34
2014-09-15 16:45:38 +02:00
Douglas Crosher b86ae28eb1 Bug 1072881 - IonMonkey ARM: optimize Float32ToDouble to useAtStart its argument. r=mrosenberg 2014-09-27 00:24:42 +10:00
Jan de Mooij d9aad557bd Bug 831585 - Refactor and simplify for-in bytecode and remove cx->iterValue. r=bhackett 2014-09-17 21:07:37 +02:00
Brian Hackett 0593b4473d Bug 1061404 - Move ArrayBuffer view list into per compartment tables, r=sfink. 2014-09-17 11:13:17 -07:00
Terrence Cole fd64eb51f9 Bug 1068223 - Clean up the Cell hierarchy; r=jonco
--HG--
extra : rebase_source : 3b9e05416971eee3eb9e8cdc30008fe41f2fd539
2014-09-17 10:32:37 -07:00
Dan Gohman 929af4b65f Bug 1029830 - IonMonkey: GVN: More folding for MTest and MTableSwitch. r=nbp 2014-09-17 10:27:26 -07:00
Dan Gohman fc3ef09d05 Bug 1029830 - IonMonkey: GVN: Replace UCE with GVN r=nbp 2014-09-17 10:27:25 -07:00
Dan Gohman 8766488e25 Bug 1029830 - IonMonkey: Fold MTest(Not(Not(x))) and Not(Not(Not(x))) r=nbp 2014-09-17 10:27:25 -07:00
Dan Gohman 3617036e8e Bug 1029830 - IonMonkey: GVN: Include the current block in GVN's spew output r=nbp 2014-09-17 10:27:25 -07:00
Dan Gohman ec408ea2bd Bug 1029830 - IonMonkey: GVN: A goto to a non-dominated block won't benefit from a GVN re-run even if its dominators are updated r=nbp 2014-09-17 10:27:25 -07:00
Dan Gohman 4eefedf772 Bug 1029830 - IonMonkey: GVN: Now that there are foldsTo functions using dependency information, clear it when it becomes invalid r=nbp 2014-09-17 10:27:24 -07:00
Dan Gohman ab59584374 Bug 1029830 - IonMonkey: GVN: Misc cleanups r=nbp 2014-09-17 10:27:24 -07:00
Dan Gohman 6e685bd7f4 Bug 1029830 - IonMonkey: GVN: Say "discard" instead of "delete" r=nbp 2014-09-17 10:27:24 -07:00
Dan Gohman 7fe8978427 Bug 1029830 - IonMonkey: GVN: Rename "insert" to "add" for consistency with the HashSet API r=nbp 2014-09-17 10:27:24 -07:00
Dan Gohman 202ba5f2cc Bug 1029830 - IonMonkey: GVN: Say "release" instead of "discard" when releasing an operand r=nbp 2014-09-17 10:27:24 -07:00
Dan Gohman af777cb7be Bug 1029830 - IonMonkey: Add some more asserts. r=nbp 2014-09-17 10:27:23 -07:00
Benjamin Bouvier 196ebbbe97 Bug 1068331: Fix register allocation of SimdValueX4; r=sunfish 2014-09-17 18:55:58 +02:00
Ed Morley 895ca896db Backed out changeset bea8bb703913 (bug 650161) for rooting hazzard failures 2014-09-17 17:34:20 +01:00
Ed Morley 3056a8a075 Backed out changeset 6f0a56999e9b (bug 650161) 2014-09-17 17:33:58 +01:00
Ed Morley 8d8677dc00 Backed out changeset 512ef66a96b8 (bug 650161) 2014-09-17 17:33:54 +01:00
Lars T Hansen ec944b3e01 Bug 1068539 - Keep the serialization format compatible, increment the version number. r=jorendorff,khuey 2014-09-17 17:10:59 +02:00
Jon Coppeard 98dd02f326 Bug 650161 - Update the gc() shell builtin to allow triggering of shrinking GC r=terrence 2014-09-17 15:35:12 +01:00
Jon Coppeard af91929263 Bug 650161 - Fix shell test failures caused by compacting GC r=terrence 2014-09-17 15:35:11 +01:00
Jon Coppeard 1c33bd3c21 Bug 650161 - Use the object moved hook to update the wrapper cache r=terrence r=bz r=bholley 2014-09-17 15:35:11 +01:00
Connor 9e16790607 Bug 1066041 - Implement typeof recover instruction. r=nbp 2014-09-17 15:06:21 +02:00
Carsten "Tomcat" Book be995b99a9 Backed out changeset b78a99aae4ce (bug 1056373) for Android 4 Debug Test Bustage on a CLOSED TREE 2014-09-17 11:25:12 +02:00
Nick Fitzgerald a35287162e Bug 1056373 - Add the ability to sample each allocation by some probability. r=jimb 2014-09-16 11:21:00 +02:00
Lars T Hansen 83077fb928 Fix bug 1068451 - use guarded argument getter, r=waldo
--HG--
extra : amend_source : cf0dc2233bd0110c9247b6e3c836b8fcb0518a20
2014-09-17 09:03:10 +02:00
Nick Fitzgerald c78c2fccb1 Bug 1065623 - Declare random_next in jsmath.h. r=jorendorff 2014-09-12 13:11:00 -04:00
Tom Tromey ea66a1cc1c Bug 1065029 - Import time to make test mode work. r=sfink 2014-09-12 10:15:58 -06:00
Luke Wagner 3544dfbd98 Bug 1068355 - OdinMonkey: tidy up function call codegen (r=dougc)
--HG--
extra : rebase_source : 3d3ac4179d92691e757b29b0d12b70725c93ab3f
2014-09-16 20:32:04 -05:00
Luke Wagner 8089496349 Bug 1068355 - OdinMonkey: tidy up some names and comments (r=bbouvier)
--HG--
extra : rebase_source : a6310cb7a837982912cfa9f552a920dda9515af1
2014-09-16 20:31:52 -05:00
Ryan VanderMeulen 04eba7c166 Backed out 6 changesets (bug 918828) for mass bustage on a CLOSED TREE.
Backed out changeset b59c02df792f (bug 918828)
Backed out changeset 12e7deed1b17 (bug 918828)
Backed out changeset b87ca498ea9a (bug 918828)
Backed out changeset 621224c58e71 (bug 918828)
Backed out changeset 4faff84eb1ba (bug 918828)
Backed out changeset 3695c1c812a5 (bug 918828)
2014-09-16 17:26:34 -04:00
Trevor Saunders e0514f570a no bug - don't convert nullptr to bool in HelperThreads.cpp r=themaid 2014-09-16 16:11:29 -04:00
Bobby Holley d21126998c Bug 1068163 - Turn off release-mode assertion against addon scope prototype munging. r=me 2014-09-16 22:06:51 +02:00
Jason Orendorff 8dccb0a6ae Bug 918828, part 4 - Implement JSOP_SYMBOL in the baseline compiler. r=nbp.
--HG--
extra : rebase_source : 6b13d0ec63de22883fc3cd186cf24a9455bd2408
2014-07-01 21:28:11 -05:00
Jason Orendorff 82a0e67477 Bug 918828, part 3 - Update decompiler for JSOP_SYMBOL. This improves error messages when @@iterator is called implicitly. r=Waldo.
--HG--
extra : rebase_source : b9edaa7be12bdfde40b38d3f413f10624c4f0dcf
2014-07-01 21:18:12 -05:00
Jason Orendorff 68b38c7094 Bug 918828, part 2 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=nbp.
--HG--
extra : rebase_source : 529d0cd48cd1993cd8cc648ac385ca12342ecfd1
2014-07-01 21:01:21 -05:00
Jason Orendorff 1629fa04d9 Bug 918828, part 1 - Add JSAPI macros JS_SYM_FN etc. to support defining functions with well-known symbol keys. r=Waldo.
--HG--
extra : rebase_source : 4fc59b62937294fd25564b35da0abebcb7d9c2d3
2014-07-25 18:50:48 -05:00
Jason Orendorff f8067bc25e Add some test cases involving Symbol.iterator as a prelude to bug 918828. no_r=me, testonly.
--HG--
extra : rebase_source : 545cd0c1618b7f453c3afa2baa8eb4d860e7e6d2
extra : amend_source : 71045431741656cedad8832c7c690d4c96434b9a
2014-07-01 15:33:48 -05:00
Jason Orendorff cac9c459ce Bug 1053676 - Insert GC pre-barriers for slots containing symbols in Ion code. r=terrence.
The first two hunks in this patch are improvements to an assertion blamed (I think incorrectly) for this bug in the original bug report. They are not directly related to the fix.

--HG--
extra : rebase_source : 031680a9b762f05e9b64e8aab9f87d686d2ab45d
extra : amend_source : 32f4ab968338de3ae989ec4d4c4dee7bd56df498
2014-09-15 13:29:28 -05:00
Jason Orendorff d6be6606e7 Bug 1051760 - Fix "Assertion failure: !vp.isMagic(), at jsobj.cpp:4600" with arguments, direct eval, and a destructuring declaration. r=Waldo.
--HG--
extra : rebase_source : 8054e6ed982d32e2a8e2d91cf52093abe589bfd2
2014-09-11 17:57:29 -05:00
Jason Orendorff 25c418a712 Bug 1065604 - Assert that JSPROP_SHARED is set on all properties defined with JSPROP_GETTER or JSPROP_SETTER. r=Waldo.
--HG--
extra : rebase_source : f928bfe44c33ec0e561db346a407e20ff26165c4
2014-09-10 15:17:52 -05:00
Lars T Hansen ef7ed4ebde Bug 1054882 - Rollup patch. r=till, r=sstangl, r=jorendorff 2014-09-16 18:45:31 +02:00
Brian Hackett faf0f8344b Bug 1061600 - Fix PropertyWriteNeedsTypeBarrier, r=jandem. 2014-09-16 09:03:07 -07:00
Benjamin Bouvier b03321a013 Backed out changeset 2cb4a65fdd66 (bug 1067502) 2014-09-16 17:34:41 +02:00
Benjamin Bouvier c777db739d Bug 1067502: Be less coercive for float32x4 ctor and splat inputs; r=luke 2014-09-16 16:41:06 +02:00
ProgramFOX 504d3e1272 Bug 1031203: Reordered declarations in SIMD.h; r=bbouvier 2014-08-20 02:20:02 -07:00
ProgramFOX 976f0ee10e Bug 1031203: Renamed X4 to Simd. r=bbouvier 2014-09-15 19:00:49 +02:00
Benjamin Bouvier 0c2041a94c Bug 1067373: Fold SimdValueX4 with same non constant operands into SimdSplatX4; r=sunfish 2014-09-16 16:01:08 +02:00
Nicolas B. Pierron 169d932a8d Backed out changeset a965be2731d4 (Bug 1027897 - IonMonkey: Refactor split position ...) for B2G keyboard failures. 2014-09-16 15:59:44 +02:00
Shu-yu Guo b4f621c5f6 Bug 1067805 - Pushed a wrong version of the part 1 in bug 1001090; fix that. (r=me) 2014-09-16 03:23:06 -07:00
Tom Tromey 207e44e03f Bug 1064961 - document Debugger.addAllGlobalsAsDebuggees and Debugger.removeAllDebuggees. r=jimb 2014-09-15 12:23:25 -06:00
Tom Tromey 55a9f69687 Bug 1049884 - implement javascript string quoting for command line arguments. r=jimb 2014-09-15 12:12:08 -06:00
Steve Singer 595a53f348 Bug 1067064 - Add retn to MacroAssembler-none. r=jandem 2014-09-13 20:13:00 +02:00
Tom Tromey fddbc918e0 Bug 1067589 - fix "nargs" value for Debugger clearAllBreakpoints method. r=jimb 2014-09-15 14:06:00 +02:00
Shu-yu Guo 59ccd2fecb Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Shu-yu Guo b0dbddedd0 Bug 1001090 - Part 3: Compile new let opcodes in Ion. (r=jandem) 2014-09-15 16:30:46 -07:00
Shu-yu Guo 55e691aca4 Bug 1001090 - Part 2b: Fix unwinding all scopes to not use pc. (r=jimb) 2014-09-15 16:30:46 -07:00
Shu-yu Guo 59162cc73e Bug 1001090 - Part 2a: Compile new let opcodes in Baseline. (r=jandem) 2014-09-15 16:30:45 -07:00
Shu-yu Guo d7d1af4ae1 Bug 1001090 - Part 1: Implement let temporal dead zone in the frontend and interpreter. (r=Waldo) 2014-09-15 16:30:45 -07:00
Tooru Fujisawa 054b1c4585 Bug 1041426 - Make error message for unexpected token more clear. r=jwalden
--HG--
extra : rebase_source : 1785f67732a81aa29dd81c8be765cf497a9b74c8
2014-09-09 19:08:14 +09:00
Dan Gohman 4993106c02 Bug 1058083 - IonMonkey: Re-enable the integer-divide-by-constant optimization when the register allocator is not LSRA r=jandem 2014-09-15 11:54:02 -07:00
Jim Blandy 5184cb9b30 Bug 1066733: Fix JS Debugger test to add debuggees as intended. f=tromey r=sfink 2014-09-15 11:40:48 -07:00
Terrence Cole 56f202bea8 Bug 1066899 - Share code for dispatching callbacks rather than open-coding it everywhere; r=jonco
--HG--
extra : rebase_source : 64e8498ecd6ed3f2cbb9ad4020bc36223fbad1c3
2014-09-12 17:32:49 -07:00
Olli Pettay b81ddc25b6 Bug 1067344 - content process crash in nsXPCWrappedJS::CanSkip(), r=mccr8
--HG--
extra : rebase_source : 687813170d30e3763de9917bccdb4c58df576d61
2014-09-15 19:26:20 +03:00
Jon Coppeard 63feeb0f58 Bug 1063468 - Remove unnecessary use of address() r=sfink 2014-09-15 16:49:37 +01:00
Jon Coppeard 93fa9ca8db Bug 1045945 - Initialize the destroy principals callback for workers r=bent 2014-09-15 16:49:11 +01:00
Benjamin Bouvier 7d25ea7c8e Bug 1062217: Try fixing winxp build; r=bustage 2014-09-15 15:36:55 +02:00
Benjamin Bouvier 44d5f7d5f2 Bug 1066020: Use JSConstIntegerSpec for defining SIMD shuffle masks in the interpreter; r=till 2014-09-15 15:13:13 +02:00
Benjamin Bouvier dd59d59062 Bug 1066020: Remove fields in JSConstScalarSpec and invert fields order; r=till 2014-09-15 15:13:08 +02:00
Benjamin Bouvier 4482068d51 Bug 1066020: Add JSConstIntegerSpec to jsapi; r=till 2014-09-15 15:13:05 +02:00
Benjamin Bouvier 61109135a9 Bug 1062217: Generalize SIMD operation and ctor validation; r=luke 2014-09-15 14:46:35 +02:00
Benjamin Bouvier e34bfcab70 Bug 1062217: Add operator<= for Type; r=luke 2014-09-15 14:46:32 +02:00
Benjamin Bouvier 50e2d796ac Bug 1062217: Rename simdSplat into splatSimd and de-templatize it; r=luke 2014-09-15 14:46:27 +02:00
Bobby Holley 3090e7865a Bug 1060521 - Remove infrastructure for Xrayed NewResolve, GetProperty, and SetProperty on XPCWrappedNatives. r=peterv 2014-09-15 14:13:02 +02:00
Bobby Holley d7458ed3db Bug 1065452 - Add an API to access the associated window of addon scopes. r=billm 2014-09-15 14:12:12 +02:00
Jan de Mooij 983463df99 Bug 1066197 part 3 - Move some iterator functions into js namespace, remove js_ prefix. r=bhackett 2014-09-15 09:58:27 +02:00
Jan de Mooij fe3eae0e74 Bug 1066197 part 2 - Remove js::IteratorNext. r=bhackett 2014-09-15 09:52:37 +02:00
Steve Singer 2e01c563a1 Bug 1067133 - Add visitSimdValueX4 to LIRGeneratorNone. r=bbouvier 2014-09-14 08:48:00 +02:00
Bobby Holley 2ac8d46cbb Bug 1066846 - Explicitly verify that incoming dipper parameters are objects. r=bz 2014-09-13 19:40:10 -07:00
Nicolas B. Pierron 710b52368a Bug 1063653 landing. r=bhackett 2014-09-14 09:16:46 +08:00
Arpad Borsos c8e9a77bbb Bug 1066414 - fix destructuring rest in for-in; r=jorendorff
--HG--
extra : rebase_source : 61f1adbdbb61d549cac2bdd58cfcd9028c72b6f0
extra : amend_source : 0228ac500718a1eec87094a077724fbb629a9f14
2014-09-12 11:07:30 +02:00
Bobby Holley 9a78656a76 Bug 1052096 - Add an API to access the 'Location' string (used by memory reporters) of a compartment. r=billm 2014-09-12 17:41:18 -07:00
Bobby Holley 2a5e5e2d96 Bug 1052096 - Move CPOW targets into the privileged/unprivileged junk scope of the child/parent. r=billm 2014-09-12 17:41:18 -07:00
Bobby Holley 048a4d28f5 Bug 1052096 - Move CPOWs into the privileged junk scope. r=billm 2014-09-12 17:41:18 -07:00
Terrence Cole db73ecb350 Bug 1019611 - Expose the GC's max-pause statistic to chrome JS; r=sfink
--HG--
extra : rebase_source : 352622bb02cd2bd5347d17c05cfa20831431d641
2014-07-15 13:49:43 -07:00
Kannan Vijayan 96255113a0 Bug 1057082 - Part 2 - Fix JitcodeGlobalEntry comparison function and add helper debug methods. r=luke 2014-09-12 13:56:43 -04:00
Benjamin Bouvier 34787e1ea2 Bug 1066193: Explicit this parameter in IonExitFrameLayout::is<T> so as to prevent compilation issues with gcc; r=sfink 2014-09-12 18:19:49 +02:00
Benjamin Bouvier 6e0370ff2a Bug 1064895: Fix typo in X4TypeDescr initialization code; r=evilpie 2014-09-12 17:28:51 +02:00
Jan de Mooij 5c55b9cfbe Bug 932284 - Don't allow disabling the JITs with JIT code on the stack in the shell. r=nbp 2014-09-12 17:13:11 +02:00
Jan de Mooij 1ac0809cce Bug 1054243 - Clear pending exception in ErrorReport::init. r=terrence 2014-09-12 17:12:59 +02:00
Jason Orendorff c1af3e274a Follow-up to bug 1065180: Replace a use of environment with os.getenv in a test I somehow missed earlier. no_r=me, testonly.
--HG--
extra : rebase_source : c72c52715c16b8476ebb642dd7b8c7a71c231003
extra : amend_source : 5b280326bfd1f047bc936ad6074f22e62e32cc45
2014-09-12 09:18:39 -05:00
Nicolas B. Pierron 7a87f4b5a5 Bug 1063918 - IonMonkey: Replace untyped loads by boxed value of the store. r=h4writer 2014-09-12 16:19:24 +02:00
Nicolas B. Pierron b5ae1c1c4b Bug 1057580 - IonMonkey: Ensure that no prior resume point survive. r=jandem 2014-09-12 16:19:24 +02:00
Brian Hackett 2875d1bc87 Bug 1064159 - Fix !unknownProperties() assertion, r=jandem. 2014-09-12 07:15:57 -07:00
Brian Hackett 83857d1e75 Bug 1055402 - Remove RegExp.test cache, add a more robust match only mode to irregexp, r=jandem. 2014-09-12 07:12:49 -07:00
Aleksandar Zlicic 42b51bc64a Bug 1065309 - IonMonkey MIPS: Test asm.js/testMathLib.js fails on MIPS r=jandem 2014-09-10 12:51:39 +02:00
Aleksandar Zlicic 7f8d817f8c Bug 1059302 - IonMonkey MIPS Simulator: Fix printing float register values and errors on wrong register name. r=jandem 2014-09-12 14:21:21 +02:00
Benjamin Bouvier 3e688915a1 Bug 1066561: Fix MIPS build failures due to SimdValueX4 r=rankov 2014-09-12 15:22:40 +02:00
Jan de Mooij de669dfe61 Bug 1063253 - Fix CodeGenerator::visitNewArrayCallVM to not ignore the AllocatingBehaviour value. r=h4writer 2014-09-12 14:24:24 +02:00
Jan de Mooij e1334bc587 Bug 1066197 part 1 - Some js_IteratorMore cleanup. r=bhackett 2014-09-12 14:24:19 +02:00
Hannes Verschore f038e1da86 Bug 1034184 - IonMonkey: Enable detection of and/or when improving types at tests, r=bhackett 2014-09-12 12:16:27 +02:00
Benjamin Bouvier 39d00413c2 Bug 1066193: Explicit this parameter in MDefinition::is<T> so as to prevent compilation issues with gcc; r=h4writer 2014-09-12 12:02:57 +02:00
Jan de Mooij eff76dd085 Bug 1060283 part 2 - Rename some JitSpew_* constants to JitSpew_Ion*. r=h4writer 2014-09-12 11:43:47 +02:00
Jan de Mooij 4ebf718166 Bug 1057598 - Suppress the object metadata callback in RStringSplit::recover. r=nbp 2014-09-12 11:06:22 +02:00
Jan de Mooij ebbde94c8c Bug 1064777 part 2 - Run definite properties analysis and arguments analysis for non-CNG code as well. r=bhackett 2014-09-12 11:03:24 +02:00
Phil Ringnalda 1cea865a57 Back out 74728e99dc47 (bug 1049290) for causing the same hazard build timeouts it caused on Try
CLOSED TREE
2014-09-11 23:27:39 -07:00
Jan Alexander Steffens (heftig) d1e954a676 Bug 1063357 - Fix typo in js/src/configure.in. r=bsmedberg 2014-09-05 19:51:00 -04:00
Ting-Yu Chou bba61c87b8 Bug 1049290 - Optimize JSOP_IN for baseline compiler. r=djvj, r=h4writer 2014-09-11 22:54:15 +08:00
Christian Holler 1fb492dbe3 Bug 1058500 - MSan: Mark memory passed to zlib as initialized in JS. r=jorendorff 2014-09-11 23:22:03 +02:00
Christian Holler 0d5c56b958 Bug 1058500 - Add MSan support to the build system. r=ted,waldo 2014-09-11 23:21:46 +02:00
Brian Hackett d7064be738 Backout ce0afdc6ea1f (bug 1041688) for regressions. 2014-09-11 13:37:46 -07:00
Jason Orendorff 00c948a90a Bug 1052491, part 2 - In jsinfer, support symbol jsids. r=bhackett. This should fix symbol-related orange on a CLOSED TREE.
--HG--
extra : rebase_source : 2dbdd4ec819c14627c9a5f081c83e4afb56b6d6c
extra : amend_source : baed01f715df89f4bef993902d030164b990506f
2014-09-11 13:01:14 -05:00
Hannes Verschore 37ec514eef Backout 82b5a79f3cab for ARM failures on CLOSED TREE 2014-09-11 19:56:34 +02:00
Jason Orendorff 676ace5210 Bug 1065180, part 3 - Remove the environment object from the JS shell. r=sfink.
--HG--
extra : rebase_source : 9536deac7f2799cd2766f7fa1f529f9b079ed3e3
2014-09-09 19:27:50 -05:00
Jason Orendorff 523d6ecead Bug 1065180, part 2 - Switch existing code from the environment object to the new os.getenv() function. r=sfink.
--HG--
extra : rebase_source : 650884862d5f6c9aef2505c0886e7a30e2eb2c6a
2014-09-09 19:39:19 -05:00
Jason Orendorff 622c1fc9bd Bug 1065180, part 1 - Add os.getenv() function to JS shell. r=sfink.
--HG--
extra : rebase_source : 7f1ef80db80d6ad8626f76f8338c1946868534c8
2014-09-09 18:46:50 -05:00
Jason Orendorff 4f932a4821 Bug 1052491 - Simplify IdToTypeId and add support for symbol-keyed properties. r=bhackett.
--HG--
extra : rebase_source : ee5bfd8e415aa9570e773662889d815c91636f57
2014-08-12 11:07:20 -05:00
Inanc Seylan f57dbeff7d Bug 1005922: IonMonkey: Remove bailing on NewObject/NewArray during arguments usage analysis; r=h4writer 2014-09-11 18:55:23 +02:00
Hannes Verschore 0a080259e9 Bug 911738 - IonMonkey: Recompile function when a non-inlined function gets hot enough to inline, r=jandem 2014-05-16 12:37:13 +02:00
Hannes Verschore e2d10858c8 Bug 1063816 - Polish work on the renaming of useCount to warmUpCount(er), r=mjrosenb,nbp 2014-09-11 18:40:17 +02:00
Benjamin Bouvier d72d0006b6 Bug 1065883: Fail if we try to import variables in the global section without a stdlib parameter; r=luke
--HG--
extra : rebase_source : c73ee1741babec4a4234f0e452dc64714ef7702d
2014-09-11 17:50:37 +02:00
Brian Hackett c9d8b49279 Bug 1041688 - Don't use a JSContext in IonBuilder when performing the definite properties analysis, r=jandem. 2014-09-11 09:12:31 -06:00
Brian Hackett 6112a6a45c Bug 1063488 - Treat MaybeCopyElementsForWrite as possibly overwriting an object's elements pointer, r=jandem. 2014-09-11 09:07:20 -06:00
Jason Orendorff 12400ac8a4 Bug 1065507, part 4 - Remove js_GetterOnlyPropertyStub.
--HG--
extra : rebase_source : daa17eaccddce4bcb510d2bd83799396d564728a
2014-09-10 12:55:46 -05:00
Jason Orendorff ddb4e5c560 Bug 1065507, part 3 - Remove special support for js_GetterOnlyPropertyStub from js/ipc.
--HG--
extra : rebase_source : cc10de476c7c40324f9ae781c6e06500a53edb1b
2014-09-10 12:54:20 -05:00
Jason Orendorff 99418b7704 Bug 1065507, part 2 - Change XPCWrappedNatives to use a null setter instead of js_GetterOnlyPropertyStub.
--HG--
extra : rebase_source : dccc09d810a07019c582d1fbda431e57287b690a
2014-09-10 12:43:26 -05:00
Jason Orendorff 22c79b3ead Bug 1065507, part 1 - Remove dead function xpc_qsGetterOnlyPropertyStub.
--HG--
extra : rebase_source : 6dbeb6dd2e69511682b5b3e8582104d06d13766d
2014-09-10 12:51:09 -05:00
Benjamin Bouvier b6f8a6ebd4 Bug 1034184: Remove double assignment of 'type'; r=h4writer 2014-09-11 10:29:50 +02:00
Benjamin Bouvier 23129a5ddc Bug 1051860: Optimize SimdValueX4 codegen for int32x4 when SSE4.1 is available; r=sunfish
--HG--
extra : rebase_source : 3feb3d19834f6c356bb114ee8b19a283467dff34
2014-09-11 08:50:49 +02:00
Benjamin Bouvier 5c44f008f6 Bug 1051860: Optimize SimdValueX4 codegen for float32x4 with unpcklps; r=sunfish
--HG--
extra : rebase_source : 30cec4448afa60e5be2a8e12f01daf95fffc94e3
2014-09-11 08:50:10 +02:00
Landry Breuil 6b00feef66 Bug 1065055: also define IS_{LITTLE,BIG}_ENDIAN according to BYTE_ORDER, r=njn 2014-09-11 07:58:37 +02:00
Bill McCloskey 358c1f203e Bug 1062024 - Allow CPOWs to be passed to COWs (r=bholley) 2014-09-10 17:15:41 -07:00