Commit Graph

35959 Commits

Author SHA1 Message Date
Brian Hackett
dd135f84e3 Bug 1069688 - Rename OwnedTypedObject to OutlineTypedObject. 2014-09-26 18:55:16 -07:00
Wes Kocher
1504264030 Backed out changeset a8d4bd3746ec (bug 1056409) for m-oth failures on a CLOSED TREE 2014-09-26 15:40:41 -07:00
Jim Blandy
514706e95c Bug 1073320: Document and test the effect of removing debuggees on breakpoints. r=sfink 2014-09-26 15:35:09 -07:00
James Long
5a110a6cdf 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
6833ff1b8a 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
e88303e49b Bug 1007213 - Capture implicit dead branches caused by type barriers. r=sunfish 2014-09-26 19:48:00 +02:00
Nicolas B. Pierron
fe00ccb7c7 Bug 1072911 - Scalar Replacement: Add missing MIRTypes. r=h4writer 2014-09-26 19:47:59 +02:00
Peter Van der Beken
31814f3e69 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
d1b9102a2f 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
b2e3dc3237 Bug 1064346 - JSFunction's extended attributes expect POD-style initialization. r=billm 2014-09-10 15:42:36 -07:00
Jeff Walden
a5eb3f65b1 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
c5f6702524 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
d9c5599cf2 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
8a945d782c 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
da1c9fbe58 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
1a307c2ed0 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
ff264a7cf9 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
0a97ebad50 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
0511a45d5a 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
b18a0e36b5 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
ec9f7678cf Bug 1046751 - Assert the frontend does not leave pending exceptions. r=jorendorff 2014-09-29 20:53:00 +02:00
Jan de Mooij
6b23b9d765 Bug 909389 - Remove --ion-compile-try-catch shell flag. r=djvj 2014-09-29 20:52:57 +02:00
Jan de Mooij
d4fa83897a Bug 1073652 - Baseline-compile JSOP_THROWING. r=bhackett 2014-09-29 20:52:55 +02:00
Trevor Saunders
1bdc86c3f4 no bug - fix nullptr to bool conversion in TypedArrayCommon.h r=themaid 2014-09-29 14:38:09 -04:00
Victor Carlquist
5082b0e0e3 Bug 1054330 - Add a Baseline stub for string.split(string) calls. r=jandem 2014-08-21 18:09:03 -03:00
Hannes Verschore
eb9a93ba0f Bug 1072691: IonMonkey: Fix case of negative zero when folding ternary structure, r=nbp 2014-09-26 15:15:23 +02:00
Hannes Verschore
b8ac31e9a6 Bug 1072691: IonMonkey: Fix hoisting of operand when folding ternary structure, r=nbp 2014-09-26 15:15:21 +02:00
Douglas Crosher
4d337f2912 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
3169117d4e Bug 1073842 - Add NativeObject subclass of JSObject, remove ObjectImpl, r=luke. 2014-10-02 19:32:39 -07:00
Till Schneidereit
01d4d54388 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
2499a5545e Bug 1073016 - Optimize LRound and LRoundF on x86/x64. r=nbp 2014-10-02 17:21:39 +02:00
Hannes Verschore
5071b7dcc4 Bug 1073861 - IonMonkey: Don't update types during type policy, r=jandem 2014-10-02 17:11:28 +02:00
Michael Wu
06394625bc Bug 1073094 - Disable jsloader.reuseGlobal on debug builds, r=khuey 2014-09-30 12:25:41 -04:00
Phil Ringnalda
d9ceb5d4e5 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
3881da9916 Bug 1069688 - Use inline data for small opaque typed objects, r=sfink, nmatsakis. 2014-09-25 18:17:55 -07:00
Terrence Cole
1f8ab6f76b Bug 1070638; r=just_a_test 2014-09-25 17:04:11 -07:00
Christoph Kerschbaumer
8afc30d206 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-25 16:10:28 -07:00
Jason Orendorff
024e0daeb3 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
b6b1188cf1 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)
4ee41940b8 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
38ea59f57e Backed out changesets b08e57dbef4e and 1049cfbf3426 (bug 947044) for various regressions. 2014-09-25 14:32:43 -04:00
Simon Lindholm
ef1343ad6b Bug 981987 - Set displayURL before invoking Debugger.onNewScript hook. r=jimb 2014-09-25 09:14:00 -04:00
Lars T Hansen
6ee4111bff Bug 1071024 - fix style violations. r=me 2014-09-25 20:08:10 +02:00
Nicolas B. Pierron
c8abcdcbb9 Bug 1064358 - Recover CreateThisWithTemplate. r=jandem 2014-09-25 19:12:55 +02:00
Nicolas B. Pierron
f3e5d3181a Bug 1064358 - Recover state of MCreateThisWithTemplate objects. r=jandem 2014-09-25 19:12:55 +02:00
Nicolas B. Pierron
688a23b508 Bug 1067489 - IonMonkey: Make |this| recoverable. r=shu 2014-09-25 19:12:55 +02:00
Jon Coppeard
200c4b60cd Bug 1063468 - Remove more unnecessary use of address() r=sfink 2014-09-25 17:39:02 +01:00
Terrence Cole
0dcee81920 Bug 1072696 - Don't leak the debugScopes pointer if init fails; r=terrence 2014-09-25 09:31:05 -07:00
Guilherme Goncalves
7c4ab26c78 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
5378a20dcc 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
0268491156 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
34204ebdc2 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
9c96a9b942 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
02e244f59e Bug 1069956: SIMD x86-x64 backend: implement SimdReinterpretCast; r=sunfish 2014-09-25 13:18:14 +02:00
Benjamin Bouvier
93948a722b 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
fd2ff94f0a Bug 1069956: SIMD x86-x64 backend: implement SimdConvertFrom; r=sunfish 2014-09-25 13:18:05 +02:00
Bobby Holley
78ccdd9b1f Bug 1065811 - Track Xray waivers with CPOWs. r=billm 2014-09-25 13:13:29 +02:00
Bobby Holley
ba1d6a9c71 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
df0c09602f Bug 1065811 - Stop statically computing callability/constructibility on CPOWs. r=billm 2014-09-25 13:13:29 +02:00
Bobby Holley
bb5d8d198c Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm 2014-09-25 13:13:28 +02:00
Bobby Holley
c170708de7 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
35839ffcae 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
fdf2cecbec Bug 1072174 - Handle all the cases XrayWrapper.cpp. r=peterv 2014-09-24 21:58:33 +02:00
Bill McCloskey
1ec62ca2c2 Bug 1069704 - Fix broken deterministic JS build (lol=jorendorff) 2014-09-24 16:35:08 -07:00
Aleksandar Zlicic
08e64ad5bd 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
af42f7fa6e 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
aa86b5ff0b Bug 1058024 - IonMonkey: (ARM) Fix jsapi-tests/testJitMoveEmitterCycles. r=mjrosenb 2014-09-02 15:59:38 +02:00
Benjamin Bouvier
56553a2a7f 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
df18813906 Bug 1063653 - Add testcase. r=bhackett 2014-09-24 15:42:57 +02:00
Ehsan Akhgari
5aefbe1772 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
7619b52d2d Bug 1071618 - New instructions in the ARM assembler. r=mjrosenb 2014-09-24 15:00:19 +02:00
Jon Coppeard
2b8f82ec59 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
7403081d68 Bug 650161 - Fix up XPCJSRuntime object pointers on moving GC r=bholley 2014-09-18 18:14:50 +01:00
Lars T Hansen
b9609d42c1 Bug 1071604 - Mechanisms for triggering the ARM simulator's REPL. r=mjrosenb 2014-09-24 13:52:11 +02:00
Carsten "Tomcat" Book
a674cd01fd Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures 2014-09-24 13:13:20 +02:00
Hannes Verschore
53d43d94dc Bug 1071879 - IonMonkey: Hoist operand when folding ternary structure, r=nbp 2014-09-24 12:47:58 +02:00
Hannes Verschore
85294d1b17 Bug 1047266 - IonMonkey: Improvements to folding and lowering of MTest, r=sunfish 2014-09-24 11:07:33 +02:00
Christoph Kerschbaumer
c94caab7aa Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Marty Rosenberg
df4251eb29 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
03446ee2e1 Bug 1068225 - Fix up assertion to check the right thing. r=bholley 2014-09-24 09:17:33 +02:00
Nick Fitzgerald
81c814e0ef Bug 947044 - Part 2: Fix tests that check ReferenceError's message. r=gavin 2014-09-22 16:13:00 +02:00
Nick Fitzgerald
42d6d7fbc5 Bug 947044 - Provide a suggestion when throwing ReferenceError: <name> is not defined. r=luke 2014-09-23 16:34:00 +02:00
Marty Rosenberg
6d4f4f3d1d 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
914b8de50c 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
231c5f37c8 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
f1e3e07ae5 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
c0bdd400d9 Bug 1069704 - Add Cu.getJSTestingFunctions().objectAddress(obj) (r=sfink) 2014-09-23 15:48:52 -07:00
Brian Hackett
efbf8d4871 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
fced2a564b Bug 1068668 - Fix tests that tested for legacy 'let' semantics. (r=Waldo) 2014-09-23 15:43:27 -07:00
Shu-yu Guo
4ef1e45770 Bug 1068668 - Fix stale reference to the -d JS shell flag. (r=terrence) 2014-09-23 15:43:27 -07:00
Shu-yu Guo
40c6509e7f Bug 1068953 - Disable coherency checks in JitCodeGlobalTable's SplayTree. (r=djvj) 2014-09-23 15:43:27 -07:00
Shu-yu Guo
29a2bb481b Bug 1070462 - Have BINDNAME push a poison scope on uninitialized lexical lookup. (r=Waldo) 2014-09-23 15:43:27 -07:00
Christoph Kerschbaumer
cded590dd2 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Jeff Walden
a2fcb6fcad 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
41b43e3e3f 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
3752b3f117 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
d5707f5743 Bug 1062869 part 7 - Prevent miss-use of instruction result computation. r=h4writer 2014-09-23 19:42:35 +02:00
Nicolas B. Pierron
b0d722e871 Bug 1062869 part 6 - Handle early execution of recover instructions. r=h4writer 2014-09-23 19:42:35 +02:00
Nicolas B. Pierron
00ac46904f 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
e1b1b57de3 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
cfcd56d28b Bug 1062869 part 4 - Add an invalidate function to IonScript. r=h4writer 2014-09-23 19:42:34 +02:00
Nicolas B. Pierron
921d9c8091 Bug 1062869 part 3 - Add vector of Ion recover info. r=h4writer 2014-09-23 19:42:34 +02:00
Nicolas B. Pierron
54a28bee34 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
0dcf83d65c 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
449099788e 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
36c154d634 Bug 1062869 part 0 - JitFrameIterator.cpp: Remove unused pre-declaration. r=h4writer 2014-09-23 19:42:33 +02:00
Lars T Hansen
693426a6dc 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
b58c172f7c Bug 1056373 - Add the ability to sample each allocation by some probability. r=jimb 2014-09-22 17:01:00 -04:00
Tom Schuster
325d8fe2cc Bug 1069694 - Remove or move around functions in OldDebugAPI. r=shu 2014-09-23 15:25:31 +02:00
Douglas Crosher
49ba656c2e Bug 1013996 - irregexp: Avoid unaligned accesses in ARM code. r=bhackett 2014-08-17 14:45:31 +10:00
Jacek Caban
a0bf708504 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
b6b9aef06e Bug 1064537: Fix build warning for multiline comment; r=h4writer 2014-09-23 10:43:30 +02:00
Lars T Hansen
35e75a9242 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
1d85100029 Bug 1064537: IonMonkey: Try folding ternary constructs, r=nbp 2014-09-23 09:42:05 +02:00
Dan Gohman
52b236f6c8 Bug 1070464 - IonMonkey: Update the dominator tree after ParallelSafetyAnalysis r=shu 2014-09-22 19:11:02 -07:00
Dan Gohman
e126340bd8 Bug 1070460 - IonMonkey: Set the isCommutative flag when creating a commutative MMul. r=nbp 2014-09-22 19:11:00 -07:00
Brian Hackett
585400ecfd Bug 1066652 - Clean up APIs for adding property types, r=jandem. 2014-09-22 17:29:15 -07:00
Shu-yu Guo
9b9ef9c66f Bug 1068450 - Document Debugger.Frame.prototype.implementation. DONTBUILD. (r=jimb) 2014-09-22 16:34:10 -07:00
Eric Rahm
4900836347 Bug 1060171 - Part 1: Add log levels to nsIConsoleMessage. r=froydnj 2014-09-22 15:32:21 -07:00
Hannes Verschore
76cce7aac2 Bug 1067984 - IonMonkey: Temporarily disable lazy linking for non i686/x64, r=mjrosenb 2014-09-22 22:45:08 +02:00
Ryan VanderMeulen
5341a067d5 Merge m-c to inbound. a=merge 2014-09-22 15:51:51 -04:00
Ryan VanderMeulen
4c1b927bbd Merge m-c to inbound. a=merge 2014-09-22 15:50:08 -04:00
Benjamin Smedberg
3ef8a2c338 Bug 1069518 - XPTCall should refuse to implement interfaces with [notxpcom] methods, r=froydnj/bholley 2014-09-22 15:10:31 -04:00
Till Schneidereit
f4e27c8d26 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
43e9461732 Bug 1068123 - Make the MOZ_GCTIMER logs more verbose and readable; r=jonco 2014-09-19 08:39:54 -07:00
Terrence Cole
dbd2a27b80 Backout 3f395d9d894a (Bug 1057563) for not handling the background allocation case. 2014-09-22 09:40:54 -07:00
Vlatko Markovic
081fef0a34 Bug 1059216 - Verification of Trusted Hosted Apps manifest signature, part 1. r=dkeeler,rlb 2014-09-22 07:58:59 -07:00
Michael Shuen
ac25756b56 Bug 1061652 - Inline setCrossCompartmentSlot on windows. r=luke 2014-09-19 18:35:00 +02:00
Christoph Kerschbaumer
05405778d5 Bug 1038756: Callsites creating a channel in /js/ (r=mrbkap) 2014-09-21 09:45:16 -07:00
Jon Coppeard
30373d5690 Bug 1069655 - Fix build errors in non-unified builds r=me 2014-09-22 11:09:53 +01:00
Jon Coppeard
67f0977a18 Bug 1069655 - Unify the forwarding mechanisms used by generational and compacting GC r=terrence 2014-09-22 09:36:22 +01:00
Jon Coppeard
c78467ce4c 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
f375914ad1 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
f11e8e15bb 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
5dcce2b875 Bug 1070696 - Implement a JSObject* override to AutoJSAPI::Init(). r=smaug 2014-09-21 21:31:53 +02:00
Bobby Holley
8a6a5ded7f 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
87c581d553 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
5a69c78626 Bug 1062860 - Object.isSealed() should return true when given primitive values as input. r=till 2014-09-04 21:08:33 +08:00
ziyunfei
c1e104ecfa 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
8b30b5c9c6 Bug 1068451 - test case. r=waldo 2014-09-20 12:26:20 +02:00
Lars T Hansen
3783d57098 Bug 1068458 - Limit SharedArrayBuffer and SharedTypedArray to INT32_MAX bytes. r=waldo 2014-09-20 12:12:06 +02:00
Terrence Cole
8f8041e2a0 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
b345707b94 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
53ec639c97 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
e3b9515c0f 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
1029685e01 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
54a09435e5 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
38ff30f0e1 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
06bfc8b751 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
d362e29b60 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
ded97b3fb2 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
573a986965 Bug 1025100: Implement MSimdInsertElement; r=sunfish 2014-09-19 14:53:25 +02:00
Benjamin Bouvier
d161da6e88 Bug 1025100: Factor out redundant LExtractElement classes; r=sunfish 2014-09-19 14:53:19 +02:00
Benjamin Bouvier
6fc0a22f87 Bug 1053788: Add Float32 min max in asm.js; r=luke 2014-09-19 14:39:59 +02:00
Benjamin Bouvier
590f33ddb5 Bug 1053788: Activate float32 specialization of min/max; r=nbp 2014-09-19 14:39:53 +02:00
Benjamin Bouvier
fac89b25ee Bug 1053788: Add float32 tests for RMinMax; r=nbp 2014-09-19 14:39:32 +02:00
Benjamin Bouvier
f5b30aca43 Bug 1053788: Implement backends for generating min/max for float32; r=sunfish 2014-09-19 14:39:27 +02:00
Benjamin Bouvier
049a8931b3 Bug 1053788: Factor out LMinMax from LMinMax{I,F}; r=sunfish 2014-09-19 14:39:05 +02:00
Marty Rosenberg
40687cb5ac 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
124a7fbc0c 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
5e9f0deda7 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
5417dad8c9 Bug 650161 - Fix shell test failures caused by compacting GC r=terrence 2014-09-17 15:35:11 +01:00
Jon Coppeard
f5428b98dc 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
86ddea6465 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
35daa6f03d Bug 994018 - Remove Memcpy-optimization for Typed Objects. r=nmatsakis 2014-09-17 22:57:33 +02:00
Jim Blandy
ecb5da2bd3 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
1ae1bd2a6f 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
b393e02f78 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
3b3bc15519 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
401b921e68 Bug 1069260 - Add MFunctionEnvironment::foldsTo. r=sunfish 2014-09-18 19:05:47 +02:00
Nicolas B. Pierron
42651d3065 Bug 1062869 part 6 - Handle early execution of recover instructions. r=h4writer 2014-09-18 18:28:56 +02:00
Nicolas B. Pierron
cce27b8fad 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
39b6eddb12 Bug 1062869 part 4 - Add an invalidate function to IonScript. r=h4writer 2014-09-18 18:28:55 +02:00
Nicolas B. Pierron
813d0b75c9 Bug 1062869 part 3 - Add vector of Ion recover info. r=h4writer 2014-09-18 18:28:54 +02:00
Nicolas B. Pierron
ae5a3c611a 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
2961818099 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
b0a4e99fa2 Bug 1062869 part 0 - JitFrameIterator.cpp: Remove unused pre-declaration. r=h4writer 2014-09-18 18:28:53 +02:00
Brian Hackett
cf8c764467 Bug 1061741 - Remove type slot in typed arrays, r=sfink. 2014-09-18 09:28:01 -07:00
Nicolas B. Pierron
9d4603e4ae Bug 1065996 - Split data / methods of TypePolicy classes. r=jandem 2014-09-18 18:07:44 +02:00
Branislav Rankov
8c71eeeeaf Bug 972836 - IonMonkey MIPS: Fixed FloatRegisters::GetName. r=mjrosenb 2014-09-02 14:53:06 +02:00
Aleksandar Zlicic
83e41bc2cd 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
6e45682051 Bug 1053999 - Investigation for JS_TransplantObject crash (r=bholley) 2014-09-18 08:56:56 -07:00
Dan Gohman
cb4da240c7 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
b703637118 Bug 1058090 - IonMonkey: Minor compile-time speedups r=luke 2014-09-18 08:51:35 -07:00
Benjamin Bouvier
15d6d562e7 Bug 1054882: Remove unused JSProtoKey key in SharedTypedArrayObject.cpp; r=lth 2014-09-18 13:37:14 +02:00
Benjamin Bouvier
aeecf6264c Bug 1068096: Add Min/Max support in Odin; r=luke 2014-09-18 12:59:54 +02:00
Benjamin Bouvier
d7d4c56238 Bug 1043337: Add Min/Max to MSimdBinaryArith; r=sunfish 2014-09-18 12:59:38 +02:00
Benjamin Bouvier
a376bd3a10 Bug 1067502: Factor out call coercions; r=luke 2014-09-18 12:21:12 +02:00
Benjamin Bouvier
2769f37059 Bug 1067502: Be less coercive for float32x4 ctor and splat inputs; r=luke 2014-09-16 16:41:06 +02:00
Benjamin Bouvier
f4af078b13 Bug 1059321: Simplify SIMD constructor's initialization; r=nmatsakis 2014-09-18 12:02:12 +02:00
Johannes Schulte
55e0eef167 Bug 1059426 - Don't inline ToInteger if we're likely to bailout. r=kvijayan 2014-09-16 20:40:45 +02:00
Nicholas Nethercote
9a8bee0c06 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
daff91268c 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
65c45ebac4 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
a828c59114 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
cfb97b603f Bug 1072881 - IonMonkey ARM: optimize Float32ToDouble to useAtStart its argument. r=mrosenberg 2014-09-27 00:24:42 +10:00
Jan de Mooij
ca55bb055f Bug 831585 - Refactor and simplify for-in bytecode and remove cx->iterValue. r=bhackett 2014-09-17 21:07:37 +02:00
Brian Hackett
b13687235e Bug 1061404 - Move ArrayBuffer view list into per compartment tables, r=sfink. 2014-09-17 11:13:17 -07:00
Terrence Cole
8a0ee658e4 Bug 1068223 - Clean up the Cell hierarchy; r=jonco
--HG--
extra : rebase_source : 3b9e05416971eee3eb9e8cdc30008fe41f2fd539
2014-09-17 10:32:37 -07:00
Dan Gohman
02d0e5ceed Bug 1029830 - IonMonkey: GVN: More folding for MTest and MTableSwitch. r=nbp 2014-09-17 10:27:26 -07:00