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

49124 Коммитов

Автор SHA1 Сообщение Дата
ziyunfei df121464f3 Bug 1102219 - Part 1: Add `String.prototype.includes`; keep `String.prototype.contains` around as an alias with a (non-release builds only) warning. r=till 2015-04-30 00:32:01 +09:00
Tooru Fujisawa 178a2e3c00 Bug 1102219 - Part 0: Combine WARNED_* slots in GlobalObject and turn it into a bitset. r=till 2015-04-30 00:32:00 +09:00
Benjamin Bouvier 08f7e038cb Bug 1157624: A few AsmJSValidate cleanups; r=luke
--HG--
extra : rebase_source : 609745897948dff869d910b67a29840c8e09c033
2015-04-27 17:16:01 +02:00
Tom Schuster c6207d1a51 Bug 1159347 - Make BaseProxyHandler::getPropertyDescriptor not-pure virtual. r=efaust 2015-04-29 10:47:48 +02:00
Brian Hackett 1db59c7ba1 Bug 1158569 - Don't trigger sweeping of dead type information when scanning unboxed objects in minor GCs, r=terrence. 2015-04-28 11:09:16 -07:00
Brian Hackett ee02850388 Bug 1155292 - Add a check for properties found on non-native prototypes during Ion caching, r=jandem. 2015-04-28 11:05:28 -07:00
Terrence Cole bec02ac087 Bug 1158809 - Only use a single output from getTracingEdgeName; r=jonco
--HG--
extra : rebase_source : d8f3ee8ab0e0fbc61e30eb2a444dba571eb5498e
2015-04-28 10:28:56 -07:00
Ryan VanderMeulen 5cc9c16c38 Backed out changeset 9e3d626c89d8 (bug 1155292) for SM(cgc) failures in the newly-added test.
--HG--
extra : rebase_source : e3d033d921ac5d7a3b61cf91ab456fd88316f534
2015-04-28 13:30:58 -04:00
Steve Fink 81dfe6fc6e Bug 1149476 - Extend autospider.sh timeout and emit a log message, r=jonco
--HG--
extra : rebase_source : d34790d258f3c38c9c8d5591942823d4c16c5108
2015-04-28 10:28:36 -07:00
Boris Zbarsky 864f723c0c Bug 1155946 part 2. Add mayResolve methods to DOM classes with resolve hooks. r=peterv 2015-04-28 12:25:55 -04:00
Terrence Cole 102fa57f25 Bug 1158313 - Move Symbol marking out-of-line; r=jonco
--HG--
extra : rebase_source : b5cd1a6e21e891ec8f5115447331ace02b44331d
2015-04-24 14:52:55 -07:00
Terrence Cole 0659acef20 Bug 1156888 - Do not go out-of-line to eagerly scan LazyScript instances; r=sfink
--HG--
extra : rebase_source : 69d1e41c68b50ab1b08325d7571f7f317346ecfd
2015-04-21 09:26:37 -07:00
Terrence Cole 4c612396a4 Bug 1156552 - Move BaseShape marking out-of-line; r=sfink
--HG--
extra : rebase_source : af7788e517ea5a8e055a574fb653c9d8c1adca2e
2015-04-20 15:32:03 -07:00
Brian Hackett baf6742f88 Bug 1155292 - Add a check for properties found on non-native prototypes during Ion caching, r=jandem. 2015-04-28 08:15:20 -07:00
Brian Hackett c0862016bb Bug 1155807 - Watch for converted native groups with unknown properties, r=jandem. 2015-04-28 08:12:54 -07:00
Jordan Santell 97465e0350 Bug 1136945 - Add to Debugger.Memory docs possible outcomes of the nonincrementalReason in the onGarbageCollection event. r=fitzgen 2015-04-28 10:34:23 -07:00
Nick Fitzgerald 145cf72ef8 Bug 1065657 - Allow multiple Debuggers to track allocations at the same time. r=shu 2015-04-22 09:49:07 -07:00
Ryan VanderMeulen 0d8e50dd6c Bug 1159096 - Skip recursion.js on Android debug.
--HG--
extra : rebase_source : 662b60ed41ec083194071d5f8f1d093b8abce13a
2015-04-28 09:40:09 -04:00
Paul Duguet b7f487b922 Bug 1099149 - Part 2: Add a more specific error message when 'js::ToSimdConstant' argument is of wrong type. r=bbouvier
--HG--
extra : rebase_source : b7831885ec947db798e028a33a63fe9e45da8490
2014-11-22 09:07:00 +01:00
Tooru Fujisawa f1f24daae2 Bug 1151931 - Part 2: Warn about unreachable code after return statement. r=Waldo
--HG--
rename : js/src/jit-test/tests/basic/semicolon-less-return.js => js/src/jit-test/tests/basic/statement-after-return.js
2015-04-28 21:09:32 +09:00
Tooru Fujisawa 2a420c0b92 Bug 1151931 - Part 1: Avoid warning about unreachable code after return statement in some asm.js tests. r=Waldo 2015-04-28 21:06:19 +09:00
Shu-yu Guo 5e37047fdc Bug 1157963 - Don't delazify functions about to be finalized. (r=jimb) 2015-04-28 01:44:22 -07:00
Shu-yu Guo c61fadcb41 Bug 1157963 - Fix LazyScript::hasUncompiledEnclosingScript. (r=jimb) 2015-04-28 01:44:22 -07:00
Shu-yu Guo 305cf394a2 Bug 1158407 - Stop using this one weird allocation fallback for MCreateThisWithTemplate. (r=terrence) 2015-04-28 01:44:22 -07:00
Shu-yu Guo f67e3b7686 Bug 1155474 - Consider the input to MThrowUninitializedLexical implicitly used. (r=Waldo) 2015-04-28 01:44:22 -07:00
Shu-yu Guo 9aef1e19a2 Bug 1156190 - Do not emit DEBUGLEAVESCOPE if we're also going to emit POPBLOCKSCOPE. (r=jimb) 2015-04-28 01:44:22 -07:00
Shu-yu Guo 95ec4ecbe5 Bug 1148917 - Add a new option to FrameIter that allows stopping at debugger eval frames. (r=jimb) 2015-04-28 01:44:22 -07:00
Geoff Lankow 9b06d1932b Bug 1138336 - Adapt nsIScriptError so it can display log messages with filename and line number; r=jst,neil,past 2015-04-28 18:39:47 +12:00
David Major ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Steve Fink e2408124bd Bug 1149476 - Lengthen timeout because we are hitting it with SM(cgc), r=me (also jonco for a more complex version)
The previous attempt seemed to cause problems with preventing the test script from exiting, which I was defending against by closing all file descriptors (even though I wasn't sure if it was necessary.) Sadly, I have no way to report the failure, but for now just lengthening the timeout seems like the simplest to make the intermittents go away.
2015-04-27 13:19:17 -07:00
Ryan VanderMeulen 105fa88eae Merge m-c to inbound. a=merge 2015-04-27 15:20:16 -04:00
Ryan VanderMeulen ae67d6b344 Backed out 2 changesets (bug 1099149, bug 1154356) for suspicion that one of them is causing frequent Android debug recursion.js failures. a=me
Backed out changeset ecc645744a11 (bug 1154356)
Backed out changeset 1d7c532f2a62 (bug 1099149)
2015-04-27 15:14:19 -04:00
Nikhil Marathe 828e83e703 Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley
--HG--
extra : rebase_source : 001f43d9e08768111f8ece44f79ae3ab689e2fb6
extra : amend_source : 8b89c86ded224c90aa428cdfb24d25959c87b32b
2015-04-27 12:00:41 -07:00
L. David Baron ca5ebe4305 Bug 1157648 - Make nsScriptError::ToString use only the first 512 characters of mSourceName and mSourceLine. r=bholley
This means that when mSourceName and mSourceLine are large, ToString is
not excessively expensive.

This is particularly important for CSS errors, where we don't make an
attempt to truncate these prior to constructing the script error, but we
do ensure that when we report multiple errors on the same line (which is
common for minified CSS), we share from the same string buffer and avoid
copying.

--HG--
extra : transplant_source : %1D%A7%13%DBWzPC%9A%3DzHb%11BW%0CBya
2015-04-27 11:35:10 -07:00
Ryan VanderMeulen cb4391caa6 Backed out changeset c839f283bf28 (bug 1058695) for bustage.
CLOSED TREE
2015-04-27 14:04:24 -04:00
Nick Fitzgerald fe7b1a60be Bug 1134865 - Part 3: Add JS::ubi::Node::jsObjectConstructorName; r=djvj 2015-04-27 10:57:06 -07:00
Nick Fitzgerald 655829ca7c Bug 1134865 - Part 2: Add constructor name to the allocations log; r=djvj 2015-04-27 10:57:06 -07:00
Nick Fitzgerald 669fee1c38 Bug 1134865 - Part 1: Add JSObject::constructorDisplayAtom; r=djvj 2015-04-27 10:57:06 -07:00
Nikhil Marathe 6e7fc932d3 Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley
--HG--
extra : rebase_source : 3b3909b843efa2150edfcd79a6399535a12bd5aa
2015-04-22 16:34:21 -07:00
Boris Zbarsky 34d521e285 Bug 1155984. Improve the performance of the "self" getter in both window and workers. r=peterv,jorendorff 2015-04-27 13:38:12 -04:00
Terrence Cole c82004a974 Bug 1156533 - Simplify how we trace Shapes for marking; r=sfink 2015-04-16 13:45:24 -07:00
Terrence Cole 4d7173dae1 Bug 1157829 - The markAndScan functions are now just an additional assertion; r=sfink
--HG--
extra : rebase_source : 2bc89fbf86a4d5a5ec5bcd79e3789a4bb3260008
2015-04-23 11:05:46 -07:00
Terrence Cole b2be97e336 Bug 1157828 - Move ShouldMarkCrossCompartment adjacent to other marking invariant logic; r=jonco
--HG--
extra : rebase_source : 6e9b00f51e840ba3f5f7f71e1dfe514459c902d4
2015-04-23 11:02:02 -07:00
Paul Duguet f84433c770 Bug 1099149 - Part 2: Add a more specific error message when 'js::ToSimdConstant' argument is of wrong type. r=bbouvier 2014-11-22 09:07:00 +01:00
Ginn Chen 8232df4203 Bug 1153707 jsval is wrongly passed to XPT Javascript method on ppc/32 and SPARC/32 r=bobbyholley 2015-04-27 13:47:17 +08:00
Kyle Machulis 6953137bf2 Bug 865222 - Add MOZ_GUARD_OBJECT_NOTIFIER_PARAM to JSAutoCompartment and JSAutoNullableCompartment; r=efaust 2015-04-26 08:49:03 -07:00
Tooru Fujisawa cfdb25049d Bug 320500 - Add \u{xxxxxx} string literals. r=Waldo 2015-04-25 15:19:27 +09:00
Brian Hackett 12ce37a8a6 Bug 1155033 - Handle cyclic or deep ObjectGroup tracing chains during cycle collection, r=terrence. 2015-04-24 18:22:15 -06:00
Tom Schuster 5f7d508c7c Bug 1154296 - Small GetOwnPropertyDescriptor cleanup. r=jorendorff 2015-04-24 22:06:16 +02:00
Terrence Cole 0a5868faff Bug 1081260 - Update the malloc counters if we successfully recover from OOM; r=jonco
--HG--
extra : rebase_source : 1f40c773d00726804392de33969415ad95cd642f
2015-04-24 10:58:22 -07:00
Terrence Cole 349f1f0374 Bug 1157577 - Fix an assertion failure caused by inconsistent initialization order; r=bhackett
--HG--
extra : rebase_source : cf4a8ad7142389cae5f7af4f28aa1b06fa20c386
2015-04-24 10:58:20 -07:00
Terrence Cole 094997013b Bug 1155838 - Fix a build warning on windows; r=till
--HG--
extra : rebase_source : ddb1a54e08972dd6508da78f2747bcc60e188510
2015-04-17 12:41:31 -07:00
Terrence Cole 0742c6c8db Bug 1156045 - Only print jstests assertion output on failure; r=sfink
--HG--
extra : rebase_source : 63b264648800b545710ba1e9369d6e2b40bac219
2015-04-23 13:51:37 -07:00
Ryan VanderMeulen 2b29f968f7 Backed out changeset 7df5233bc6ae (bug 1149476) for SM(e) permafail.
CLOSED TREE
2015-04-24 13:41:44 -04:00
Terrence Cole 412f67a0f1 Bug 1157533 - Share Value and jsid typed dispatch code; r=jonco
--HG--
extra : rebase_source : d6289bce244270d0f321f8b3ab5ed0a99eee3883
2015-04-23 10:42:31 -07:00
Steve Fink ba98fd5eb6 Bug 1149476 - Extend autospider.sh timeout and emit a log message, r=jonco
--HG--
extra : rebase_source : 070206c241a7b06bea129f39dbdd89217f80ca7d
2015-04-24 08:46:28 -07:00
Nicolas B. Pierron 8e1c6d1cd8 Bug 1149119 - Do not inline bound functions with non-atomized arguments. r=jandem 2015-04-24 16:26:08 +02:00
Nicolas B. Pierron b59086de59 Bug 1149119 - Use Atoms in the template object hold by Baseline. r=jandem 2015-04-24 16:26:07 +02:00
Brian Hackett 10ec140c19 Bug 1157809 - Optimizing scanning of unboxed plain objects and typed objects during nursery collections, r=terrence. 2015-04-24 05:50:03 -06:00
Benjamin Bouvier a539f0e8c6 Bug 1157761: Fix a copy-pasto in vm/TypeInference.cpp; r=bhackett
--HG--
extra : rebase_source : 5cc6c1ea178e08e865d7f2286e446969ae0fe286
extra : amend_source : ccf0ae33676438e278048a16477a26434d52a248
2015-04-23 17:58:29 +02:00
Makoto Kato 375749b0b9 Bug 866301 - Part 3. Use system ICU for gonk-JB or later. r=glandium 2015-04-24 11:22:14 +09:00
Jim Blandy c454df3a32 Bug 1063257: Implement JS::ubi::Node::size for JSString. r=sfink
--HG--
extra : rebase_source : 64d8d124637ffab49089fa4151285b523e0c6f9e
2015-03-22 23:06:51 -07:00
Jim Blandy 8874117d2c Bug 1155438: Don't permit inconsistent values of MOZ_MEMORY between js/src and the top level. r=glandium
--HG--
extra : rebase_source : 261119bffe19b25d707aa5fe48ec8c0702cf8b2a
2015-04-22 09:14:18 -07:00
Shu-yu Guo c02a86e899 Bug 1157415 - Tweak XPConnect stack size for 32bit Windows. (r=bholley) 2015-04-23 14:57:44 -07:00
Terrence Cole f9fe5913d8 Bug 1156390 - Do CheckMarkedThing on internal edges as well as roots; r=sfink 2015-04-20 10:42:35 -07:00
Kartikaya Gupta cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Nikhil Marathe d1232d5041 Backed out changeset cb59db723d15 (Bug 1058695) for bustage on CLOSED TREE
--HG--
extra : amend_source : 273b62b6c171f65718e8c59e833ba30f6ea96a05
2015-04-23 09:46:52 -07:00
Nikhil Marathe 8bec017e97 Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley 2015-04-22 16:34:21 -07:00
Nikhil Marathe 75b0dfb4c7 Backed out changeset 527cd70f241f (Bug 1058695) for bustage 2015-04-23 09:07:16 -07:00
Nikhil Marathe e653803d27 Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley
--HG--
extra : transplant_source : %86%8A%E1%E1%98c%E9w%81%3DS%84%B1%3A%02bU%8D%7B%C7
2015-04-22 16:34:21 -07:00
Benjamin Bouvier 2e39b0d801 Bug 1142668: Fix int32x4 to float32x4 conversion in asm.js; r=luke
--HG--
extra : rebase_source : c4f8c4fa44a7c6a90ffcd8aa20caeec10d0e8b9f
2015-04-07 19:41:30 +02:00
Benjamin Bouvier d79e90a163 Bug 1142668: Fix int32x4 to float32x4 conversions in the JIT; r=sunfish
--HG--
extra : rebase_source : 977a3f5335d0044e9fb15b04a16baa58a0f1855a
2015-04-23 12:12:41 +02:00
Benjamin Bouvier cf5dbb17d5 Bug 1135040: Optimize SIMD shifts in Ion; r=nbp
--HG--
extra : rebase_source : 56389e874e82412372fe5ac0d94ece7d9de776db
2015-04-07 20:01:24 +02:00
Benjamin Bouvier f483411357 Bug 1112627: Remove redundant inline specifier in SIMD operators impl; r=Waldo
--HG--
extra : rebase_source : f0223f8b346e6698f3970a0c7f84c037cd3455bc
2015-02-17 12:01:30 +01:00
Benjamin Bouvier 0c84901c44 Bug 1112627: Throw on lossy SIMD conversions; r=Waldo
--HG--
extra : rebase_source : e4e44b77f056d72c3d46723d02c92afb3669c97d
2015-04-21 15:27:27 +02:00
Benjamin Bouvier 8d6bd07f3f Bug 1112627: Implement shift count saturation; r=Waldo
--HG--
extra : rebase_source : c4c19f9f65f8fc88f45336e2e6f0ece708ae843f
2015-04-07 19:47:40 +02:00
Tooru Fujisawa 99fb0c1bf1 Bug 1153656 - Test class only if available in semicolon-less-return.js. r=efaust 2015-04-23 23:14:03 +09:00
Jan de Mooij 103a223716 Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett 2015-04-23 15:51:28 +02:00
Brian Hackett cff840c701 Bug 1149498 - Watch for preliminary object groups in more places, r=jandem. 2015-04-23 07:42:55 -06:00
Benjamin Bouvier b3cbd604e8 Bug 1157628: Reformat spidermonkey source directory, again; r=jandem
--HG--
extra : rebase_source : 6a1a1671f5ccb323d475b8711e5a8977146e98c6
2015-04-23 12:22:36 +02:00
Jon Coppeard 0d4eefdb24 Bug 1156295 - Refactor GC rooting in StructType::DefineInternal() r=terrence 2015-04-23 11:17:15 +01:00
Carsten "Tomcat" Book d7660b2db1 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2015-04-23 08:41:04 +02:00
Carsten "Tomcat" Book bab9dbe9c4 Backed out 19 changesets (bug 1149397, bug 1065657, bug 1024774) for fixing Linux PGO xpcshell bustage on a CLOSED TREE
Backed out changeset 53058615e7a3 (bug 1024774)
Backed out changeset 68fe0894bb09 (bug 1065657)
Backed out changeset 1b9620d674df (bug 1024774)
Backed out changeset a31c514b59da (bug 1024774)
Backed out changeset 0fcf8757f6c2 (bug 1024774)
Backed out changeset 9a3c71b925d4 (bug 1024774)
Backed out changeset 783acc92af04 (bug 1024774)
Backed out changeset ad71c9a3446b (bug 1024774)
Backed out changeset 4f37e72e70f6 (bug 1024774)
Backed out changeset ec869578cc0a (bug 1024774)
Backed out changeset 3c1d306c8a3d (bug 1024774)
Backed out changeset b3a90f30892d (bug 1024774)
Backed out changeset cf7bbb3774c0 (bug 1024774)
Backed out changeset 2522eb4d3cf2 (bug 1024774)
Backed out changeset 89a502d88f9c (bug 1024774)
Backed out changeset 61046ad3161f (bug 1024774)
Backed out changeset 36706aaa2f06 (bug 1024774)
Backed out changeset ba8e68e05149 (bug 1149397)
Backed out changeset 532169437c2f (bug 1065657)

--HG--
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.cc => toolkit/components/protobuf/google/protobuf/extension_set.cc
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.h => toolkit/components/protobuf/google/protobuf/extension_set.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/atomicops_internals_pnacl.h => toolkit/components/protobuf/google/protobuf/generated_message_util.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stringprintf.h => toolkit/components/protobuf/google/protobuf/generated_message_util.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.cc => toolkit/components/protobuf/google/protobuf/io/coded_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.h => toolkit/components/protobuf/google/protobuf/io/coded_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream_inl.h => toolkit/components/protobuf/google/protobuf/io/coded_stream_inl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/package_info.h => toolkit/components/protobuf/google/protobuf/io/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/service.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.cc => toolkit/components/protobuf/google/protobuf/message_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.h => toolkit/components/protobuf/google/protobuf/message_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/package_info.h => toolkit/components/protobuf/google/protobuf/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.cc => toolkit/components/protobuf/google/protobuf/repeated_field.cc
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.h => toolkit/components/protobuf/google/protobuf/repeated_field.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.cc => toolkit/components/protobuf/google/protobuf/stubs/common.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.h => toolkit/components/protobuf/google/protobuf/stubs/common.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/hash.h => toolkit/components/protobuf/google/protobuf/stubs/hash.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.cc => toolkit/components/protobuf/google/protobuf/stubs/once.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.h => toolkit/components/protobuf/google/protobuf/stubs/once.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stl_util.h => toolkit/components/protobuf/google/protobuf/stubs/stl_util-inl.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.cc => toolkit/components/protobuf/google/protobuf/wire_format_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.h => toolkit/components/protobuf/google/protobuf/wire_format_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite_inl.h => toolkit/components/protobuf/google/protobuf/wire_format_lite_inl.h
2015-04-23 08:37:24 +02:00
Tooru Fujisawa 3082327595 Bug 891107 - Part 3: Report argument type error as TypeError in js-ctypes. r=jorendorff 2015-04-23 13:41:31 +09:00
Tooru Fujisawa 7c26967f31 Bug 891107 - Part 2: Report argument length error as TypeError in js-ctypes. r=jorendorff 2015-04-23 13:41:27 +09:00
Tooru Fujisawa cf2e4ba315 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-23 13:41:10 +09:00
Dan Gohman 40c524e7ba Bug 1150337 - OdinMonkey: Optimize the full range of immediate offsets on x64. r=luke 2015-04-22 21:08:15 -07:00
L. David Baron b1af4c0ca6 Back out changeset 1ae18f4c151f (bug 944164) for not compiling on Windows XP, on a CLOSED TREE. 2015-04-22 21:04:38 -07:00
Nick Fitzgerald b743410d63 Bug 1065657 - Follow up: remove bad friend declaration that leads to GCC warnings and burnt trees on a CLOSED TREE; r=tromey 2015-04-22 11:38:09 -07:00
Nick Fitzgerald 7451725aae Bug 1024774 - Part 14: Ignore protobuf indirect calls in the GC hazard analysis;
r=sfink
2015-04-22 11:09:55 -07:00
Nick Fitzgerald 6e0841b4f5 Bug 1024774 - Part 13: Change to new SpiderMonkey style from bug 1144366; r=me 2015-04-22 11:09:55 -07:00
Nick Fitzgerald b9bae0d887 Bug 1024774 - Part 11: Implement a JS::ubi::Node specialization for DeserializedNode; r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald 0e6dcee572 Bug 1024774 - Part 8: Add JS::ubi::Node::isLive; r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald 32af3e9ef8 Bug 1024774 - Part 3: Serialize heap snapshots. r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald 7c042bbbe2 Bug 1149397 - JS::ubi::Node::edges should return a mozilla::UniquePtr; r=jimb 2015-04-22 11:09:53 -07:00
Nick Fitzgerald 2579661679 Bug 1065657 - Allow multiple Debuggers to track allocations at the same time; r=shu 2015-04-22 09:49:07 -07:00
Nick Fitzgerald a97c81d4d8 Bug 1150253 - Part 3: Migrate onGarbageCollection tests; r=sfink
--HG--
rename : js/src/jit-test/tests/debug/Memory-onGarbageCollection-04.js => js/xpconnect/tests/unit/test_onGarbageCollection-04.js
2015-04-22 09:43:02 -07:00
Nick Fitzgerald 1bbdc65eb9 Bug 1150253 - Part 1: SpiderMonkey should call an embedder-provided callback
instead of running the onGarbageCollection hook immediately; r=sfink
2015-04-22 09:43:02 -07:00
Nick Fitzgerald 91b061ba84 Bug 1153922 - Add a SandboxOptions option for creating the sandbox in a fresh JS::Zone. r=mrbkap
--HG--
extra : rebase_source : d30aa79c3036db9f38cfe54327bfa9f55eb6c528
2015-04-13 14:25:00 -04:00
Aleksandar Zlicic b66bc5f547 Bug 1156365 - IonMonkey MIPS: Fix build failure on MIPS; rename Registers::code() to Registers::Encoding(). r=rankov
--HG--
extra : rebase_source : 093a58d6ee3789cc053458717ba21670f90ed6de
2015-04-20 18:58:34 +02:00
Jason Orendorff 4e6f4db7c8 Bug 1143921 - Fix crash in Debugger.defineProperty when the descriptor contains {get: undefined}. r=efaust.
--HG--
extra : rebase_source : a53361cc7ea9a4cc794fbd5e7c58a85ca2424022
2015-04-13 13:48:04 -05:00
Jason Orendorff 6c610d0754 Bug 1151957 - Rewrite GDB extension for ignoring asm.js segmentation faults in Python, fixing some bugs and bringing it under test. r=jimb.
The GDB code being rewritten here did not work for users who build with -ggdb3
on Linux, because sa_handler is a macro; see bug 1151957 comment 1. Also, it
caused GDB to perform an invalid free in the JS shell debuggee process, on
startup, if the previous run received SIGSEGV.

--HG--
rename : js/src/shell/js-gdb.gdb => js/src/gdb/mozilla/asmjs.py
extra : rebase_source : ba061d1978a4cb40172e7a79a3597bc0f91e9232
2015-04-13 12:46:22 -05:00
Jason Orendorff c037e5505f Bug 1153970 - Change js/src/gdb/run-tests.py to take an OBJDIR argument instead of a LIBDIR argument, since jorendorff can never guess which directory to pass for LIBDIR in fewer than six tries. r=jimb.
--HG--
extra : rebase_source : 58f75af6ff13458754f984fac0dd570158dc4a59
2015-04-13 11:36:36 -05:00
Tooru Fujisawa 2046d3ebca Bug 1155985 - Set FieldInto::mType just before storing to reserved slot. r=jonco, a=abillings 2015-04-22 23:59:01 +09:00
Tooru Fujisawa 9c20e89e57 Backed out changeset 7eee0cdd0feb (bug 1155985) for xpcshell-test failure 2015-04-22 20:08:25 +09:00
Tooru Fujisawa 592070ffda Backed out changeset b2b956ba0acd (bug 891107) for xpcshell-test failure 2015-04-22 20:08:23 +09:00
Tooru Fujisawa 1c0a8e4335 Backed out changeset 951ec7d134c2 (bug 891107) for xpcshell-test failure 2015-04-22 20:08:21 +09:00
Tooru Fujisawa a74592cf8f Backed out changeset 467559ddc08f (bug 891107) for xpcshell-test failure 2015-04-22 20:08:19 +09:00
Jan de Mooij b385723d9d Bug 1156886 - Optimize toLowerCase and toUpperCase on ASCII characters. r=luke
--HG--
extra : rebase_source : 6e715d90e59540dd36e30414a77ab2d7c303b7e5
2015-04-22 11:30:47 +02:00
Tooru Fujisawa 84b9e85db2 Bug 891107 - Part 3: Report argument type error as TypeError in js-ctypes. r=jorendorff 2015-04-22 18:26:14 +09:00
Tooru Fujisawa eac8d1b1f4 Bug 891107 - Part 2: Report argument length error as TypeError in js-ctypes. r=jorendorff 2015-04-22 18:26:14 +09:00
Tooru Fujisawa b032374d29 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-22 18:26:13 +09:00
Tooru Fujisawa be827bad4c Bug 1155985 - Set FieldInto::mType just before storing to reserved slot. r=jonco, a=abillings 2015-04-22 18:26:13 +09:00
Andrea Marchesini a4369a04c4 Bug 1156632 - Remove unused forward class declarations - patch 7 - JS, r=sfink 2015-04-22 08:29:26 +02:00
Jason Orendorff 533a4abf95 Bug 1153475 - Always ignore desc.object() in DefineProperty functions that take a PropertyDescriptor argument. r=efaust.
--HG--
extra : rebase_source : 0bb4a479d34fdb80c752ed840cc9a3fe7aaff261
2015-03-23 14:32:33 -05:00
Jason Orendorff 6ca2117844 Bug 1148750, part 17 - Remove ApplyOrDefaultAttributes. r=efaust.
At this point, each path through the code completely fills in desc, so the final call to ApplyOrDefaultAttributes is redundant. Note that AddOrChangeProperty begins with `desc.assertComplete()`, so we'll find out soon enough if this is not the case.

--HG--
extra : rebase_source : 063ad1ed19bcdc8bad4f5855cdc3e86661a66415
2015-04-03 09:00:21 -05:00
Jason Orendorff 855d0b2d23 Bug 1148750, part 16 - Implement ValidateAndApplyPropertyDescriptor step 9 (redefining an existing accessor property). Remove CheckAccessorRedefinition. r=efaust.
--HG--
extra : rebase_source : 95fe6cfcf4114ba3ce254f1e0983a9760931f2fc
2015-04-09 15:27:09 -05:00
Jason Orendorff c0b45567bf Bug 1148750, part 15 - Stop retaining getter and setter ops when redefining a data property. r=efaust.
StandardDefineProperty already does this. In short, redefining a magical data property like array.length or an arguments element should make it nonmagical.

In fact, it is an engine invariant that Shapes have either both JSPROP_GETTER and JSPROP_SETTER or neither: they never have e.g. a setter object and a getter op. As of recently the GC depends on this. So this change is necessary for memory safety.

--HG--
extra : rebase_source : 4cf6bed2978011296178d621026f33731b3c5e10
2015-04-03 12:58:50 -05:00
Jason Orendorff 9bca040d64 Bug 1148750, part 14 - Reject redefining a non-writable non-configurable data property to have a different value. r=efaust.
--HG--
extra : rebase_source : e8dbe70a7df15364290824ffd8a6524fdc86bf61
2015-04-03 16:25:12 -05:00
Jason Orendorff 0fa28b1187 Bug 1148750, part 13 - Simplify code to fill in desc.writable, if not present, from the existing shape. r=efaust.
--HG--
extra : rebase_source : 90ec845eafe133e257620dc94bcf5fec60354d44
2015-04-09 16:30:13 -05:00
Jason Orendorff 6c67d2bff2 Bug 1148750, part 12 - Reject redefinition of non-writable non-configurable data property as writable. This fixes bug 1073808. r=efaust.
--HG--
extra : rebase_source : 6124570135dab0d6143cc4c2f1916f4ac45d6e70
2015-04-09 15:55:37 -05:00
Jason Orendorff 5b475c41ee Bug 1148750, part 11 - Remove some code for TypedArray cases rendered unreachable by part 1 of this bug. r=efaust.
--HG--
extra : rebase_source : b6daef1d670c75f28060888b0972146988180a6b
2015-04-09 15:33:38 -05:00
Jason Orendorff cef74f53ce Bug 1148750, part 10 - js::NativeDefineProperty: Swap the order of the cases in the remaining old code. r=efaust.
--HG--
extra : rebase_source : 729247a3f8a96f57574b3a9b7373cb28ae2216b9
2015-04-09 15:25:56 -05:00
Jason Orendorff 411d9d0392 Bug 1148750, part 9 - Implement ValidateAndApplyPropertyDescriptor step 7. r=efaust.
The new code takes over some cases that used to be handled by each of the three cases that follow it. Therefore there are changes in all three cases, particularly the desc.isAccessorDescriptor() case, which no longer needs the sparsify code.

--HG--
extra : rebase_source : a0cdf49f67ca6baaf5bbbd7b793704dd2c62506a
2015-04-09 15:19:02 -05:00
Jason Orendorff cfea102bd9 Bug 1148750, part 8 - Implement ValidateAndApplyPropertyDescriptor step 6. r=efaust.
This also makes some changes to MutableHandle<PropertyDescriptor>, for convenience:

*   Make desc.setGetterObject() and desc.setSetterObject() quietly change *this from a generic or data descriptor into an accessor descriptor, if need be.

*   Make setWritable() clear the JSPROP_IGNORE_READONLY bit if present. (Breaking the symmetry a bit, it won't change *this from an accessor descriptor to a data descriptor. Instead, it asserts you're not doing that.)

--HG--
extra : rebase_source : 2a7cf3d477553838248bfa8bb183985ee369a22e
2015-04-09 14:17:38 -05:00
Jason Orendorff 28e3620074 Bug 1148750, part 7 - Fill in configurable and enumerable. r=efaust.
This changes MutableHandle<PropertyDescriptor>::setEnumerable() to take a boolean argument, and makes it unconditionally clear JSPROP_IGNORE_ENUMERATE, as a convenience. A similar setConfigurable() method is also added.

--HG--
extra : rebase_source : 5cfaba30965d36057215de2ccbce91ab9991b32e
2015-04-09 14:59:39 -05:00
Jason Orendorff 30649575ba Bug 1148750, part 6 - Implement ValidateAndApplyPropertyDescriptor up to step 5. r=efaust.
--HG--
extra : rebase_source : 7c69f9fca2c8d3d7a3c58cf1a4f74e10f428c01c
2015-04-09 14:18:24 -05:00
Jason Orendorff ac3bb736b4 Bug 1148750, part 5 - CompletePropertyDescriptor upgrade. r=efaust.
--HG--
extra : rebase_source : 2da8450bb190537bc70858d78116f9d40e853569
2015-04-09 14:13:15 -05:00
Jason Orendorff e182c673aa Bug 1148750, part 4 - Strip out redundant if-conditions in parts of NativeDefineProperty where shape can't be null. r=efaust.
--HG--
extra : rebase_source : a88891aa9074ba0e4c9bbcdd2d62768658a4614b
2015-04-09 14:28:17 -05:00
Jason Orendorff 83668b30c9 Bug 1148750, part 3 - Implement ValidateAndApplyPropertyDescriptor step 2. r=efaust.
The new comment "Filling in desc:" is aspirational for now, but it gradually becomes true in the subsequent patches in this bug.

--HG--
extra : rebase_source : eb00118ec0810c48cbf192cbabcbf83ed1eeb004
2015-04-09 14:09:01 -05:00
Jason Orendorff f705529720 Bug 1148750, part 2 - Check extensibility in NativeDefineProperty. r=efaust.
--HG--
extra : rebase_source : ecd2b8cf35757f4415d024dae393cea818042090
2015-03-27 14:03:01 -05:00
Jason Orendorff fb7d7c6d5e Bug 1148750, part 1 - Factor out the lookup common to three branches at the top of NativeDefineProperty. r=efaust.
The existing setup saves a branch. We can't keep it. All that code is about to be completely rewritten. In the standard algorithms, this check is not immediately followed by a branch on this particular condition (desc.hasValue()). Furthermore, to deal with resolve hooks properly, we will later change the condition of this if-statement to something like `if (resolving)`, which will not be something we can common up with any other branch in this function.

--HG--
extra : rebase_source : 5460d4d2704697c4c63b2bc5d4435601c97ad00a
2015-03-23 14:32:30 -05:00
Jason Orendorff dc269c5505 Bug 1152106, part 2 - Make the global Components property configurable in cases where EnableUniversalXPConnect may later need to redefine it. r=bholley.
--HG--
extra : rebase_source : 72b7a9f613bda1024532a507c4b99ac504bc6352
2015-04-10 18:04:05 -05:00
Jason Orendorff 99666fb916 Bug 1152106, part 1 - Don't try to redefine the non-configurable global Components property when EnableUniversalXPConnect is called multiple times. r=bholley.
--HG--
extra : rebase_source : 6509b0adaaa6be10bfd9c696f2d4368946877990
2015-04-10 12:58:38 -05:00
Ehsan Akhgari f9d798bcbd Bug 1156030 - Remove some obsolete static assertion macros from the tree; r=Waldo 2015-04-21 14:22:43 -04:00
Terrence Cole 2ccef0beed Bug 1154950 - Share permanent atom and well-known symbol marking; r=sfink
--HG--
extra : rebase_source : 900f7055dbd7e8509e1cac83a6fe12e48ac85a6d
2015-04-14 13:28:46 -07:00
Terrence Cole bb428151a7 Bug 1154101 - Remove PushMarkStack indirection; r=sfink
--HG--
extra : rebase_source : 338200fcb26df111b3bbc667d8971db5c83a9fbf
2015-04-14 13:28:39 -07:00
Jon Coppeard 73014daec8 Bug 1156317 - Change the onOutOfMemory() interface is make it harder to misuse r=terrence 2015-04-21 16:08:39 +01:00
Jon Coppeard 31b2a173c7 Bug 1155455 - Relax assertion to take account of breakpoints added during incremental sweeping r=terrence 2015-04-21 16:08:36 +01:00
Ting-Yu Chou c5bde34ddd Bug 1049290 - Optimize JSOP_IN for baseline compiler. r=djvj, r=h4writer
--HG--
extra : rebase_source : d2e9a9653a79db0b2489d625d5c7fe270c12d932
2015-04-18 07:54:10 +08:00
Tooru Fujisawa 8a4324be25 Bug 1153963 - Add telemetry for regexp.hasOwnProperty("source") and Object.getOwnPropertyDescriptor(regexp, "source") on non-release build. r=till 2015-04-21 20:04:38 +09:00
Steve Singer 0c3e227991 Bug 1156115 - Apply Bug 1135629 changes to the non-ion jit. r=nbp 2015-04-19 20:14:00 +02:00
Nick Fitzgerald 2df7081f54 Bug 1154079 - Add the allocated object's [[class]] name to the allocations log. r=shu
--HG--
extra : rebase_source : 4a74b6b591c273ead38b682777b9be4f6d4f3694
2015-04-17 15:22:00 +02:00
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