Commit Graph

48806 Commits

Author SHA1 Message Date
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