Commit Graph

48981 Commits

Author SHA1 Message Date
Lars T Hansen
8c317a09dd Bug 1154705 - clone test functions to trigger inlining. r=jandem 2015-04-21 06:39:16 +02:00
Lars T Hansen
555cb57d4d Bug 1156386 - UXTH instruction. r=dougc 2015-04-21 06:39:12 +02:00
Luke Wagner
76c069769d Bug 1154556 - OdinMonkey: fix staticalllyLink to handle cloned, profile-enabled code (r=bbouvier) 2015-04-20 22:59:34 -05:00
Luke Wagner
a74bda6c4a Bug 1154556 - OdinMonkey: simplify icache flushing (r=bbouvier) 2015-04-20 22:48:00 -05:00
Luke Wagner
fceca9b3b1 Bug 1154556 - OdinMonkey: remove a dead field from AsmJSActivation (r=bbouvier) 2015-04-20 22:43:59 -05:00
Terrence Cole
b1d40784e5 Bug 1154085 - Move eager scanning under the ambit of GCMarker::traverse; r=sfink
--HG--
extra : rebase_source : bd4fe231858ed531d229321078b2343947a62d2f
2015-04-14 13:28:39 -07:00
Nicolas B. Pierron
bdbd56c386 Bug 1155468 - Fix Register::GetName typedef issue with clang. r=jandem 2015-04-20 11:33:40 -07:00
Ryan VanderMeulen
b3bb684fd1 Backed out changeset 075804ae0a42 (bug 1154705) for SM(arm) crashes.
CLOSED TREE
2015-04-20 13:31:10 -04:00
Ehsan Akhgari
e847c415b3 Bug 1155393 - Port the -Wno-inline-new-delete option from configure.in to the JS configure script; r=dholbert 2015-04-20 13:05:01 -04:00
Lars T Hansen
b5286dc77d Bug 1154714 - don't check inline return type for Atomics.store. r=bbouvier 2015-04-20 18:21:05 +02:00
Lars T Hansen
e6215a47e5 Bug 1154705 - clone test functions to trigger inlining. r=jandem 2015-04-20 18:21:03 +02:00
Luke Wagner
9ea93715d5 Bug 1152280 - OdinMonkey: tighten changeHeap mask validation (r=bbouvier) 2015-04-20 09:14:08 -05:00
Tooru Fujisawa
42b7bb3cf1 Bug 1155081 - Part 13: Remove ThrowError intrinsic. r=till 2015-04-20 13:58:17 +09:00
Tooru Fujisawa
4805cc2cfd Bug 1155081 - Part 12: Replace ThrowError(JSMSG_TYPEDOBJECT_ARRAYTYPE_BAD_ARGS) with ThrowTypeError(JSMSG_TYPEDOBJECT_BAD_ARGS) in TypedObject.js. r=till 2015-04-20 13:58:17 +09:00
Tooru Fujisawa
17bf2e6e97 Bug 1155081 - Part 11: Replace ThrowError with ThrowTypeError in Utilities.js. r=till 2015-04-20 13:58:17 +09:00
Tooru Fujisawa
17dd56e97e Bug 1155081 - Part 10: Replace ThrowError for TypeError with ThrowTypeError in TypedObject.js. r=till 2015-04-20 13:58:17 +09:00
Tooru Fujisawa
1fab22a4d5 Bug 1155081 - Part 9: Replace ThrowError with ThrowTypeError in TypedArray.js. r=till 2015-04-20 13:58:17 +09:00
Tooru Fujisawa
a481482c10 Bug 1155081 - Part 8: Replace ThrowError with ThrowTypeError/ThrowRangeError in String.js. r=till 2015-04-20 13:58:17 +09:00
Tooru Fujisawa
6ddc8b1a6d Bug 1155081 - Part 7: Replace ThrowError with ThrowTypeError in RegExp.js. r=till 2015-04-20 13:58:17 +09:00
Tooru Fujisawa
836f41fa7e Bug 1155081 - Part 6: Replace ThrowError with ThrowTypeError in Object.js. r=till 2015-04-20 13:58:16 +09:00
Tooru Fujisawa
f0e8daf591 Bug 1155081 - Part 5: Replace ThrowError with ThrowTypeError in Map.js/Set.js/WeakSet.js. r=till 2015-04-20 13:58:16 +09:00
Tooru Fujisawa
a6dafbec45 Bug 1155081 - Part 4: Replace ThrowError with ThrowTypeError/ThrowRangeError in Intl.js. r=till 2015-04-20 13:58:16 +09:00
Tooru Fujisawa
4fd6bd1f84 Bug 1155081 - Part 3: Replace ThrowError with ThrowTypeError in Generator.js. r=till 2015-04-20 13:58:16 +09:00
Tooru Fujisawa
d2fbdf84d2 Bug 1155081 - Part 2: Replace ThrowError with ThrowTypeError in Error.js. r=till 2015-04-20 13:58:16 +09:00
Tooru Fujisawa
120c6c2c2d Bug 1155081 - Part 1: Replace ThrowError with ThrowTypeError in Array.js. r=till 2015-04-20 13:58:16 +09:00
Chris Peterson
49d205d7b2 Bug 1152661 - Fix -Wuninitialized warnings about Operand member variables. r=jandem 2015-04-11 23:03:26 -07:00
Tom Schuster
4e643659ec Bug 1152550 - Make sure that cross-global Iterator can not be broken. r=Waldo 2015-04-19 18:13:59 +02:00
Boris Zbarsky
e279603075 Bug 1155793 part 2. Split apart the concepts of movability and eliminatability in jitinfo, since some things are not movable but are eliminatable. r=efaust. 2015-04-17 22:01:02 -04:00
Boris Zbarsky
7758808bc1 Bug 1155793 part 1. Make it possible to safely change the number of bits in the slotIndex field in jitinfo. r=efaust 2015-04-17 22:01:02 -04:00
Boris Zbarsky
4a61e9d41f Bug 1155788. Make the Ion inner-window optimizations work again. r=efaust 2015-04-17 22:01:02 -04:00
Jim Blandy
ebd83c9a61 Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley
--HG--
extra : rebase_source : 8ab7a3628a5b4d94b957f24e23e4c5c7871db97c
2015-04-08 21:23:48 -04:00
Tooru Fujisawa
920b5f0814 Backed out changeset 564184f293a6 (bug 891107) for mochitest-other failure on a CLOSED TREE 2015-04-18 05:51:24 +09:00
Tooru Fujisawa
3ca77f8529 Backed out changeset 28bbd9862551 (bug 891107) for mochitest-other failure on a CLOSED TREE 2015-04-18 05:51:22 +09:00
Tooru Fujisawa
c7e3f01856 Backed out changeset 43f5ca4913df (bug 891107) for mochitest-other failure on a CLOSED TREE 2015-04-18 05:51:20 +09:00
Tooru Fujisawa
1f7719863e Bug 891107 - Part 3: Report argument type error as TypeError in js-ctypes. r=jorendorff 2015-04-18 04:00:37 +09:00
Tooru Fujisawa
9d878e45a5 Bug 891107 - Part 2: Report argument length error as TypeError in js-ctypes. r=jorendorff 2015-04-18 04:00:37 +09:00
Tooru Fujisawa
69a8fbeadd Bug 891107 - Part 1: Show information about value, type, function, and argument number in type conversion error messages in js-ctypes. r=jorendorff 2015-04-18 04:00:36 +09:00
Luke Wagner
379f05b01b Bug 1155726 - OdinMonkey: add new cache failure code for when storage initialization fails (r=janv)
--HG--
extra : rebase_source : f724ccb0ce960bd22dce05eed659cb3e4c96bd23
2015-04-17 13:17:30 -05:00
Terrence Cole
ffde8dd47f Bug 1154086 - Move DoTracing to Tracer.cpp; r=sfink 2015-04-14 13:28:39 -07:00
Terrence Cole
4dc34ce057 Bug 1153999 - Rename markChildren to traceChildren; r=sfink 2015-04-14 13:28:39 -07:00
Terrence Cole
5f83d02dfb Bug 1153959 - Use RAII to manage tracing details; r=jonco
--HG--
extra : rebase_source : 9b53b4106e369e62f6d7503a619da89559bd9c02
2015-04-10 13:33:56 -07:00
Olli Pettay
ed58cf4df5 Bug 1153688, treat JS Symbol as void on C++ side of Variant, r=bholley
--HG--
extra : rebase_source : 21a4916d97b842dadf314250b51617c24ab2a740
2015-04-17 17:30:34 +03:00
Aleksandar Zlicic
1dbce85981 Bug 1155185 - IonMonkey MIPS: Fix build failure on MIPS; implement MacroAssemblerMIPS::convertInt32ToDouble(const BaseIndex& src, FloatRegister dest). r=rankov
CLOSED TREE
2015-04-16 15:57:33 +02:00
Jon Coppeard
e1065b2dd1 Bug 1155258 - Pass correct pointer to onOutOfMemory() when called from realloc r=terrence 2015-04-17 11:56:50 +01:00
Lars T Hansen
859066bb2b Bug 1154858 - don't ignore parameters. r=sunfish 2015-04-17 10:38:30 +02:00
Shu-yu Guo
218ee73d59 Bug 1154997 - Deal with self-hosted builtins when stringifying tracked optimization type info. (r=djvj) 2015-04-16 20:32:49 -07:00
Shu-yu Guo
4280339c43 Bug 1155466 - Freshened blocks should pop their old blocks in debug scopes. (r=Waldo) 2015-04-16 20:32:49 -07:00
Ryan VanderMeulen
7d1cb87298 Backed out changeset 47abda42667c (bug 1063257) jit-test failures. 2015-04-16 16:27:34 -04:00
Jim Blandy
1d40faa3cd Bug 1063257: Implement JS::ubi::Node::size for JSString. r=sfink
--HG--
extra : rebase_source : c126a5e626d666941b0fc657fbd7fcf1450e0e35
extra : histedit_source : f5cf97b77bf057c6ca47a072fde7b67e1f28e671
2015-03-22 23:06:51 -07:00
Jim Blandy
fc9d59392a Bug 1062473: Implement JS::ubi::Node::size for JSObjects. r=sfink,terrence
--HG--
extra : rebase_source : cc27cefa89ab9689cbfe7f62635a00c3363f4265
extra : histedit_source : fd7c1ca09c654b27536774d7b722319819dd74e0
2015-04-01 18:04:53 -07:00
Jim Blandy
161ee5e528 Bug 1155197: For JS::ubi::Node, provide jsObjectClassName directly in JSObject specialization. r=terrence
--HG--
extra : rebase_source : 2b192a3b74a6e9ac2e1bf9e967bcd8b2a7d41ce6
extra : histedit_source : 30b033cce6b71683240a117a8431d5c78cbc0581
2015-04-15 22:04:38 -07:00
Jim Blandy
b83ebdef63 Bug 1062473: Make JSObject::allocKindForTenure out of GetObjectAllocKindForCopy. r=terrence
--HG--
extra : rebase_source : 6fdd6fcf599e659cae925932b24a5a7a27ac1f3f
2015-04-01 17:57:41 -07:00
Jim Blandy
b665cd84f5 Bug 1062473: Add 'const' qualifiers to this for some NativeObject methods and free functions. r=terrence
--HG--
extra : rebase_source : 6042e1193a146e2bcd4bfc9c3da7aa706f0c474c
2015-03-11 16:54:11 -07:00
Jim Blandy
e7fadef8d5 Bug 1062473: Add 'pointer-byte-size' to getBuildConfiguration results. r=sfink
--HG--
extra : rebase_source : 405bef9d281a48e0781105a2158186d17544089f
2015-02-16 14:22:44 -08:00
Jim Blandy
a1f8669a0c Bug 1062473: Use mozalloc's moz_malloc_size_of in the JS shell, not our own custom copy. r=glandium
--HG--
extra : rebase_source : 0d35302f40bbc602d0338d1bcb563b045babd441
2015-04-13 16:11:32 -07:00
Jim Blandy
6afdd6c96b Bug 1145051: Use MOZ_WARN_UNUSED_RESULT instead of NS_WARN_UNUSED_RESULT. r=glandium
--HG--
extra : rebase_source : d210822225d307f3e3685cb5f95b461c48c0be7e
2015-03-19 00:46:40 -07:00
Jim Blandy
a778e9f970 Bug 1145051: Replace uses of NS_ATTR_MALLOC with new MOZ_ALLOCATOR from mfbt/Attributes.h. r=glandium
--HG--
extra : rebase_source : 294215445f084687ed7fa51b88e7a22e586447a2
2015-03-18 23:56:08 -07:00
Jeff Walden
1e81c1279c Bug 1154532 - Add ThrowRangeError and ThrowTypeError intrinsics to make self-hosted code's behavior clearer -- and also have each assert that error number and requested error type are consistent. (It appears no self-hosted code throws SyntaxError, ReferenceError, or URIError yet, so no adding functions for those yet.) r=till
--HG--
extra : rebase_source : 90f09843b775b6e512d8447177ac0db87d5f6683
2015-04-15 10:55:39 -07:00
Jeff Walden
6e8c9ac24b Bug 1154480 - Make new Uint8Array().set([], -1) throw a RangeError, not merely an Error. r=till
--HG--
extra : rebase_source : eec24e20cd07152378098dc8f5bc21ed804f64e5
2015-04-15 10:46:41 -07:00
Jeff Walden
811dd58432 Bug 748550 - Remove support for |for (... = ... in/of ...)| now that ES6 has removed it. r=jorendorff
--HG--
extra : rebase_source : a277c231092abedfd037b7ee0b5693c848706b8a
2015-04-02 21:08:11 -04:00
Shu-yu Guo
22739fb995 Bug 1147939 - The expression decompiler can't assume that it's called directly from script. (r=bhackett) 2015-04-15 21:55:21 -07:00
Shu-yu Guo
c80aabf81b Bug 1152304 - Add displaying of block notes to dis() in the JS shell. (r=jimb) 2015-04-15 21:55:21 -07:00
Shu-yu Guo
379e27b7e6 Bug 1152304 - Record the end of block scope notes to be after emission of JSOP_POPBLOCKSCOPE. (r=jimb) 2015-04-15 21:55:21 -07:00
Jim Blandy
205761df0c Bug 1155006: Fix unified build sensitivities in js/src. r=shu
--HG--
extra : rebase_source : adc1361db68260d1e7e3ff9c12b827cf3e962b8b
extra : histedit_source : 1e4442a49e57de9213605822370b97d8c25757f0
2015-04-15 17:50:15 -07:00
Jim Blandy
08536cb66d Bug 1155006: Fix unified build sensitivities in js/src/jit. r=shu
--HG--
extra : rebase_source : 51e2461ee971845a73354c721fc9d6cbd7662f50
extra : histedit_source : 1fc6cd77738dd38c85807867edb00ba443addeb0
2015-04-15 17:48:30 -07:00
Wes Kocher
25448dc363 Backed out changeset 42ed856b37d9 (bug 1153382) to see if it unbreaks e10s-bc1 CLOSED TREE 2015-04-15 16:45:41 -07:00
Terrence Cole
4ce464aeeb Bug 1153382 - Make poison values more toxic when used as a Value; r=sfink 2015-04-13 09:56:02 -07:00
Ryan VanderMeulen
e84765d2dc Backed out changesets bd9cb02d4da8 and 9f2ad189edc9 (bug 1150337) for WinXP debug jit-test OOMs.
CLOSED TREE
2015-04-15 13:38:11 -04:00
Dan Gohman
53aa3a4305 Bug 1150337 - OdinMonkey: Followup to correct an assert condition on a CLOSED TREE 2015-04-15 09:37:00 -07:00
Dan Gohman
809287b949 Bug 1150337 - OdinMonkey: Optimize the full range of immediate offsets on x64. r=luke 2015-04-15 08:48:13 -07:00
Jon Coppeard
17716f5ecb Bug 1153498 - Use RelocatablePtr in RegExpShared since these can be destroyed outside of the GC r=terrence 2015-04-14 11:31:12 +01:00
Jon Coppeard
5172d74aeb Bug 1154692 - Ensure memory allocated from MallocPolicy::pod_calloc() is zero-initialized after OOM r=terrence 2015-04-15 15:25:47 +01:00
Dan Gohman
0337811173 Bug 1136898 - IonMonkey: Remove the LinearScan allocator and associated code r=jandem 2015-04-14 22:36:11 -07:00
Carsten "Tomcat" Book
88929d9f06 Merge mozilla-central to mozilla-inbound 2015-04-15 14:58:23 +02:00
Carsten "Tomcat" Book
40ae721556 merge mozilla-inbound to mozilla-central a=merge 2015-04-15 14:28:05 +02:00
Benjamin Bouvier
95640cdd28 Bug 1148494: SimdUnbox shouldn't be removed; r=sunfish
--HG--
extra : rebase_source : 2f732709c0bb1ee0f06a92e914a8285c0f8ef073
extra : amend_source : 39540ef6e90ad63d9809ffe5310c3a841a4273ae
2015-04-13 19:03:42 +02:00
Florian Merz
97dce3a997 Bug 1063946 SIMD: Group tests in logical units - typed objects; r=bbouvier
--HG--
extra : rebase_source : 75b898dc83a8a9f4a15fa6ec316d0a65f06bd6b0
2015-04-13 21:37:32 +02:00
Florian Merz
7124413c0c Bug 1063946 SIMD: Group tests in logical units - conversions; r=bbouvier
--HG--
extra : rebase_source : f7bdd2a970afaf798d2d1093ad2f8316f7fe7659
2015-04-13 21:37:20 +02:00
Florian Merz
eee7d61543 Bug 1063946 SIMD: Group tests in logical units - binary operations; r=bbouvier
--HG--
extra : rebase_source : cf9095803e5504478dae22b53835566dcda5c87e
2015-04-13 21:37:06 +02:00
Florian Merz
1766d6c625 Bug 1063946 SIMD: Group tests in logical units - unary operations; r=bbouvier
--HG--
extra : rebase_source : a954f94c041e6f85732296ee24e38b236d59dcda
2015-04-13 21:36:45 +02:00
Wes Kocher
e005d7be52 Merge m-c to fx-team a=merge CLOSED TREE 2015-04-14 15:40:46 -07:00
David Rajchenbach-Teller
2f31f8bdf2 Bug 1150045 - De-anonymize Expanded Principals. r=bholley 2015-04-10 17:52:29 +02:00
Jacek Caban
9972a1194a Bug 1151981 - Properly check for MSVC (mingw fixup). 2015-04-14 18:11:27 +02:00
Ryan VanderMeulen
76056920ad Backed out changeset 607cfbb06eb8 (bug 1153498) for WinXP debug jit-test perma-timeouts.
CLOSED TREE
2015-04-14 11:08:34 -04:00
Ms2ger
f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Tom Schuster
06c138f72e Bug 1153651 - Define array.length as JSPROP_SHADOWABLE. r=jorendorff 2015-04-14 14:24:45 +02:00
Hannes Verschore
62590c615c Backed out f3da454330a5 (bug 1049290) for adblock plus hangs 2015-04-14 13:00:36 +02:00
Jon Coppeard
fe8f98ea43 Bug 1153498 - Use RelocatablePtr in RegExpShared since these can be destroyed outside of the GC r=terrence 2015-04-14 11:31:12 +01:00
Brian Hackett
bd1ce07fce Bug 1153266 - Allow turning on unboxed objects with an environment variable, r=h4writer. 2015-04-13 12:11:47 -06:00
Terrence Cole
f18d34cace Bug 1153354 - Share SetMaybeAliveFlag between the two places we use it; r=jonco
--HG--
extra : rebase_source : 12e5952ed69651c6481a021cb41403c52d1b60d6
2015-04-08 14:43:39 -07:00
Nathan Froyd
25d420d22e Bug 1153244 - increase JS helper threads stack space when MOZ_TSAN is enabled; r=bhackett
TSan enforces a minimum stack size that's just slightly larger than our
default helper stack size.  It does this to store blobs of TSan-specific
data on each thread's stack.  Unfortunately, that means that even though
we'll actually receive a larger stack than we requested, the effective
usable space of that stack is significantly less than what we expect.
To offset TSan stealing our stack space from underneath us, increase the
default when we're running with MOZ_TSAN.
2015-04-10 09:27:20 -04:00
Nathan Froyd
605bdffa18 Bug 1153255 - set a build configuration flag when MOZ_TSAN is enabled; r=jorendorff
We will want to query this just like MOZ_ASAN.
2015-04-09 13:37:52 -04:00
Mike Hommey
4af8b72d33 Bug 1153122 - Disable -Warray-bounds as a fatal warning. r=cpeterson 2015-04-15 09:21:22 +09:00
Jon Coppeard
d68d8d5ba3 Bug 1149752 - Cancel GC caused by user inactivity if the user becomes active again r=terrence r=smaug 2015-04-13 16:42:41 +01:00
Nicolas B. Pierron
0a44de71e0 Bug 1135629 - Rename Register::code to Register::encoding for Assembler functions. r=jandem 2015-04-13 16:31:15 +02:00
Hannes Verschore
49a945b86f Bug 1153153: IonMonkey: Repoint the block instead of deleting the block for andor statements, r=bhackett 2015-04-13 14:49:46 +02:00
Chris Peterson
0b362ab86c Back out changeset 469f64dc67e2 (bug 1152661) for -Wbitfield-constant-conversion warnings-as-errors on OS X. 2015-04-11 22:59:30 -07:00
Chris Peterson
e80951df1f Bug 1152661 - Fix -Wuninitialized warnings about Operand member variables. r=jandem 2015-04-08 22:37:04 -07:00
Jan de Mooij
d0cafe7fe8 Bug 1153165 - Make |operator bool| methods in js/src explicit. r=luke 2015-04-11 22:19:01 +02:00
Jim Mathies
653248f076 Bug 1100501 - Add StatisticsRecorder initialization to xpcshell. r=georg 2015-04-11 07:02:29 -05:00
Tom Schuster
5757f099bf Bug 895223 - Test for the now correctly behaving properties (e.g array.length). r=jorendorff 2015-04-11 14:00:17 +02:00
Tom Schuster
f5654b8fdb Bug 895223 - Always pass the holder to JSGetterOps. r=jorendorff,jandem 2015-04-11 13:59:47 +02:00
Eric Faust
26cd2ac86b Bug 1153057 - Properly initialize the [[HomeObject]] of methods with computed property names. (r=jorendorff) 2015-04-10 13:47:53 -07:00
Wes Kocher
4717b36921 Backed out changeset c2ba0e6f13b4 (bug 1153057) for spidermonkey bustage CLOSED TREE 2015-04-10 14:54:01 -07:00
Wes Kocher
7f11a74d01 Backed out changeset 91213097831c (bug 1153057) 2015-04-10 14:53:35 -07:00
Eric Faust
c78047e262 Bug 1153057 - Fix signed comparison warning on a CLOSED TREE. 2015-04-10 14:22:52 -07:00
Eric Faust
1c806698c0 Bug 1153057 - Properly initialize the [[HomeObject]] of methods with computed property names. (r=jorendorff) 2015-04-10 13:47:53 -07:00
Terrence Cole
49fa4bf5dd No Bug - Remove an accidentally checked-in testing note; r=meow
--HG--
extra : rebase_source : 9f9eae61d09d737d73ed470fa16048224a624fa0
2015-04-10 13:33:56 -07:00
Tooru Fujisawa
48ee5b588e Bug 1153148 - Add documentation comment for JSOP_SUPERBASE and JSOP_INITHOMEOBJECT. r=efaust 2015-04-11 05:32:37 +09:00
ProgramFOX
48aef4c716 Bug 1150836 - SIMD (interpreter): change order of operations of ReciprocalSqrtApproximation. r=bbouvier
--HG--
extra : transplant_source : 2%40%F9%D5%D0%E8%F3%07j%1E%F8Q%CC%D1%B4%C1z3%D9%12
2015-04-08 14:04:58 +02:00
Ting-Yu Chou
2405b710e7 Bug 1049290 - Optimize JSOP_IN for baseline compiler. r=djvj, r=h4writer 2015-04-10 12:41:22 +08:00
Terrence Cole
d73d71cfd1 Bug 1152964 - Remove browser users of setTracingDetails; r=mccr8
--HG--
extra : rebase_source : d88656049b8de6cda9af80300d6c5b93eba45dd2
2015-04-10 09:03:00 -07:00
Terrence Cole
72356f262e Bug 1151981 - Remove the void* marking functions; r=jonco,terrence
--HG--
extra : rebase_source : eb2b1ccafa0c8920ec8cc9745f4d327595056a86
2015-04-02 09:53:01 -07:00
Terrence Cole
1f25f66f8b Bug 1152177 - Make jsid and Value pre barriers symetrical; r=jonco
--HG--
extra : rebase_source : 0bbfaaf89c826787e6aa7bf2bcd9d3b107faa5c8
2015-04-10 08:58:26 -07:00
Tooru Fujisawa
057facc415 Bug 1147817 - Part 2: Use IsRegExp in RegExp constructor. r=till 2015-04-10 23:49:16 +09:00
Tooru Fujisawa
1fca338760 Bug 1147817 - Part 1: Add RegExpInitialize. r=till 2015-04-10 23:49:16 +09:00
Nicolas B. Pierron
f91a3bcd46 Bug 1149377 - Disable PGO on ICCallStubCompiler::guardFunApply. r=jandem 2015-04-10 16:08:21 +02:00
Nicolas B. Pierron
ea754a322d Bug 1147414 - Check of that Scalar Replacement is working as expected. r=h4writer 2015-04-10 15:41:57 +02:00
Jan de Mooij
b37b84868d Bug 1151326 - Don't inline yields in legacy generators in Baseline. r=shu 2015-04-10 11:39:00 +02:00
Jan de Mooij
d788c8f3ca Bug 1147216 part 2 - Use the right line number for strict eval. r=luke 2015-04-10 11:38:52 +02:00
Jan de Mooij
19a9268d88 Bug 1147216 part 1 - Give JSOP_LINENO a 4-byte instead of 2-byte operand. r=luke 2015-04-10 11:38:50 +02:00
Bobby Holley
e457975e9d Bug 1152784 - Be more robust about possible intermediate wrappers in IsFrameId. r=bz
Boris and I debugged this. It looks like we're somehow ending up with an
XrayWaiver on the other end of a CrossOriginXrayWrapper. The specifics of how
this happens are a bit fuzzy to me, but it's presumably happening in all the
brain transplant weirdness we do when recomputing wrappers during document.domain.

Having an XrayWaiver there isn't unsafe - the wrapper computation algorithm
will ignore the waiver if the principals don't allow the caller to waive. But
it does throw a wrench in some brittle code that only expects certain kinds
of wrappers. Let's just do what XrayTraits::getTargetObject does. I don't think
this is really unsafe at all, because the only wrapper with a security boundary
is the CCW, and we're already stripping that off unconditionally with
Wrapper::wrappedObject.
2015-04-10 00:28:05 -07:00
Ryan VanderMeulen
ea5c01418c Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-09 23:00:24 -04:00
Ryan VanderMeulen
23b2440390 Merge inbound to m-c. a=merge 2015-04-09 22:43:57 -04:00
Eric Faust
c9352a3622 Bug 1141862 - Followup: Assure GCC that superBegin cannot, in fact, be used uninitialized. (rs=jorendorff) 2015-04-09 17:43:08 -07:00
David Rajchenbach-Teller
e1ec28cb96 Bug 1142457 - Compute stopwatch durations per thread on MacOS X. r=jandem, r=areinald
--HG--
extra : rebase_source : c7abb31b57fa865e120942f731438ba9df9697fd
2015-04-03 11:19:58 +02:00
Ryan VanderMeulen
016b169721 Merge m-c to b2g-inbound. a=merge 2015-04-09 12:08:54 -04:00
Thomas Zimmermann
053dba23b3 Bug 1146355: Prepare build system to support Bluetooth APIs v1 and v2, r=shuang
This patch adds support for both Bluetooth interfaces to the build
system. The actual interface must be selected at compile time.
2015-04-09 15:57:40 +02:00
Thomas Zimmermann
5b0221d66d Bug 1146355: Move Bluetooth legacy interface into sub-directory bluetooth1/, r=joliu
--HG--
rename : dom/bluetooth/BluetoothAdapter.cpp => dom/bluetooth/bluetooth1/BluetoothAdapter.cpp
rename : dom/bluetooth/BluetoothAdapter.h => dom/bluetooth/bluetooth1/BluetoothAdapter.h
rename : dom/bluetooth/BluetoothCommon.h => dom/bluetooth/bluetooth1/BluetoothCommon.h
rename : dom/bluetooth/BluetoothDevice.cpp => dom/bluetooth/bluetooth1/BluetoothDevice.cpp
rename : dom/bluetooth/BluetoothDevice.h => dom/bluetooth/bluetooth1/BluetoothDevice.h
rename : dom/bluetooth/BluetoothHfpManagerBase.h => dom/bluetooth/bluetooth1/BluetoothHfpManagerBase.h
rename : dom/bluetooth/BluetoothHidManager.cpp => dom/bluetooth/bluetooth1/BluetoothHidManager.cpp
rename : dom/bluetooth/BluetoothHidManager.h => dom/bluetooth/bluetooth1/BluetoothHidManager.h
rename : dom/bluetooth/BluetoothInterface.cpp => dom/bluetooth/bluetooth1/BluetoothInterface.cpp
rename : dom/bluetooth/BluetoothInterface.h => dom/bluetooth/bluetooth1/BluetoothInterface.h
rename : dom/bluetooth/BluetoothInterfaceHelpers.cpp => dom/bluetooth/bluetooth1/BluetoothInterfaceHelpers.cpp
rename : dom/bluetooth/BluetoothInterfaceHelpers.h => dom/bluetooth/bluetooth1/BluetoothInterfaceHelpers.h
rename : dom/bluetooth/BluetoothManager.cpp => dom/bluetooth/bluetooth1/BluetoothManager.cpp
rename : dom/bluetooth/BluetoothManager.h => dom/bluetooth/bluetooth1/BluetoothManager.h
rename : dom/bluetooth/BluetoothProfileController.cpp => dom/bluetooth/bluetooth1/BluetoothProfileController.cpp
rename : dom/bluetooth/BluetoothProfileController.h => dom/bluetooth/bluetooth1/BluetoothProfileController.h
rename : dom/bluetooth/BluetoothProfileManagerBase.h => dom/bluetooth/bluetooth1/BluetoothProfileManagerBase.h
rename : dom/bluetooth/BluetoothPropertyContainer.cpp => dom/bluetooth/bluetooth1/BluetoothPropertyContainer.cpp
rename : dom/bluetooth/BluetoothPropertyContainer.h => dom/bluetooth/bluetooth1/BluetoothPropertyContainer.h
rename : dom/bluetooth/BluetoothReplyRunnable.cpp => dom/bluetooth/bluetooth1/BluetoothReplyRunnable.cpp
rename : dom/bluetooth/BluetoothReplyRunnable.h => dom/bluetooth/bluetooth1/BluetoothReplyRunnable.h
rename : dom/bluetooth/BluetoothRilListener.cpp => dom/bluetooth/bluetooth1/BluetoothRilListener.cpp
rename : dom/bluetooth/BluetoothRilListener.h => dom/bluetooth/bluetooth1/BluetoothRilListener.h
rename : dom/bluetooth/BluetoothService.cpp => dom/bluetooth/bluetooth1/BluetoothService.cpp
rename : dom/bluetooth/BluetoothService.h => dom/bluetooth/bluetooth1/BluetoothService.h
rename : dom/bluetooth/BluetoothSocketObserver.h => dom/bluetooth/bluetooth1/BluetoothSocketObserver.h
rename : dom/bluetooth/BluetoothUtils.cpp => dom/bluetooth/bluetooth1/BluetoothUtils.cpp
rename : dom/bluetooth/BluetoothUtils.h => dom/bluetooth/bluetooth1/BluetoothUtils.h
rename : dom/bluetooth/BluetoothUuid.cpp => dom/bluetooth/bluetooth1/BluetoothUuid.cpp
rename : dom/bluetooth/BluetoothUuid.h => dom/bluetooth/bluetooth1/BluetoothUuid.h
rename : dom/bluetooth/ObexBase.cpp => dom/bluetooth/bluetooth1/ObexBase.cpp
rename : dom/bluetooth/ObexBase.h => dom/bluetooth/bluetooth1/ObexBase.h
rename : dom/bluetooth/ipc/BluetoothChild.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothChild.cpp
rename : dom/bluetooth/ipc/BluetoothChild.h => dom/bluetooth/bluetooth1/ipc/BluetoothChild.h
rename : dom/bluetooth/ipc/BluetoothMessageUtils.h => dom/bluetooth/bluetooth1/ipc/BluetoothMessageUtils.h
rename : dom/bluetooth/ipc/BluetoothParent.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothParent.cpp
rename : dom/bluetooth/ipc/BluetoothParent.h => dom/bluetooth/bluetooth1/ipc/BluetoothParent.h
rename : dom/bluetooth/ipc/BluetoothServiceChildProcess.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothServiceChildProcess.cpp
rename : dom/bluetooth/ipc/BluetoothServiceChildProcess.h => dom/bluetooth/bluetooth1/ipc/BluetoothServiceChildProcess.h
rename : dom/bluetooth/ipc/BluetoothTypes.ipdlh => dom/bluetooth/bluetooth1/ipc/BluetoothTypes.ipdlh
rename : dom/bluetooth/ipc/PBluetooth.ipdl => dom/bluetooth/bluetooth1/ipc/PBluetooth.ipdl
rename : dom/bluetooth/ipc/PBluetoothRequest.ipdl => dom/bluetooth/bluetooth1/ipc/PBluetoothRequest.ipdl
rename : dom/bluetooth/tests/marionette/head.js => dom/bluetooth/bluetooth1/tests/marionette/head.js
rename : dom/bluetooth/tests/marionette/manifest.ini => dom/bluetooth/bluetooth1/tests/marionette/manifest.ini
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_discovery.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_discovery.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_getters.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_getters.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_pair.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_pair.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_setters.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_setters.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothManager_adapteradded.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothManager_adapteradded.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothManager_enabled.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothManager_enabled.js
2015-04-09 15:57:40 +02:00
Makoto Kato
125a6e2f73 Bug 1128365 - MOZ_TOOLS is unnecessary. r=glandium 2015-04-09 19:24:02 +09:00
Jon Coppeard
2319197592 Bug 1149526 - Check HeapPtrs have GC lifetime r=terrence 2015-04-08 10:27:51 +01:00
Brian Hackett
75078b7a98 Bug 1147608 - Fixes for unboxed object creation stub compilation on x86 and ARM, r=jandem. 2015-04-08 11:10:56 -06:00
Tom Schuster
02966b6b3c Bug 895223 - Use JSNative instead of JSGetterOp for ctypes FieldGetter/Setter. r=jorendorff 2015-04-09 19:25:29 +02:00
Jon Coppeard
0078e35637 Bug 1149526 - Rework HeapPtr lifetime checks using TLS r=terrence 2015-04-09 18:08:54 +01:00
Terrence Cole
9d590ffe5a Bug 1151155 - Loosen barrier assertion for pre-barrier verifier; r=jonco
--HG--
extra : rebase_source : d645e78de8fd05757363bd57f2290d95ee96cd79
2015-04-06 10:10:03 -07:00
Terrence Cole
84f557cd54 Bug 1151118 - Remove recently orphaned tracing paths; r=jonco
--HG--
extra : rebase_source : 05f98f2498babb6584c894fc81a9a2b3d65ca141
2015-04-02 09:52:56 -07:00
Terrence Cole
2ad4196b96 Bug 991752 - Always check has[G|S]etterObject before updating the Shape; r=jonco
--HG--
extra : rebase_source : 49494cf56c6d212976ea4eb2e1c9f704b11ecc39
2015-04-07 10:51:46 -07:00
Brian Hackett
c2134465df Bug 1151401 - Watch for non-object unboxes while optimizing object-or-null operations, r=jandem. 2015-04-09 10:51:59 -06:00
Jon Coppeard
a15a09e1a7 Backed out changeset 2652e5cbc37f for static analysis bustage (bug 1149526) on a CLOSED TREE 2015-04-08 11:23:37 +01:00
Jon Coppeard
68950fc108 Bug 1149526 - Check HeapPtrs have GC lifetime r=terrence 2015-04-08 10:27:51 +01:00
Brian Hackett
6addd62ec1 Bug 1151269 - Fix the test used by Ion ICs for whether values can definitely be written to an unboxed object, r=jandem. 2015-04-09 10:42:41 -06:00
Brian Hackett
463ef22208 Bug 1151323 - Handle loading unboxed int32 properties into floating point registers, r=jandem. 2015-04-09 10:33:38 -06:00
Brian Hackett
eae3e3f79c Bug 1148970 - Check for possibly incomplete type sets when double checking the correctness of argument type set information, r=jandem. 2015-04-09 10:29:53 -06:00
Mike Kaply
5475327904 Bug 1001158 - Handle an invalid distribution.ini gracefully, r=gijs
--HG--
extra : rebase_source : b5bc9647a5df1def549e34238881406b649ea272
extra : amend_source : beb455f572b9d27ece058af5ee9e7fbc1c9b2cb0
2015-04-08 14:18:31 -05:00
Benjamin Bouvier
2b93371895 Bug 1084319: Actually patter-match SIMD.bool (rebasing mistake); r=nbp
--HG--
extra : rebase_source : c94340db691ca8692911ce6a3b9663a776259531
extra : amend_source : bcefd108260f4ee0c56bf371ebe4fb3f39a90539
2015-04-09 16:08:07 +02:00
Benjamin Bouvier
730757f275 Bug 1146363: Inline SIMD.int32x4.bool; r=sunfish
--HG--
extra : rebase_source : dd1a610b148f362f6e35f6c3a90f68b6e4c31420
extra : amend_source : 7cf7bb3b747f86d49bcc4787d15e220e323daee7
2015-03-23 15:45:05 +01:00
Hannes Verschore
be1717c62e Bug 1138881: IonMonkey - Part 4: Fold redudant OR compare away, r=bhackett 2015-04-09 09:45:09 +02:00
Lars T Hansen
797d1f085f Bug 1142593 - factor atomics into the platform layer. r=waldo 2015-04-09 08:09:58 +02:00
Eric Faust
66f5123027 Bug 1141862 - Followup: Remove erronously landed debug spew. r=me 2015-04-08 22:40:51 -07:00
Eric Faust
2571dab641 Bug 1141862 - Part 6: Implement ES6 SuperProperty and SuperMember. (r=jorendorff) 2015-04-08 17:41:01 -07:00
Shu-yu Guo
3808d7b321 Bug 1148388 - Handle lost accesses in missing Debugger scopes for block objects. (r=jimb) 2015-04-08 20:36:20 -07:00
Shu-yu Guo
0ec63812df Bug 1151679 - Stream the property name of getprop and setprop optimization sites. (r=djvj) 2015-04-08 20:36:20 -07:00
Shu-yu Guo
54c57c920d Bug 1150654 - Add CantInlineNoSpecialization to distinguish natives for which there is no Ion specialization. (r=jandem) 2015-04-08 20:36:20 -07:00
Shu-yu Guo
2df8d68f0d Bug 1151606 - Stream atoms instead of raw pointers for native functions in tracked optimizations. (r=djvj) 2015-04-08 20:36:20 -07:00
Shu-yu Guo
d2d1d675ec Bug 1151634 - Patch a valid return address for debug mode OSR from exception handler when profiling is enabled. (r=jandem) 2015-04-08 20:36:20 -07:00
Wes Kocher
89ea761a32 Backed out changeset 876c8ee6b132 (bug 1141862) for spidermonkey bustage 2015-04-08 19:05:41 -07:00
Eric Faust
ec5b9e0b0c Bug 1141862 - Part 6: Implement ES6 SuperProperty and SuperMember. (r=jorendorff) 2015-04-08 17:41:01 -07:00
Dan Gohman
55a78d2d88 Bug 1152415 - OdinMonkey: Zero out struct padding to avoid valgrind warnings r=luke 2015-04-08 11:41:09 -07:00
Elbart
952ac7c054 Bug 1069979 - Don't throw away timezone-strings with dots in Date() r=evilpie 2015-04-08 19:37:24 +02:00
Chris Peterson
d817b9ab50 Back out changeset 253bcbb38a7c for breaking Linux PGO build (bug 1001975) 2015-04-07 20:43:43 -07:00
Jason Orendorff
c18e3c4a1d Bug 1150906 - Fix "Assertion failure: !has(SHADOWABLE)" and subsequent GC crashes introduced in rev 034027f41aaf. r=Waldo.
--HG--
extra : rebase_source : a973c68e1484d898db8c11b33b2f2e9b7765a0f2
extra : amend_source : 1122293e05fb57c2f0dfb606f06aca371e02ea8f
2015-04-07 15:44:09 -05:00
Chris Peterson
dae5c2c686 Bug 1001975 - Enable -Wuninitialized warnings as errors. r=glandium 2015-04-01 00:50:58 -07:00
Shu-yu Guo
ab9f050ef8 Bug 996982 - Fix Debugger script delazification logic to account for relazified clones. (r=bz) 2015-04-07 16:40:34 -07:00
Bobby Holley
97a7bbb935 Bug 1150771 - Let ArrayBuffer through object Xrays. r=gabor 2015-04-07 15:10:00 -07:00
Trevor Saunders
e3494d34db no bug - fix windows includes for case sensitive file systems 2015-04-07 17:15:49 -04:00
Steve Fink
3fd6c99628 Bug 963738 - Annotate XPCNativeMember, r=terrence
--HG--
extra : rebase_source : a8ad29dcb7c67efe51c8d96ffa3734e5e61efae7
2015-04-06 15:56:40 -07:00
Steve Fink
f547784a64 Bug 963738 - Assume(ptr) is not a hazard; Assume(*ptr) is, r=bhackett
--HG--
extra : rebase_source : c4e984a70ce093717810843b2243a4b0b5ab6a87
2015-03-30 14:01:58 -07:00
Steve Fink
e30ca0ae1f Bug 963738 - Handle Arrays in the analysis, r=terrence
--HG--
extra : rebase_source : 4f19a44bd85b0f59507c9e7cc1cac9fb6449722c
2014-02-03 23:12:39 -08:00
Steve Fink
293b9a28af No bug. Refactor GC type annotations, re=terrence
--HG--
extra : rebase_source : 49bb7a95f42ebbdd98bcea86087a1a0dd58a462a
2015-03-18 10:59:17 -07:00
Sean Stangl
e16f1c147d Bug 1147629 - Use getStackPointer() and helper functions. r=jandem 2015-03-24 14:44:06 -07:00
Ryan VanderMeulen
f478f66176 Backed out changeset 6bbe2e6958a9 (bug 1127801) for intermittent (?!?!) Mulet mochitest bustage.
CLOSED TREE

--HG--
extra : rebase_source : 09ea9b1c4036b609424cf1e50476fe5272a4ca9c
2015-04-07 13:47:54 -04:00
naru-san
17258381ee Bug 1127801 - Capture path to milestone.txt from the OS automatically using MozbuildObject from mozbuild.base. r=ted
CLOSED TREE
2015-04-07 12:43:40 -04:00
Ryan VanderMeulen
cc0f05835b Backed out changeset a67a0be7325e (bug 1127801) for test bustage. 2015-04-07 11:50:10 -04:00
Benjamin Bouvier
a569d7335f Bug 1151333: Reserve enough stack space for SIMD shuffles; r=sunfish
--HG--
extra : rebase_source : 8f94280756983f93b73e5372ae368eaa5d1a404e
2015-04-07 16:23:04 +02:00
Jon Coppeard
81c3544af9 Bug 1150011 - Fix GC hash table checks to work in release builds r=nbp
--HG--
extra : rebase_source : 109b8248be7833ef222927f33db40cf926839962
2015-04-07 15:58:09 +01:00
Jon Coppeard
e87481c373 Bug 1148383 - Add testcase for previously fixed object metadata issue r=terrence
--HG--
extra : rebase_source : 150a966604109a3aa0d72b48e0217d3f454b8934
2015-04-07 15:58:09 +01:00
Luke Wagner
310b4d4bc3 Bug 1148963 - OdinMonkey: add CompileOptions::lazyParsingDisabled and testing function setDiscardSource (r=bz)
--HG--
extra : rebase_source : b4118ec11c44758de6519d226bef2fc73c30190e
2015-04-07 10:01:56 -05:00
Luke Wagner
5ac5fd8bf4 Bug 1148963 - OdinMonkey: throw if link-time failure and discardSource = true (r=bbouvier)
--HG--
extra : rebase_source : 03d143d154bdab5426a51cacae8c2cef5bb6eb7c
2015-04-07 09:59:11 -05:00
naru-san
3c8a0350e0 Bug 1127801 - Capture path to milestone.txt from the OS automatically using MozbuildObject from mozbuild.base. r=ted 2015-04-06 16:54:00 -04:00
Steve Singer
4b127f2ab9 Bug 1151382 - Fix Alignment mismatch for none jit. r=luke
--HG--
extra : rebase_source : 98941b1dfe531083866a853fcdcc39679f2bc87e
2015-04-05 20:45:00 +02:00
Nick Fitzgerald
30234ac43b Bug 1149495 - SavedFrame objects should handle all uint32 values. r=shu
--HG--
extra : rebase_source : 3a6982dab6b8c61b590fe3aac61f216c7c4a615c
2015-04-04 14:55:00 +02:00
Brian Hackett
75083816b5 Bug 1148921 - Check correctness of hash table modifications later on during minor GCs, r=jonco. 2015-04-07 06:04:15 -06:00
Brian Hackett
662dbd9619 Bug 1148916 - Remove MaybeSingletonObject NewObjectKind, r=terrence. 2015-04-07 05:50:00 -06:00
Brian Hackett
6e34197b33 Bug 1148661 - Optimize accesses to unboxed expandos in Ion, r=jandem. 2015-04-07 05:42:44 -06:00
Tooru Fujisawa
2a806181e0 Bug 1077318 - Part 2: Fix the order of include in AsmJSModule.cpp. r=evilpie 2015-04-07 18:58:17 +09:00
Tooru Fujisawa
2fc6c1cdaa Bug 1151182 - Fix type for JSOP_THROWMSG documentation comment. r=efaust 2015-04-07 18:19:28 +09:00
Tooru Fujisawa
6553c15294 Bug 1151149 - Throw if either the target or handler is a revoked proxy in Proxy constructor. r=efaust 2015-04-07 18:19:26 +09:00
Lars T Hansen
ca3a6856ea Bug 1077318 - call out to C++ for ARMv6 sub-word atomics. r=luke 2015-04-07 11:10:18 +02:00
Lars T Hansen
21b726fb3f Bug 1147916 - add more assembler cases. r=sunfish 2015-04-07 10:47:10 +02:00
Shu-yu Guo
6dd8ccbaae Bug 1150714 - Mark and sweep JitcodeGlobalMap IC entries. (r=djvj) 2015-04-06 18:38:31 -07:00
Shu-yu Guo
fb729d0b86 Bug 1150714 - Fix streaming tracked optimizations for functions that don't have a displayAtom. (r=djvj) 2015-04-06 18:38:31 -07:00
Bill McCloskey
80aa38fc3e Bug 1151583 - Don't set JS shell exit code for random exceptions (r=sfink) 2015-04-06 18:24:52 -07:00
Brian Hackett
3be6729422 Bug 1148922 - Handle insertion of new initial shapes via the metadata callback, r=luke. 2015-04-06 12:54:53 -06:00
Terrence Cole
8aa98da9f8 Bug 1150639 - Use a stricter off-thread check in triggerZoneGC; r=bhackett
--HG--
extra : rebase_source : 0809eefef240aa0cb998819afcaaf91c505479a1
2015-04-02 11:48:56 -07:00
Johannes Schulte
f1ccc30338 Bug 1094491 - Add assertion in UpdateExistingGetPropCallStubs that should hold now. r=efaust 2014-12-01 18:50:26 +01:00
Johannes Schulte
c0c7a40ac3 Bug 1094491 - Generate baseline getGName ICs for accessor properties before calling the getter. r=efaust 2014-12-01 18:50:23 +01:00
Johannes Schulte
c89a2938f8 Bug 1094491 - Generate baseline getElem ICs for accessor properties before calling the getter. r=efaust 2014-12-01 18:50:20 +01:00
Johannes Schulte
ecbc9344fe Bug 1094491 - Generate baseline getProp ICs for accessor properties before calling the getter. r=efaust 2014-12-01 18:50:17 +01:00
Phil Ringnalda
d0326dab77 Merge f-t to m-c, a=merge 2015-04-04 10:53:59 -07:00
Tooru Fujisawa
3ddb3cd146 Bug 1149015 - Part 4: Remove some use of expression closure from jstests js1_8_5/reflect-parse/. r=luke 2015-04-04 15:05:35 +09:00
Ryan VanderMeulen
37f3daf0c7 Merge m-c to fx-team. a=merge
CLOSED TREE
2015-04-03 10:52:46 -04:00
David Rajchenbach-Teller
848a50c93a Bug 1149897 - PerformanceStatsService data is not monotonic. r=jandem 2015-04-02 17:15:23 +02:00
Wes Kocher
52d9150eba Backed out changeset 39d74e5c3df5 (bug 1149897) for frequent bc3 timeout errors
--HG--
extra : source : dfee21ce5b78159f60d25f0ef8ff62edc62e17cc
2015-04-02 16:12:06 -07:00
Jeff Walden
f06b4feed4 Bug 1149797 - Update browser jstests to treat ecma_6/extensions tests as 1.8, so that let is interpreted as a statement and not as an expression. r=bustage in a CLOSED TREE 2015-04-02 15:46:33 -04:00
Jeff Walden
86ea252d57 Bug 1149797 - Use the loop's *static* block object when freshening a loop's block object, then copy in values from the old cloned block. Using the old cloned block directly isn't valid when the cloned block might be extended with additional variables created by eval or added by nested function statements. r=shu
--HG--
extra : rebase_source : 8cad681ae5ae01ee5f5688ae156bf9e15b6084da
2015-04-01 16:39:33 -04:00
David Rajchenbach-Teller
83cb3e4d12 Bug 1149897 - PerformanceStatsService data is not monotonic;r=jandem
--HG--
extra : rebase_source : 2baca0276dfab35686e7d07d24189b363f0a23ff
2015-04-02 17:15:23 +02:00
Boris Zbarsky
36a2aaf1fb Bug 1149811. When XDR-decoding a non-lazy function that can be lazified, we need to set up a backpointer from its LazyScript to its JSScript. r=luke 2015-04-01 12:05:28 -04:00
Jason Orendorff
1f2361b6ec Bug 1149563 - Change bogus ctypes code that modifies a frozen object. r=efaust.
--HG--
extra : rebase_source : 1b6a8a551e232bed990196c26a9afcc4dfadf3f5
2015-03-28 11:28:06 -05:00
Jeff Walden
1e1e5cca6f Bug 1150779 - Split the rest of destructuring.js into several smaller destructuring tests. r=efaust
--HG--
rename : js/src/tests/js1_8_5/reflect-parse/destructuring.js => js/src/tests/js1_8_5/reflect-parse/destructuring-array-holes-reflect-as-null.js
rename : js/src/tests/js1_8_5/reflect-parse/destructuring.js => js/src/tests/js1_8_5/reflect-parse/destructuring-assignment.js
rename : js/src/tests/js1_8_5/reflect-parse/destructuring.js => js/src/tests/js1_8_5/reflect-parse/destructuring-function-parameters.js
rename : js/src/tests/js1_8_5/reflect-parse/destructuring.js => js/src/tests/js1_8_5/reflect-parse/destructuring-variable-declarations.js
2015-04-02 22:55:40 -04:00
Jeff Walden
76ef0860b1 Bug 1150779 - Split for-loop tests out of js1_8_5/reflect-parse/destructuring.js. r=efaust
--HG--
rename : js/src/tests/js1_8_5/reflect-parse/destructuring.js => js/src/tests/js1_8_5/reflect-parse/for-loop-destructuring.js
2015-04-02 22:55:22 -04:00
Jason Orendorff
34a69040c9 Bug 1148652, part 3 - Mark arguments.length as overridden when it is redefined via the C API. r=efaust.
--HG--
extra : rebase_source : 197f66702b4104417db3b74008b5c2928ad8d335
2015-03-23 14:32:33 -05:00
Jason Orendorff
494f931803 Bug 1148652, part 2 - Use mostly-compliant code for defining TypedArray elements, already used from StandardDefineProperty, in NativeDefineProperty as well. r=efaust.
--HG--
extra : rebase_source : b68ed36ea5a657477ca062d549e230931f4bf5d3
2015-03-23 14:32:31 -05:00
Jason Orendorff
e70320abea Bug 1148652, part 1 - Move array-specific special cases to the top of NativeDefineProperty; update ArraySetLength to be able to cope with incomplete attrs. r=efaust.
--HG--
extra : rebase_source : 4c4a58cb7c0819d6af2799e8847cde981f3528b8
2015-03-23 14:32:30 -05:00
Jason Orendorff
43939414b8 Bug 1148568 - In JSON.parse with a reviver callback, ignore failure when defining properties. r=Waldo.
Switch to StandardDefineProperty while we're at it. I don't think the "CreateDataProperty" operation given in the spec is quite worth making into a function on its own, since the standard almost exclusively uses it in cases where it "can't fail", and (a) that is unpossible for us; (b) this is not one of those cases anyway.

--HG--
extra : rebase_source : f224305107a7881b6dfd312419808e0211d2f6f3
2015-03-23 14:32:30 -05:00
Jason Orendorff
24fcf2a236 Bug 1147660, part 5 - Split the part of NativeDefineProperty that updates the object into a separate function again. r=efaust.
--HG--
extra : rebase_source : 38f9f48c7781328c5116d5e1a37ab39d68aecf89
2015-03-23 14:32:29 -05:00
Jason Orendorff
fb07f68159 Bug 1147660, part 4 - Change NativeDefineProperty to use a PropertyDescriptor internally instead of a bunch of variables. This is a little ugly at first but it'll get better. r=efaust.
--HG--
extra : rebase_source : 00a350d6337bfd0d296ff34efa9bd5c89cb0b892
2015-03-23 14:32:29 -05:00
Jason Orendorff
60213879bd Bug 1147660, part 3 - Rearrange NativeDefineProperty so that special cases are all dispensed with, and ES6 checks done, by the time we start thinking about how to update the object. r=efaust.
--HG--
extra : rebase_source : 89858f3cedbf4ca89bc3ed5ace302a4c4904c409
2015-03-23 14:32:29 -05:00
Jason Orendorff
733f6abe90 Bug 1147660, part 2 - Merge DefinePropertyOrElement into NativeDefineProperty, making one long function we can refactor. r=efaust.
--HG--
extra : rebase_source : b4055a5b18b8c7f742273fd2d457c7f9ec46e70b
2015-03-23 14:32:28 -05:00
Jason Orendorff
a7363d34e4 Bug 1147660, part 1 - Refactor NativeDefineProperty to put DefinePropertyOrElement's only call site right at the end. No change in behavior. r=efaust.
--HG--
extra : rebase_source : 6c946bdb3b5f2d3fa243bfcd4dedbbbbe57773fb
2015-03-23 14:32:28 -05:00
Jason Orendorff
3599763a2f Bug 1142828 - Refactor to avoid having [[Set]]-specific weird cases in the [[DefineOwnProperty]] code. r=Waldo.
NativeSetExistingDataProperty is only moved in this changeset; its body is not modified.

--HG--
extra : rebase_source : b018086d39e9ebd9ebb7f70000f296cd9a452b82
2015-03-23 14:32:28 -05:00
Jason Orendorff
4ed9fdd437 Bug 1138499, part 3 - Flip JS_CHECK_ACCESSOR_FLAGS from a blacklist to a whitelist. r=Waldo.
--HG--
extra : rebase_source : 757d46a33a5febdc758dc5ce6b3d621c254fe096
extra : source : c7388a9c393519117d55d2cc5326ae8c54ccae47
2015-03-23 16:44:10 -05:00
Jason Orendorff
6543d49db0 Bug 1138499, part 2 - Strengthen assertComplete() to require that both [[Get]] and [[Set]] be present on accessor properties. r=Waldo.
--HG--
extra : rebase_source : 171aabdb0c4291d35e70fc0d6bf404a17a7bdb9b
extra : source : 9b51b38317d6a85390d73074fd6344e576d2605d
2015-03-23 14:32:27 -05:00
Jason Orendorff
f47d46755a Bug 1138499, part 1 - Assert some basic rules on property descriptors on entry to DefineProperty and exit from GetOwnPropertyDescriptor. r=Waldo.
--HG--
extra : rebase_source : 2486209de3b4971eb694393c748dc387c5f0093c
extra : source : ad243a3cd06f235a806329bde39c146ee9eeea88
2015-03-23 14:32:27 -05:00
Jason Orendorff
23235d7e71 Bug 1138499, part 0 - Fix code spuriously using JSPROP_READONLY when defining an accessor property. r=Waldo.
--HG--
extra : rebase_source : d6f9c0e4b63086d04d4123b6b7d66bb7c513b418
extra : source : fafda276abd9ec6a5f9f74461e3b1b36a0fae335
2015-03-23 16:36:43 -05:00
Terrence Cole
5f13b1d59e Bug 1149352 - Part 8: Move Object marking to TraceEdge; r=jonco 2015-03-30 16:08:06 -07:00
Terrence Cole
4ab2487d87 Bug 1149352 - Part 7: Move String marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
a660e808f9 Bug 1149352 - Part 6: Move JitCode marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
e297891e8a Bug 1149352 - Part 5: Move ObjectGroup marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
00b2d8be60 Bug 1149352 - Part 4: Move Symbol marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
ae4f928a1c Bug 1149352 - Part 3: Move Script marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
cffaa3aa18 Bug 1149352 - Part 2: Move Shape marking to TraceEdge; r=jonco 2015-03-30 15:14:23 -07:00
Terrence Cole
b68660031c Bug 1149352 - Part 1: Move BaseShape marking to TraceEdge; r=jonco 2015-03-27 16:22:55 -07:00
Terrence Cole
4d97c7441f Bug 1149352 - Part 0: Only mark live entries when marking a range; r=meow 2015-04-01 14:50:43 -07:00
Terrence Cole
99a4fd3d60 Bug 1149352 - Templatize IsMarked and IsAboutToBeFinalized; r=jonco 2015-03-27 16:22:52 -07:00
Shu-yu Guo
cff53ed7c9 Bug 1149510 - Don't try to read the result object when doing in-place debug mode bailout in a for-of loop. (r=jandem) 2015-04-03 14:18:05 -07:00
Steve Fink
30aa298a29 Bug 1149739 followup - typo with double open parens. r=woof!
DONTBUILD since NPOTDB. (--enable-more-deterministic only)
2015-04-03 12:50:55 -07:00
Tom Schuster
059aa4b924 Bug 1125302 - Remove NativeLookupProperty. r=luke 2015-04-03 21:23:22 +02:00
Luke Wagner
eeb4b48b4d Bug 1150858 - Unwrap the correct object in ArrayBuffer.transfer (r=sfink)
--HG--
extra : rebase_source : 29cd797c9194ff80bf2686f64c9a63230f07c63a
2015-04-03 08:33:19 -05:00
Heiher
b1799beeb6 Bug 1150384 - IonMonkey: MIPS: Fix build failure caused by Bug 1143011. r=rankov
--HG--
extra : rebase_source : 4a0804688f32a9eb9544ad3e7cb247521c9fa00d
2015-04-02 01:00:00 -04:00
Heiher
79251d122d Bug 1150380 - IonMonkey: MIPS: Fix JitRuntime::generateProfilerExitFrameTailStub. r=rankov
--HG--
extra : rebase_source : 013463497d81a6bd81bad9b12b2db301f0b611b7
2015-04-02 00:46:00 -04:00
Tom Schuster
613dace39e Bug 1125567 - Remove FindClassPrototype/FindClassObject. r=jorendorff 2015-04-03 17:01:14 +02:00
Eric Faust
02e7de443a Bug 1141862 - Part 5: Change JSOP_SETCALL to JSOP_THROWMSG, anticipating future use. (r=jorendorff) 2015-04-02 19:20:17 -07:00
Eric Faust
c091ff7694 Bug 1141862 - Part 4: Make everything defined with MethodDefinition syntax use the Method FunctionSyntaxKind while parsing. (r=jorendorff) 2015-04-02 19:20:17 -07:00
Eric Faust
989c2f8d06 Bug 1141862 - Part 3: Remove unused argument from BytecodeEmitter::emitPropLHS. (r=jorendorff) 2015-04-02 19:20:17 -07:00
Eric Faust
4c1cca3884 Bug 1141862 - Part 2: Allow Lazy script to pass the Method FunctionSyntaxKind during delazification. (r=jorendorff) 2015-04-02 19:20:02 -07:00
Eric Faust
c4fad16ffd Bug 1141862 - Part 1: Free up bits in JSFunction for isMethod() and, later, isClassConstructor(). (r=jandem) 2015-04-02 19:18:20 -07:00
Shu-yu Guo
80f8445c7c Bug 1134198 - Call Debugger::onPop at the point that caused the frame to pop before any unwinding in the JIT. (r=jandem) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
e2f60d26f0 Bug 1134198 - Call Debugger::onPop at the point that caused the frame to pop before any unwinding in the interpreter. (r=jimb) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
8df0bb6f31 Bug 1134198 - Update tests to reflect new specced behavior on Debugger.Frame.onPop. (r=tromey) 2015-04-02 17:28:02 -07:00
Shu-yu Guo
f5a001d248 Bug 1134198 - Update docs for new Debugger.Frame.onPop spec. (r=tromey) 2015-04-02 17:28:02 -07:00