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

53844 Коммитов

Автор SHA1 Сообщение Дата
Tooru Fujisawa 1b9a5c35cf Bug 933257 - Part 9: Use fdlibm in asm.js. r=luke 2016-03-05 05:18:09 +09:00
Tooru Fujisawa da66cf5062 Bug 933257 - Part 7: Remove or reduce sloppy_tolerance in Math function tests. r=jorendorff 2016-01-07 14:21:26 +09:00
Tooru Fujisawa 93afba3664 Bug 933257 - Part 6: Remove unused math polyfill. r=jwalden 2016-01-07 12:30:29 +09:00
Tooru Fujisawa 14da6310d3 Bug 933257 - Part 5: Use fdlibm in jsmath.cpp. r=jwalden 2016-01-07 12:30:29 +09:00
Tooru Fujisawa a6c3b5ec37 Bug 933257 - Part 4: Link fdlibm in SpiderMonkey. r=jwalden 2015-11-18 19:13:23 +09:00
Dan Gohman 05f70f4fb8 Bug 1255695 - BaldrMonkey: Implement unaligned accesses. r=luke 2016-03-12 14:06:34 -08:00
Tooru Fujisawa a226741004 Backed out changeset c2df769e60ac (bug 933257) 2016-03-13 04:54:55 +09:00
Tooru Fujisawa fb771b2697 Backed out changeset 2e20366dcaf7 (bug 933257) 2016-03-13 04:54:53 +09:00
Tooru Fujisawa 3dace94ad5 Backed out changeset 0bc00f6c24fd (bug 933257) 2016-03-13 04:54:50 +09:00
Tooru Fujisawa 4841dccbe2 Backed out changeset 96b3d993fc53 (bug 933257) 2016-03-13 04:54:48 +09:00
Tooru Fujisawa de1deaffd6 Backed out changeset b6ca6b5832d8 (bug 933257) 2016-03-13 04:54:42 +09:00
Tooru Fujisawa 340e6bbf57 Backed out changeset b2624519692f (bug 891107) 2016-03-13 04:54:33 +09:00
Tooru Fujisawa 632b50ecff Backed out changeset 13e045fff28d (bug 891107) 2016-03-13 04:54:30 +09:00
Tooru Fujisawa 65844d91b7 Backed out changeset 8fe18f2b8aa9 (bug 891107) 2016-03-13 04:54:27 +09:00
Tooru Fujisawa a653c25c72 Backed out changeset ebd8c98e2329 (bug 891107) 2016-03-13 04:54:25 +09:00
Tooru Fujisawa 9824a5f19e Backed out changeset c47e7505bd94 (bug 891107) 2016-03-13 04:54:23 +09:00
Tooru Fujisawa ed7fa27091 Backed out changeset f223b115ad37 (bug 891107) 2016-03-13 04:54:20 +09:00
Tooru Fujisawa da7b7e3756 Backed out changeset 07d1058b745e (bug 891107) 2016-03-13 04:54:18 +09:00
Tooru Fujisawa 6e4d9110ce Backed out changeset c1bb74893286 (bug 891107) 2016-03-13 04:54:16 +09:00
Luke Wagner d0ceed77d2 Bug 1254893 - Change 'Experimental' to 'Temporary' in string and DONTBUILD (r=me)
MozReview-Commit-ID: 6xQocmUEuCA
2016-03-12 13:42:58 -06:00
Tooru Fujisawa 20ae44e9a0 Backed out changeset 08ee8e76c703 (bug 1153978) 2016-03-13 04:26:57 +09:00
Tooru Fujisawa 37c3f4b22d Backed out changeset 8db1ac84d30e (bug 1153978) 2016-03-13 04:26:42 +09:00
Tooru Fujisawa dfc8f0e602 Bug 1153978 - Part 2: Use the build id instead of the XDR_BYTECODE_VERSION constant. r=jandem 2016-01-01 14:19:20 +09:00
Tooru Fujisawa a66bde4a5f Bug 1153978 - Part 1: Separate buildIdOp from AsmJSCacheOps. r=jandem,bz 2016-01-01 14:19:20 +09:00
Tooru Fujisawa 8de144a510 Bug 891107 - Part 11: Show information about type in cast error messages in js-ctypes. r=jorendorff 2015-08-07 06:58:58 +09:00
Tooru Fujisawa a4c28f6ed6 Bug 891107 - Part 10: Show information about value in pointer related error messages in js-ctypes. r=jorendorff 2015-08-07 06:58:52 +09:00
Tooru Fujisawa c386049e2e Bug 891107 - Part 9: Report construction error as TypeError in js-ctypes. r=jorendorff 2015-08-07 06:58:44 +09:00
Tooru Fujisawa 59006614f5 Bug 891107 - Part 8: Show information about field name and type in struct field related error messages in js-ctypes. r=jorendorff 2015-08-07 06:58:39 +09:00
Tooru Fujisawa 8f7755640d Bug 891107 - Part 7: Show information about value, type, function, and argument number in function related error messages in js-ctypes. r=jorendorff 2015-08-07 06:57:39 +09:00
Tooru Fujisawa 2ca6efbecb Bug 891107 - Part 6: Show information about range and value in array index error messages in js-ctypes. r=jorendorff 2015-08-07 06:53:50 +09:00
Tooru Fujisawa 07a9b61b8b Bug 891107 - Part 5: Show function name in this and callee type error messages in js-ctypes. r=jorendorff 2015-08-07 06:53:29 +09:00
Tooru Fujisawa 874bc65426 Bug 891107 - Part 4: Show information about value in overflow error messages in js-ctypes. r=jorendorff 2015-08-07 06:48:10 +09:00
Tooru Fujisawa bfa3e0a290 Bug 933257 - Part 9: Use fdlibm in asm.js. r=luke 2016-03-05 05:18:09 +09:00
Tooru Fujisawa 15efa19dab Bug 933257 - Part 7: Remove or reduce sloppy_tolerance in Math function tests. r=jorendorff 2016-01-07 14:21:26 +09:00
Tooru Fujisawa c084cb8dfd Bug 933257 - Part 6: Remove unused math polyfill. r=jwalden 2016-01-07 12:30:29 +09:00
Tooru Fujisawa f0aed2b4eb Bug 933257 - Part 5: Use fdlibm in jsmath.cpp. r=jwalden 2016-01-07 12:30:29 +09:00
Tooru Fujisawa ecaec25491 Bug 933257 - Part 4: Link fdlibm in SpiderMonkey. r=jwalden 2015-11-18 19:13:23 +09:00
sasa cocic 58500d5ddc Bug 1253872 - When jstest.py is run and debugger=lldb is passed as an argument there is no error. r=arai 2016-03-11 17:53:00 -05:00
Tom Schuster 2006354ac1 Bug 1253016 - Implement and test the new spec for legacy functions. r=till 2016-03-12 15:02:12 +01:00
Tom Schuster a3fd09a3fe Bug 1253016 - Remove legacy __defineGetter__/__defineSetter__ this behavior. r=till 2016-03-12 15:02:11 +01:00
Luke Wagner d8a66f109b Bug 1254893 - Connect wasm::BinaryToText with Debugger.Source (r=shu)
MozReview-Commit-ID: 4vsMGU3wbwZ

--HG--
extra : rebase_source : 57837e6e4b495a09db6a48c9ffb8349b173cf05f
2016-03-12 02:27:15 -06:00
Shu-yu Guo f48809c10e Bug 1254893 - Followup: read barrier wasm modules exposed via Debugger.findScript. (r=luke) 2016-03-11 23:52:56 -08:00
Shu-yu Guo 3a05ea6516 Bug 1254893 - Followup: fix awkward wording in Debugger.Source docs. DONTBUILD. (r=me) 2016-03-11 21:57:08 -08:00
Shu-yu Guo 1aaf5447b9 Bug 1254893 - Update Debugger.Source docs. (r=jimb) 2016-03-11 21:43:21 -08:00
Shu-yu Guo e82a07eeaf Bug 1254893 - Update Debugger.Script docs. (r=jimb) 2016-03-11 21:43:21 -08:00
Shu-yu Guo 2444afb463 Bug 1254893 - Append "> wasm" to URLs of wasm Debugger.Sources to hack around blacklisting in devtools. (r=jimb) 2016-03-11 21:43:21 -08:00
Shu-yu Guo dc5eb64b11 Bug 1254893 - Tests for perfunctory functionality of wasm Debugger.Scripts and Debugger.Sources. (r=jimb) 2016-03-11 21:43:21 -08:00
Shu-yu Guo 7779b5bb0b Bug 1254893 - Fire onNewScript for new wasm modules. (r=jimb) 2016-03-11 21:43:21 -08:00
Shu-yu Guo fe33486d75 Bug 1254893 - Support wasm for most of the Debugger.Source properties. (r=jimb) 2016-03-11 21:43:21 -08:00
Shu-yu Guo a9256459dd Bug 1254893 - Add a .format property on Debugger.Script. (r=jimb) 2016-03-11 21:43:21 -08:00
Shu-yu Guo 9cca2b6184 Bug 1254893 - Display placeholder text for synthesized Debugger.Sources. (r=jimb) 2016-03-11 21:43:20 -08:00
Shu-yu Guo f50eaf200c Bug 1254893 - Synthesize Debugger.Sources for wasm modules. (r=jimb) 2016-03-11 21:43:20 -08:00
Shu-yu Guo 01ca3323bc Bug 1254893 - Synthesize Debugger.Scripts for wasm modules and find them via findScripts. (r=jimb) 2016-03-11 21:43:20 -08:00
Shu-yu Guo 851f4a49bf Bug 1254893 - Keep a list of wasm::Modules per compartment. (r=terrence) 2016-03-11 21:43:20 -08:00
Shu-yu Guo 6de3af7697 Bug 1254893 - Prep Debugger.Source for a tagged union referent. (r=jimb) 2016-03-11 21:43:20 -08:00
Shu-yu Guo d13351518b Bug 1254893 - Prep Debugger.Script for a tagged union referent. (r=jimb) 2016-03-11 21:43:20 -08:00
Shu-yu Guo 5969cafc7d Bug 1254453 - Support using Variant inside GC wrappers. (r=terrence) 2016-03-11 21:43:20 -08:00
Yury Delendik 576eac82a3 Bug 1254984 - Experimental text representation of WebAssembly binary code (r=luke)
MozReview-Commit-ID: 5xNHZYiaVoW

--HG--
rename : js/src/asmjs/WasmText.cpp => js/src/asmjs/WasmTextToBinary.cpp
rename : js/src/asmjs/WasmText.h => js/src/asmjs/WasmTextToBinary.h
extra : rebase_source : d05ff8df1bcded229687b2dd3f13afdecc18b5be
2016-03-11 19:47:25 -06:00
Boris Zbarsky 35afbb7590 Bug 1255201. Improve the stack handling in nsXPCComponents_Utils::ReportError for the DOMException case to include the stack from the DOMException. r=bholley 2016-03-11 23:59:10 -05:00
Steve Fink c715a05b0c Bug 944164 - Implement proper redirection with ref counted underlying files, r=terrence
MozReview-Commit-ID: KVjZ0WXl9E6
2015-06-10 11:21:03 -07:00
Mike Hommey dd71ac573a Bug 1255763 - Remove OS_RELEASE and OS_MINOR_RELEASE. r=gps
We're not doing anything with them anymore.
2016-03-12 09:03:37 +09:00
Mike Hommey 1d024cccb1 Bug 1255763 - Remove the NEED_USLEEP_PROTOTYPE define. r=gps
It has not done anything since gtk+ 1.0 support has been removed in bug 326152.
2016-03-12 09:03:37 +09:00
Mike Hommey 60313183f5 Bug 1255763 - Remove the MUST_UNDEF_HAVE_BOOLEAN_AFTER_INCLUDES define. r=gps
It has not done anything since we switched to libjpeg-turbo in bug 573948
2016-03-12 09:03:37 +09:00
Mike Hommey 87f7c3427c Bug 1255763 - Remove OS_CONFIG, it is now unused. r=gps
It was also already unused in old-configure.in.
2016-03-12 09:03:37 +09:00
sajitk 823704b8d6 Bug 1219482: Replace PRLogModuleInfo with LazyLogModule in various files.r=benjamin 2016-01-28 10:35:00 -08:00
Luke Wagner c77c969418 Bug 1255795 - use UniqueTwoByteChars in AtomizeUTF8Chars (r=jandem)
MozReview-Commit-ID: IjHFnhgyCPH

--HG--
extra : rebase_source : f48c118f56db66653168880e5504bd0509c7e357
2016-03-11 08:57:51 -06:00
Jan de Mooij a3239fa787 Bug 1227035 - Tighten the check in ObjectGroup::useSingletonForClone a bit more. r=bhackett 2016-03-11 15:21:16 +01:00
Jan de Mooij 0a25b198fc Bug 1252903 - Add a missing OOM check in IonBuilder::inlineCalls. r=jonco 2016-03-11 15:20:24 +01:00
Jan de Mooij 40172eddb0 Bug 1212328 - Clean up some JSErrorReport-related code. r=Waldo,bz 2016-03-11 15:19:06 +01:00
Tom Schuster fd321807d6 Bug 892903 - Remove Proxy.create and Proxy.createFunction. r=efaust 2016-03-11 13:32:26 +01:00
Tom Schuster 2f90a139af Bug 892903 - Remove Proxy.create from jstests. r=efaust 2016-03-11 13:32:26 +01:00
Tom Schuster 1d0c6f5e3a Bug 892903 - Remove Proxy.create from jit-tests. r=efaust 2016-03-11 13:32:26 +01:00
Mike Hommey 9344631411 Bug 1255197 - Avoid cumulating dependencies in prepare_configure(). r=chmanchester 2016-03-11 09:38:28 +09:00
Mike Hommey aa23cc29a6 Bug 1254906 - Move --disable-shared-js and --disable-export-js to moz.configure. r=chmanchester 2016-03-11 09:38:28 +09:00
Ryan VanderMeulen 736cfda13e Backed out changesets 9485ee35cb1d, f2e2b775624f, and 5315d961f36e (bug 1255476) for breaking Windows SM jobs.
CLOSED TREE
2016-03-10 18:59:51 -05:00
Terrence Cole ff98f6e2ee Bug 956899 - Replace ExclusiveData PRLock usage with Mutex; r=fitzgen 2016-03-03 13:26:50 -08:00
Morgan Phillips b5acf52487 Bug 1254335 - Remove invalid assertion; r=jorendorff
The underlying intent of the assertion was to guarantee that pending errors wouldn't be overwritten.
This patch makes that intent more clear while addressing the fact that the original assertion was
not necessarily true.

--HG--
extra : rebase_source : f57ea76a10faed4470186dc3869c4dcf19b1608b
2016-03-09 01:57:38 -08:00
Steve Fink 918d2244d1 Bug 1255476 - Task that runs the spidermonkey gdb integration tests, r=garndt
--HG--
extra : rebase_source : 0ed31770417ced2a6993f132adb452d05c35209b
2016-03-09 16:56:56 -08:00
Steve Fink 8cbe50c347 Bug 1255476 - Add --test, --skip-test, and gdb test to autospider.sh, r=terrence
--HG--
extra : rebase_source : 38c55a57640bf5a9ba53f203d72368f2904ab3f8
2016-03-10 09:11:43 -08:00
Steve Fink 25b34bfa2a Bug 1150338 - Use the tooltool gcc in automation rather than /tools, r=terrence
--HG--
extra : rebase_source : 546bfa416ec36222cd1563b3f8cb7ac67c6ebf0e
2016-03-09 12:01:30 -08:00
Tom Tromey eef76e0406 Bug 1232712 - add a gdb unwinder for SpiderMonkey; r=nbp
MozReview-Commit-ID: JVAhO9Apdxd
2016-03-10 18:10:10 +00:00
Bert Belder 5f4e469c58 Bug 956899 - Add a platform agnostic std::mutex work-alike; r=froydnj 2014-01-19 17:57:00 -08:00
Terrence Cole bd531e5bce Bug 1224050 - Use stable hashing for the IntialShapesTable; r=jonco
--HG--
extra : rebase_source : bb234ac7eac0503f8d7dec84ea8cf02894b3edf2
2016-03-10 08:57:01 -08:00
Dan Gohman c72df6bb5c Bug 1253137 - BalderMonkey: Define encodings for eqz, rotl, and rotr r=luke 2016-03-10 07:28:27 -08:00
Bogdan Postelnicu 893df6829d Bug 1238917 - initialize lazySticky in clear function. r=jorendorff@mozilla.com
--HG--
extra : rebase_source : f2e7559dd52be95a7cd7ff7e4946717fc9e49378
2016-01-12 14:12:11 +02:00
Jon Coppeard 461e16de02 Bug 1253461 - Fix race condition in Shape::fixupDictionaryShapeAfterMovingGC r=terrence 2016-03-08 17:14:34 +00:00
Mike Hommey e6d395b495 Bug 1254873 - Make --disable-js-shell the default for non-js-standalone builds. r=chmanchester
The implementation is a bit circumvoluted, but we do need to share
options between the top-level and js/src configures, possibly with
different defaults, and to properly pass things down from one to
the other. Until we are further down the road and can actually merge
both configures, this is a necessary evil.
2016-03-10 13:54:02 +09:00
Mike Hommey 06634bfcb4 Bug 1251324 - Add a --disable-js-shell option to js/src/configure. r=chmanchester 2016-03-10 13:54:02 +09:00
Boris Zbarsky 692754b232 Bug 1255192 part 2. Clean up the JSContext usage around xpc::FindExceptionStackForConsoleReport now that it just needs a JSContext for rooting. r=bholley 2016-03-09 22:27:14 -05:00
Boris Zbarsky 891b63eeba Bug 1255192 part 1. Remove the JSContext argument of JS::ExceptionStackOrNull. r=bholley 2016-03-09 22:27:13 -05:00
Boris Zbarsky 36d4079be7 Bug 1254847 part 3. Make AutoEntryScript always take ownership of error reporting. r=bholley 2016-03-09 19:02:03 -05:00
Boris Zbarsky 0f63c48348 Bug 1254847 part 1. Take ownership of error reporting on the AutoEntryScript in nsXPCWrappedJSClass::DelegatedQueryInterface. r=bholley
If a QI method throws anything other than NS_NOINTERFACE, we should just report
it and propagate NS_NOINTERFACE out to callers.  And if it throws
NS_NOINTERFACE, then we already clear the pending exception in
nsXPCWrappedJSClass::CallQueryInterfaceOnJSObject, then turn the null return
value into a C++ NS_NOINTERFACE return.
2016-03-09 19:02:03 -05:00
Luke Wagner ee4712ee86 Bug 1253137 - Baldr: switch from LEB128 to prefix-based scheme to match BinaryEncoding.md (r=sunfish)
MozReview-Commit-ID: HwLEk9HKW50

--HG--
extra : rebase_source : f2cc1884affc2a2b45631ac7dc5e28961c6755b9
2016-03-09 13:14:14 -06:00
Luke Wagner 994ae222fd Bug 1254836 - Baldr: handle over-recursion in validator (r=bbouvier)
MozReview-Commit-ID: DgKF326PlIc

--HG--
extra : rebase_source : 8ac7975d086ad8ec7c6eee7f5954ee31f1b0d4df
2016-03-09 11:11:50 -06:00
Luke Wagner 2126d2b2ba Bug 1254188 - Baldr: handle recycled phis when closing a loop with a value (r=bbouvier)
MozReview-Commit-ID: D7c4b6cQvCK

--HG--
extra : rebase_source : 270b462db9bec1f78a8f60fb6356b5ea45b58387
2016-03-09 11:08:01 -06:00
Boris Zbarsky 2e279c21e5 Bug 1254857. Switch the AutoEntryScript in xpc::EvalInSandbox to take ownership of error reporting. r=bholley
In practice we always propagate the exception out anyway, so this change is a no-op.
2016-03-09 15:28:54 -05:00
Boris Zbarsky bf71c8ea5b Bug 1254848 part 3. Take ownership of error reporting on the AutoEntryScript in AsyncScriptLoader::OnStreamComplete. r=bholley
There is no one else who cares about an exception left on the JSContext here: we're coming in off the event loop.
2016-03-09 15:28:42 -05:00
Boris Zbarsky 9c955ac670 Bug 1254848 part 2. Take ownership of error reporting on the AutoEntryScript in mozJSComponentLoader::PrepareObjectForLocation. r=bholley
This is only used for calling JS_FireOnNewGlobalObject, which never throws.
2016-03-09 15:28:41 -05:00
Boris Zbarsky 731f2ec68f Bug 1254848 part 1. Take ownership of error reporting on the AutoEntryScript in mozJSComponentLoader::ObjectForLocation. r=bholley
The code as it stood is a bit weird.  It sets up an AutoJSAPI that takes
ownership of error reporting.  Then later it also sets up an
AutoEntryScript... but keeps using the JSContext it got from the AutoJSAPI.
It's not obvious that there is any guarantee that this matches the JSContext
from the AutoEntryScript!

So we go ahead and change the things that are nominally using the
AutoEntryScript to use it JSContext and take ownership of error reporting on it
explicitly.  If the JSContext is the same as that of the AutoJSAPI, then we were
getting backstopped by its taking ownership of error reporting anyway.  If it's
not, we don't want to leave exceptions dangling on it.
2016-03-09 15:28:33 -05:00
Boris Zbarsky d0363ce0e6 Bug 1254846. Add an AutoEntryScript constructor that takes a JSObject instead of an nsIGlobalObject, for convenience. r=bholley 2016-03-09 15:28:26 -05:00
Jim Blandy 595069840a Bug 1179278: GDB pretty-printers: handle encoding errors when trying to print JSObject class names. DONTBUILD r=jorendorff
--HG--
extra : rebase_source : b463225bc35fe7f8e2848e20578362e1bfa8bde3
2015-06-30 23:47:14 -07:00
Mike Shal 053369e67e Bug 1253431 part 7 - Remove SDK_BINARY; r=gps
MozReview-Commit-ID: 4RmjsX966Qh

--HG--
extra : rebase_source : 0d9d94ed98ae8f1cfb9d5787edc1336ce1ee6785
2016-03-03 14:23:57 -05:00
Mike Shal 4bd051f9d7 Bug 1253431 part 6 - Remove SDK_BINARY from js/src; r=gps
It has no effect anyway, since it is set after including config/rules.mk

MozReview-Commit-ID: LfxwCLRl99i

--HG--
extra : rebase_source : 27c4765bf954dac71b6cad01639ad6c4fcbab5bb
2016-03-03 13:46:20 -05:00
Jon Coppeard 6f6aece93c Backed out changeset 818e0d0ecbcc (bug 1254108) for performance regression on splay 2016-03-09 15:37:22 +00:00
Till Schneidereit dc24ad50e8 Bug 1254968 - Add support for running JS builtins' constructors over Xray wrappers without unwrapping the newTarget. r=bholley,f=bz 2016-02-10 23:09:13 +01:00
Till Schneidereit f8c3aa8993 Bug 1254966 - Disambiguate JS Telemetry macro names. r=evilpie 2016-03-09 14:25:13 +01:00
Heiher 2d2692061c Bug 1254808 - IonMonkey: MIPS: Define JS_USE_LINK_REGISTER on MIPS. r=h4writer
---
 js/src/jit/MacroAssembler.h                           |  8 ++++----
 js/src/jit/SharedIC.cpp                               |  3 +--
 js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 14 ++++----------
 js/src/jit/mips32/Trampoline-mips32.cpp               |  7 +++++++
 js/src/jit/mips64/Trampoline-mips64.cpp               |  7 +++++++
 js/src/jit/shared/Assembler-shared.h                  |  3 ++-
 6 files changed, 25 insertions(+), 17 deletions(-)
2016-03-09 19:07:52 +08:00
Heiher bd60a663fc Bug 1254808 - IonMonkey: Factor MacroAssembler::popReturnAddress on ARM. r=nbp
---
 js/src/jit/CodeGenerator.cpp              | 2 +-
 js/src/jit/MacroAssembler.h               | 1 +
 js/src/jit/arm/MacroAssembler-arm.cpp     | 6 ++++++
 js/src/jit/arm64/MacroAssembler-arm64.cpp | 6 ++++++
 4 files changed, 14 insertions(+), 1 deletion(-)
2016-03-09 19:07:51 +08:00
Jon Coppeard 47819adf25 Bug 1254108 - Delay updating of GC trigger threshold until end of GC r=terrence 2016-03-09 10:15:10 +00:00
Nick Fitzgerald 8cdfc57103 Bug 1254105 - Avoid passing magic values to the error reporter machinery in the ShortestPaths testing function; r=jimb
The error reporting machinery will try and stringify any value you pass it, and
stringifying asserts that we don't pass magic values. Easiest solution is to
just hard code the error message, since this is a testing-only function.

--HG--
extra : rebase_source : d096a2cd2f697533279c5b33cbe5de3c5a2513a9
2016-03-08 16:33:00 +01:00
Terrence Cole f179579502 Bug 1224038 - Part 2: Use stable hashing for NewTable; r=sfink
--HG--
extra : rebase_source : 87d9e72f65e5ff7afc15d7a6062f789e9fbd9408
2016-01-22 10:41:43 -08:00
Terrence Cole f5c3cac3ba Bug 1224038 - Part 1: Add infallible versions of uid and hashcode getters; r=sfink
--HG--
extra : rebase_source : 5cc9c195abd671ce06ba196b7da7c7b8c29fde08
2016-01-22 10:41:39 -08:00
Hannes Verschore 6f6428dad2 Bug 1254528: IonMonkey - Check slot before removing load with value of store, r=nbp 2016-03-09 02:22:17 -05:00
Jim Blandy 629fcdc697 Bug 1254384: Remove support for ion-eager, baseline-eager, and dump-bytecode from js/src/jit-test harness. r=nbp
--HG--
extra : rebase_source : acb308d6a2809744080f0d52d509083790a5d9dd
2016-03-07 18:23:10 -08:00
Jim Blandy b450cd68c7 Bug 1254384: Use generic shell switch syntax in js/src/jit-test tests. r=nbp
--HG--
extra : rebase_source : bc23497ccd5f42f80b44d45ea75e30e7dc5c6f29
2016-03-07 18:24:32 -08:00
Heiher 54ab7fb9f0 Bug 1254369 - IonMonkey: MIPS: Clean up broken assertions. r=arai
---
 js/src/jit/mips-shared/Lowering-mips-shared.cpp | 2 --
 1 file changed, 2 deletions(-)
2016-03-09 12:34:59 +08:00
Heiher 0d2e971cf1 Bug 1254369 - IonMonkey: MIPS: Fix ma_b(Register, Imm32, wasm::JumpTarget) missing. r=arai
---
 js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 3 +++
 1 file changed, 3 insertions(+)
2016-03-09 12:34:58 +08:00
Heiher 1c1b0ea281 Bug 1254369 - IonMonkey: MIPS: Fix header files missing in MacroAssembler. r=arai
---
 js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 2 ++
 js/src/jit/mips-shared/MacroAssembler-mips-shared.h   | 4 ++++
 js/src/jit/mips32/MacroAssembler-mips32.h             | 1 -
 js/src/jit/mips64/MacroAssembler-mips64.h             | 1 -
 4 files changed, 6 insertions(+), 2 deletions(-)
2016-03-09 12:34:57 +08:00
Terrence Cole 0037d3617c Backed out changset a701a038de28 (bug 1224038) for breaking SM tests.
--HG--
extra : rebase_source : c987969c08cb55ee76cf0a88fd60594ba22a766f
2016-03-08 20:06:49 -08:00
Terrence Cole 233d8e3b94 Backed out changeset 33a1af83a77f (bug 1224038) for breaking SM tests.
--HG--
extra : rebase_source : f28bbe20e879206562e01bc97d8f8317629043bc
2016-03-08 20:06:10 -08:00
Ryan VanderMeulen 0647ba5d93 Bug 1251855 - Adjust expected results if RELEASE_BUILD is set. r=bz
--HG--
extra : rebase_source : e42a352a0a3e50408e0e8e09e7594416bf26cd3d
2016-03-05 16:41:44 -05:00
Luke Wagner 51580c63a7 Bug 1253137 - Baldr: update encoding of memory access immediates (r=sunfish)
MozReview-Commit-ID: L4rMuB0VGxd

--HG--
extra : rebase_source : 2ddff129b277708d8ca4ee424e8e9ce3cc28bc01
2016-03-08 19:31:06 -06:00
Luke Wagner ced60ee7e8 Bug 1253137 - Baldr: update encoding of br_table branch targets (r=sunfish)
MozReview-Commit-ID: 8K2L3giOgNT

--HG--
extra : rebase_source : e822d78ba9e66cf2984e074e11c8e053442ef1fc
2016-03-08 19:31:03 -06:00
Terrence Cole 2c2a5c3fc6 Bug 956899 - Move and rename rust-alike Mutex to ExclusiveData; r=fitzgen
--HG--
rename : js/src/jsapi-tests/testMutex.cpp => js/src/jsapi-tests/testThreadingExclusiveData.cpp
rename : js/src/vm/Mutex.cpp => js/src/threading/ExclusiveData.cpp
rename : js/src/vm/Mutex.h => js/src/threading/ExclusiveData.h
extra : rebase_source : 7205e2bc1b085557113b9b61e2356cd53e6154a8
2016-03-03 11:15:53 -08:00
Terrence Cole a4aa15ddff Bug 1224038 - Part 2: Use stable hashing for NewTable; r=sfink
--HG--
extra : rebase_source : 03157a3dcd4b2f9eb26fd33cb7bdb9805bbcb5fb
2016-01-22 10:41:43 -08:00
Terrence Cole 8772e89937 Bug 1224038 - Part 1: Add infallible versions of uid and hashcode getters; r=sfink
--HG--
extra : rebase_source : e8fe5b27e89f31a61192025599fdeff4c3778e61
2016-01-22 10:41:39 -08:00
Boris Zbarsky 8db444c416 Bug 1254393. Take ownership of error reporting on the AutoEntryScript in nsXPCWrappedJSClass::CallMethod. r=bholley
There are several cases to consider in terms of where exceptions might come from
here:

1)  We could have an exception on the JSContext already when we set up the
AutoEntryScript.  In practice this does not happen, and once this change is made
we will add an assert to that effect in AutoJSAPI::InitInternal.  See bug 1112920.

2)  We could have an exception thrown by the XPCCallContext constructor, but it
never does that when initialized, as here, without a JSObject*.

3)  We can have an exception thrown by CallMethod itself, if the callee method
wants a JSContext or optional argc.  This patch switches that to using
CheckForException, which means it will behave exactly like exceptions thrown
from the actual implementation of the method we're calling in terms of how it's
reported and whether it's rethrown to callers, if any.

4)  We can have exceptions thrown various places (e.g. during argument and
retval/outparam conversions) after this point, but those are all under the scope
of the AutoScriptEvaluate, whose destructor will restore the JSContext state to whatever it
was when the AutoScriptEvaluate was created.  Since the AutoScriptEvaluate goes
out of scope before the AutoEntryScript does, there will be no dangling
exception on the JSContext at that point.

5)  We can have exceptions thrown by the actual method call.  Those are
reported, as needed, via CheckForException, and will continue to be so reported.

So in general there are two behavior changes here:

* We now treat the "callee wants JSContext or argc" case as the same as an
  exception from the callee, which is not what we used to do.

* If the object we're calling comes from an inner window whose outer window has
  been torn down, we will now correctly report the exception against that inner
  window.  Before this patch, what happend is that we would init the
  AutoEntryScript with the inner window, but FindJSContext would not find an
  nsIScriptContext on it (since its outer has been torn down), so we would use
  the safe JS context.  Then in xpc::SystemErrorReporter we would check for a
  window associated with the JSContext, not find one, check for an addon sandbox
  current compartment, see we're not in one, and then use the privileged junk
  scope for its error reporting.  The new setup in AutoJSAPI::ReportError checks
  for the current compartent being a window, which of course it is.
2016-03-08 17:21:40 -05:00
Boris Zbarsky 3e5ab54341 Bug 1254230 kinda-fix. Make sure to never send script errors with stacks attached to the console service if the associated windows have already had FreeInnerObjects called on them. r=bholley 2016-03-08 17:21:40 -05:00
Boris Zbarsky 81b9b7ac71 Bug 1254380 part 2. Go ahead and log the stack from our exception in AutoJSAPI::ReportException even if we don't have a window. r=bholley 2016-03-08 17:21:40 -05:00
Boris Zbarsky 3d39097c61 Bug 1254293. Fix dom::GetArrayIndexFromId to actually follow the spec for large indices (i.e. ones that don't fit in in int32_t). r=peterv 2016-03-08 17:21:40 -05:00
Mike Hommey 564de8ea0e Bug 1254410 - Include app-specific configure files according to --enable-application/--enable-project. r=chmanchester
Because --enable-application is the current way to do things, transpose
it to configure.py, but since --enable-application=js doesn't make
sense, make it an alias of a new --enable-project option.

This only partially moves --enable-application out of old-configure.in
because there are a lot of other things intertwined with it.
2016-03-09 09:23:27 +09:00
Luke Wagner 7d969808ef Bug 1253137 - Baldr: put exports object onto .exports field of instance object (r=sunfish)
MozReview-Commit-ID: 1OgqSFrJsE4
2016-03-07 16:03:04 -06:00
Luke Wagner 6d028662d6 Bug 1253137 - Baldr: add explicit function body count (r=sunfish)
MozReview-Commit-ID: ISyUFSin5Jg
2016-03-08 13:15:29 -06:00
Luke Wagner d86a46e938 Bug 1253137 - Baldr: fold if_else into if to match ml-proto (r=sunfish)
MozReview-Commit-ID: JdGRFVzGWbN
2016-03-08 13:15:09 -06:00
Luke Wagner a9eaaf6743 Bug 1253137 - Baldr: update br_table syntax to match ml-proto (r=sunfish)
MozReview-Commit-ID: FDassUgTtWL
2016-03-07 16:03:22 -06:00
Luke Wagner 1fb28161ef Bug 1253137 - Baldr: add nop placeholder for branch values (r=sunfish)
MozReview-Commit-ID: 8r3gtn8yoOS
2016-03-07 16:02:28 -06:00
Tooru Fujisawa 0ec9e41aa6 Bug 1254174 - Convert uncaught symbol to a descriptive string. r=jorendorff 2016-03-09 01:32:06 +09:00
Nicolas B. Pierron bd4c88439b Bug 1240521 - Fix the test case to ensure that oomAfterAllocation is defined. r=red 2016-03-08 14:22:47 +00:00
Nicolas B. Pierron a7ff33a68b Bug 1240521 - IonBuilder processSwitchEnd returns ControlStatus_Error on allocation errors. r=h4writer 2016-03-08 13:19:34 +00:00
Lars T Hansen 1996b83ba5 Bug 1248153 - Do not convert fp to int by cast. r=waldo
--HG--
extra : amend_source : 6eea6a7a9bf113efe43822423ad7d0ab542d94c7
extra : histedit_source : 63cd6daa497e79a01b7011bb5fb56e098104d00d
2016-03-04 14:18:06 +01:00
Lars T Hansen e4518bf50d Bug 1253216 - clean up the atomic ops ifdef nest. r=jorendorff
--HG--
extra : rebase_source : d3cb45edc0b495c3a8b779dc165f8a599835aa0f
extra : histedit_source : 005a644c952690935bbd4c65c81c374d00edbce9
2016-03-04 12:42:15 +01:00
Nicolas B. Pierron 26a262542c Bug 1247880 - Only remove MUrsh operands when the input of MUrsh is guaranteed to be unsigned. r=sunfish 2016-03-08 12:54:19 +00:00
Tom Schuster c944bcd13b Bug 1254349 - Remove unused error messages. r=mrrrgn 2016-03-08 13:49:47 +01:00
Benjamin Bouvier ed958075b5 Bug 1250195: In TypedObject.from, decide that the input is typed only if it's an array type; r=pnkfelix
MozReview-Commit-ID: K4Nsm37effY

--HG--
extra : rebase_source : c2d218155dd6c95501b746ce1ea686aaa4ffb35b
2016-03-07 13:51:31 +01:00
Jon Coppeard 00c6bf3687 Bug 1252329 - Fix test bustage on opt builds r=me 2016-03-08 11:26:15 +00:00
Jon Coppeard cc52e6234b Bug 1252329 - Fix interaction between AutoClearTypeInferenceStateOnOOM and compacting GC r=terrence 2016-03-08 10:15:09 +00:00
Jon Coppeard 5aca0e19f8 Bug 1253124 - Check return values in and around js::ValueToSourceForError r=jandem 2016-03-08 10:15:09 +00:00
Jan de Mooij 7c0005c288 Bug 1239813 - Add some asserts to IterateScripts to help us track down bug 1240231. r=sfink
--HG--
extra : rebase_source : fda66896860258cef25a2cba643c8a586d2a0a0e
2016-03-08 10:48:30 +01:00
Christoph Kerschbaumer 205c4c430e Bug 1254303 - Remove SEC_NORMAL from js/. r=sicking
MozReview-Commit-ID: JhPDn2yZE2g
2016-03-07 14:19:50 -08:00
Jim Blandy 228eb7525f Bug 1252453: make Debugger::slowPathOnLogAllocationSite apply a read barrier to Debugger objects. r=terrence
--HG--
extra : rebase_source : f2a64416c31366999f8d17e0795007380dbf742f
extra : amend_source : a2fbc17e6c80b675ec727e6f456327842016761a
2016-03-07 17:21:29 -08:00
Heiher 511c3a74c2 Bug 1250370 - IonMonkey: MIPS: Fix stack alignment checking in EmitBaselineEnterStubFrame. r=nbp
---
 js/src/jit/mips-shared/SharedICHelpers-mips-shared.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2016-03-08 14:45:19 +08:00
Mike Hommey 849ac02d19 Bug 1253553 - Move --enable-artifact-builds, --disable-compile-environment and --enable-build-backend to moz.configure. r=nalexander,r=chmanchester
Note I'm using raw primitives until patterns emerge and we decide on
some helpers.
2016-03-08 15:41:32 +09:00
Mike Hommey 9ac013d5cf Bug 1253502 - Move python virtualenv initialization to moz.configure. r=gps 2016-03-08 15:41:32 +09:00
Mike Hommey 74b4506047 Bug 1253203 - Move parts of configure.py into sandboxed moz.configure. r=nalexander,r=chmanchester
This moves all the reading mozconfig, finding autoconf, refreshing the
old configure, and running the old configure into sandboxed
moz.configure. This effectively bootstraps the sandboxed python configure.
2016-03-08 15:41:32 +09:00
Mike Hommey 5f47dbfbbd Bug 1253464 - Remove --enable-wrap-malloc/--with-wrap-malloc from js/src/old-configure.in. r=mshal
for the same reason as they were removed in bug 1080341 for the
top-level, and the additional reason that configure.py doesn't support
--enable and --with options with the same name.
2016-03-08 15:41:32 +09:00
Mike Hommey 29758f5f42 Bug 1250297 - Make python configure output config.status instead of old-configure doing it. r=gps
The nice side effect is that now we can have actual dicts for defines
and substs from the start, which simplifies so things, although it
requires adjustments to some unit tests.
2016-03-08 15:41:32 +09:00
Shu-yu Guo d617ebbc91 Bug 1250520 - Handle reporting DebuggeeWouldRun when the script has no filename. (r=fitzgen) 2016-03-07 17:50:43 -08:00
Wes Kocher 431033356f Backed out changeset 7f7f0a43f051 (bug 956899) for testThreadingExclusiveData failures CLOSED TREE
MozReview-Commit-ID: BHrjbFNJxfW

--HG--
rename : js/src/jsapi-tests/testThreadingExclusiveData.cpp => js/src/jsapi-tests/testMutex.cpp
rename : js/src/threading/ExclusiveData.cpp => js/src/vm/Mutex.cpp
rename : js/src/threading/ExclusiveData.h => js/src/vm/Mutex.h
2016-03-07 14:31:24 -08:00
Jakob Olesen 7d10d8fcb4 Bug 1252927 - SIMD: Truncate before range check. r=sunfish
Fix this both in the VM and the x86 JIT.

MozReview-Commit-ID: IsKyDJUN6tk
2016-03-07 14:26:40 -08:00
Terrence Cole 2816df42d5 Bug 956899 - Move and rename rust-alike Mutex to ExclusiveData; r=fitzgen
--HG--
rename : js/src/jsapi-tests/testMutex.cpp => js/src/jsapi-tests/testThreadingExclusiveData.cpp
rename : js/src/vm/Mutex.cpp => js/src/threading/ExclusiveData.cpp
rename : js/src/vm/Mutex.h => js/src/threading/ExclusiveData.h
2016-03-03 11:15:53 -08:00
Jonathan Watt fea223341b Bug 1253094, part 4 - Stop using DebugOnly for class/struct members in js/. r=billm
MozReview-Commit-ID: mBuo3b34dR
2016-02-26 15:52:07 +00:00
Tooru Fujisawa 418a892902 Bug 1253847 - Do not count the skipped EOL inside template literal. r=jorendorff 2016-03-08 01:27:26 +09:00
Luke Wagner 56cf5fe802 Bug 1253877 - Baldr: cast -1 to uint8 to avoid 'shifting negative' error on CLOSED TREE (r=bustage)
MozReview-Commit-ID: 8CYGVBxTpsg
2016-03-07 09:56:34 -06:00
Luke Wagner 4b64ae2ba8 Bug 1253137 - Baldr: switch {i32, i64}.const to SLEB128 (r=sunfish)
MozReview-Commit-ID: uTHr1bhusl

--HG--
extra : rebase_source : 3c91120073a25136065572e5757f160eb0e64fe8
2016-03-07 09:07:39 -06:00
Luke Wagner 71d60b9098 Bug 1253877 - Baldr: print missing text labels in resolving phase (r=mbx)
MozReview-Commit-ID: EWXT88havql

--HG--
extra : rebase_source : 558fdcc5a33998035c8b9e61faf92bf64d45203e
2016-03-07 09:07:39 -06:00
Jason Orendorff d21cf14964 Bug 991016 - Check return value of a setDelegate call. r=efaust.
--HG--
extra : rebase_source : 052f55b4d10dc2a266b8cff6f94740e92b431624
2016-03-04 12:27:17 -06:00
Jason Orendorff ed98c1bc4b Quick follow-up to bug 1251225 to fix a possibly overflowing left shift (found by Coverity, rs=h4writer on irc)
--HG--
extra : rebase_source : 59744e277f46584716e50379a637b97dccb90a75
2016-03-04 11:26:36 -06:00
Benjamin Bouvier 837be7217a Bug 1254131: Fix non-unified wasm build. r=luke
MozReview-Commit-ID: 3TO17DGdk1K

--HG--
extra : amend_source : 83074b90afdc4f4647850ffc45c44de6ab981822
2016-03-07 16:06:26 +01:00
Luke Wagner 6e1a0154ca Bug 1253137 - Baldr: use length+bytes instead of c-strings (r=sunfish)
MozReview-Commit-ID: 1GYHSyxx6n1
2016-03-06 17:46:23 -06:00
Luke Wagner c4ff9aece7 Bug 1253137 - Baldr: pass around Bytes instead of Bytecode/UniqueBytecode (r=sunfish)
MozReview-Commit-ID: 5RzN8IwDc7C
2016-03-06 17:46:23 -06:00
Luke Wagner a1da5ec894 Bug 1253137 - Baldr: switch local array to local entry array (r=sunfish)
MozReview-Commit-ID: HUdKHzTuLqo
2016-03-06 17:46:22 -06:00
Luke Wagner 03b7302b4c Bug 1253884 - Baldr: fix parsing of (f32.const -0) (r=sunfish)
MozReview-Commit-ID: DEDehyShLqw
2016-03-06 17:46:22 -06:00
Luke Wagner 22efc12d22 Bug 1253115 - Ion: include asm.js load/store offset in GVN (r=sunfish)
MozReview-Commit-ID: K9WS44YIBi
2016-03-06 17:46:22 -06:00
Luke Wagner 742454baa7 Bug 1246116 - Baldr: make the wasm br_table limit match asm.js (r=bbouvier)
MozReview-Commit-ID: Ap31iL2aLRG
2016-03-06 17:46:22 -06:00
Till Schneidereit ea83fe5829 Bug 1246929 - Skip installing functions and properties on builtins for the self-hosting global. r=Waldo
Also remove the JSPROP_DEFINE_LATE hack that's now redundant
2016-02-10 23:09:13 +01:00
Till Schneidereit 00c5770f4e Bug 911216 - Part 2: Add self-hosting intrinsic for calling wrapped functions without wrapper security checks. r=efaust,bholley 2016-02-10 23:09:12 +01:00
Till Schneidereit 4904f5e8c3 Bug 1232639 - Implement Object.{values,entries} in C++ to avoid native call overhead in tight loop. r=jorendorff 2016-03-06 21:12:39 +01:00
Ryan VanderMeulen 599f2304e0 Merge m-c to inbound. a=merge 2016-03-05 19:30:51 -05:00
Ryan VanderMeulen 4a074fc4a6 No bug - Add guards to tests that use TypedObject. r=me, a=bustage 2016-03-05 19:19:25 -05:00
Luke Wagner dee8f1789c Bug 1253137 - Baldr: switch from expression-count to function body byte size (r=sunfish)
MozReview-Commit-ID: KcbWjViZAM6
2016-03-04 18:43:00 -06:00
Luke Wagner 08ad2796af Bug 1253137 - Baldr: switch to bottom-up validation in Wasm.cpp (r=sunfish)
MozReview-Commit-ID: 8Ml0V6RcoSR
2016-03-04 18:42:57 -06:00
Luke Wagner fd73ec9670 Bug 1253137 - Baldr: remove expected type from WasmIonCompile.cpp (r=sunfish)
MozReview-Commit-ID: 7WM8Age7IP4
2016-03-04 18:42:54 -06:00
Luke Wagner a6c7340e06 Bug 1246116 - Baldr: remove two timeout tests until there is a good way to make them not fail on platforms without wasm (arm64) (r=red)
MozReview-Commit-ID: JM9Iav7kMpE
2016-03-04 22:31:28 -06:00
Benjamin Bouvier 577d0af387 Bug 1246116: Wire BrTable in wasm and add a bunch of tests; r=sunfish
MozReview-Commit-ID: 7sw9zUD44OW
2016-03-04 12:35:34 +01:00
Morgan Phillips d95ecfa483 Bug 1245877 - Expose error message names via the debugger object; r=jorendorff
--HG--
extra : rebase_source : 87a2c2f682285048be1c57c280f4e3af48b9d524
2016-03-04 12:21:57 -08:00
Dan Gohman 5cd7a418c8 Bug 1253681 - BaldrMonkey: Update to the current official opcode encodings. r=luke 2016-03-04 11:55:59 -08:00
Luke Wagner 83859a033b Bug 1253137 - Baldr: move ValType/ExprType into WasmBinary.h and tidy up WasmBinary.h (r=sunfish)
MozReview-Commit-ID: CmrBq8Czgq
2016-03-05 17:45:56 -06:00
Luke Wagner 4225ad873e Bug 1253137 - Baldr: change wasmEvalText/Wasm.instantiateModule to return/take a typed array view instead of buffer (r=sunfish)
MozReview-Commit-ID: B7nfiAeOS7G
2016-03-05 17:45:54 -06:00
Luke Wagner 81c9e3d47f Bug 1253137 - Baldr: move local definitions into the body (r=sunfish)
MozReview-Commit-ID: KuAIrpdP2ND
2016-03-05 17:45:52 -06:00
Morgan Phillips 46f9414ab1 Bug 932080 - Support default values in destructuring; r=jorendorff 2016-03-05 12:51:38 -08:00
Brian Hackett 91809911f5 Bug 1247832 - Adjust framePushed value in unboxed array baseline IC failure path, r=jandem. 2016-03-04 16:09:44 -07:00
Brian Hackett 702cec82e2 Bug 1246132 - Improve register allocation speed on large functions, r=sunfish. 2016-03-04 15:59:29 -07:00
Tooru Fujisawa 7b6d747c4a Bug 1249960 - Rename Int32Key to RegisterOrInt32Constant, branchKey to branch32, storeKey to store32, bumpKey to inc32 and dec32. r=nbp 2016-03-05 07:41:54 +09:00
Tooru Fujisawa f865bb4b1c Bug 1249961 - Rename MacroAssembler::branchEqualTypeIfNeeded to MacroAssembler::maybeBranchTestType. r=nbp 2016-03-05 07:41:54 +09:00
Luke Wagner 472f72f375 Bug 1253137 - Baldr: move module generator constants back to WasmBinary.h (r=bustage)
MozReview-Commit-ID: 5s8mebcyotd

--HG--
extra : rebase_source : eddbbc14ffc652b8b5567075a9990aebe7e24a57
2016-03-04 11:28:01 -06:00
Luke Wagner 12ecf44921 Bug 1253137 - Baldr: make all the section-ids match and remove c-string labels not in BinaryEncoding.md (r=sunfish)
MozReview-Commit-ID: HlKooMckgX3
2016-03-04 11:03:21 -06:00
Luke Wagner ddad2020aa Bug 1253137 - Baldr: fix unknown-section handling (r=sunfish)
MozReview-Commit-ID: 9R4S8OlxAbZ
2016-03-04 11:03:21 -06:00
Luke Wagner be6c0cc02e Bug 1253137 - Baldr: update memory exports to match BinaryEncoding.md (r=sunfish)
MozReview-Commit-ID: 1khJ98KmHAe
2016-03-04 11:03:21 -06:00
Dan Gohman 9c71171524 Bug 1253115 - BaldrMonkey: Implement initial load/store offset support. r=luke 2016-03-04 07:57:29 -08:00
Dan Gohman 002af502b8 Bug 1253115 - BaldrMonkey: Refactor AsmJS load/store infrastructure. r=luke 2016-03-04 07:57:29 -08:00
Dan Gohman f4a78c455d Bug 1253115 - BaldrMonkey: Convert AsmJSHeapAccess offsets to unsigned. r=luke 2016-03-04 07:57:28 -08:00
Nicolas B. Pierron 144d71306c Backed out changeset b4300d783a34 (Bug 1239075) for 12.5% Octane-crypto regression. r=awfy 2016-03-04 13:17:37 +00:00
Jan de Mooij 6d2aa215c1 Bug 1252432 part 3 - Implement wasm i64.trunc_s and i64.trunc_u. r=sunfish 2016-03-04 13:57:44 +01:00
Jan de Mooij ef8908be86 Bug 1252432 part 2 - Implement wasm i64.extend_s and i64.extend_u. r=bbouvier 2016-03-04 13:57:44 +01:00
Jan de Mooij 650c312c86 Bug 1252432 part 1 - Implement wasm i32.wrap. r=luke 2016-03-04 13:57:44 +01:00
Dan Gohman 62b2b45ac6 Bug 1246116 - BaldrMonkey: Wasm validation for block and loop. r=luke
MozReview-Commit-ID: KSfRmwPH1Im

--HG--
extra : rebase_source : bc4e91c36b6e47672bce7589d74a3178f6af9fa7
2016-03-04 12:36:57 +01:00
Benjamin Bouvier 9274d1bf53 Bug 1246116: Translate AsmJS loops into wasm opcodes and implement Wasm loops; r=luke
MozReview-Commit-ID: IwqlKfxoRIJ

--HG--
extra : rebase_source : 3dc7a9ca4d85f9d82a507139fc190865deb0293d
2016-03-04 12:36:09 +01:00
Nick Fitzgerald 72bc9f217b NO BUG - Do not print diagnostics messages by default in js/src/jsapi-tests/testMutex.cpp on a CLOSED TREE; r=me 2016-03-03 19:24:30 -08:00
Jeff Walden ded8a8e9ad Bug 1247140 - Use mozilla::BinarySearch{,If} for more manual binary searches in SpiderMonkey. r=jandem
--HG--
extra : rebase_source : d8f9649ae5dd068c936df971c3ce5000d4decd2e
2016-02-16 16:15:20 -08:00
Jim Blandy abf647c38c Bug 1252154: Delay allocation metadata collection for inline typed objects. r=sfink
--HG--
extra : rebase_source : a30b4671796e967e44a7df4f859d4d27001d6458
extra : amend_source : c6a7fc9354aed37388489a6dc0a6b647cca0802d
2016-03-02 16:09:00 -08:00
Ms2ger bcb7636bd4 Bug 1253275 - Remove const_casts from Runtime.cpp. r=sfink
There doesn't seem to be any reason for them to exist.
2016-03-03 17:10:16 +01:00
Jim Blandy 159d69538f Bug 1250190: Make DebuggeeWouldRun checks not assume we always unlock before re-locking. r=fitzgen
--HG--
extra : rebase_source : 3d14ae5bfff214fca7edd9c5d5870ce11a686b3f
2016-03-02 11:09:40 -08:00
Steve Fink d23c9d730d Bug 1173447 - bustage fix followup
MozReview-Commit-ID: IsQ1EtCypX8

--HG--
extra : rebase_source : babc112fdee11d0aef8746d8c2b36d5c3120eb8c
2016-03-03 13:19:15 -08:00
Steve Fink b5689ee913 Bug 1173447 - Add test for incremental pre-barriers when storing things under roots, r=jonco
MozReview-Commit-ID: JHhu7oVJbXb

--HG--
extra : rebase_source : 5dd1044ff3d9843ef6312369907d690b6b407b70
2015-06-10 11:12:37 -07:00
Nathan Froyd bf2936fd66 Bug 1252075 - use UniquePtr instead of ScopedDeletePtr in testGCHeapPostBarriers; r=terrence 2016-03-02 21:04:33 -05:00
Luke Wagner b5a255ff58 Bug 1252498 - Baldr: add Wasm object behind pref, default off (r=jorendorff)
MozReview-Commit-ID: BlhrURAX26H

--HG--
extra : rebase_source : e1b540f06c2f3976f91242ac7b0b8ede29fbc5f2
2016-03-03 10:20:21 -06:00
Luke Wagner 7f219c93b8 Bug 1253137 - Baldr: update memory section to match BinaryEncoding.md, part 1 (r=sunfish)
MozReview-Commit-ID: EKCvmgPnLmv

--HG--
extra : rebase_source : c1a5649c9d1b56f76dbac4c1bf4f901046925b71
2016-03-02 21:48:05 -06:00
Luke Wagner db4afae271 Bug 1253137 - Baldr: update section header structure to match BinaryEncoding.md, part 2 (r=sunfish)
MozReview-Commit-ID: 5taHsbHpcSz

--HG--
extra : rebase_source : 08d474753438edaf020484eda5b026114b052abe
2016-03-02 21:48:05 -06:00
Luke Wagner 6e8a8bc910 Bug 1253137 - Baldr: update section header structure to match BinaryEncoding.md, part 1 (r=sunfish)
MozReview-Commit-ID: 41Yhj7esXsj

--HG--
extra : rebase_source : 9cccc3137c3b904221bd998ad772f3f91e1ba743
2016-03-02 21:48:05 -06:00
Luke Wagner dbe26fee42 Bug 1253137 - Baldr: update version uint32 to match BinaryEncoding.md (r=sunfish)
MozReview-Commit-ID: 7qGh9inzNmG

--HG--
extra : rebase_source : 97362a596b3c1ca7d17d6ad9f5e43f6a3c6e88cb
2016-03-02 21:48:04 -06:00
Nick Fitzgerald 472cf008c2 Bug 1251675 - Add a `Mutex<T>` type, based on Rust's `std::sync::Mutex<T>`. r=terrence, r=jimb
--HG--
extra : rebase_source : 0d428608f539bc07e8a451523637adc2a6f204ec
2016-03-02 11:50:00 -05:00
Nick Fitzgerald 67c2983eed Bug 1252912 - Ensure that we wrap the results of the shortestPaths JS shell testing function. r=jimb
--HG--
extra : rebase_source : 997441c17bb884a7edaf17e5ee83c17f15112253
2016-03-02 13:16:00 -05:00
Nick Fitzgerald 402e48074d Bug 1252713 - Fix FILES_PER_UNIFIED_FILE=1 bustage in js/. r=terrence
--HG--
extra : rebase_source : 9a57b0c1ed834adb4c3883c25052738481fc292c
2016-03-02 09:15:00 -05:00
Nicolas B. Pierron ef0e203acf Bug 1252326 - Reorder MacroAssembler flush functions to follow the header order. r=bbouvier 2016-03-03 13:58:49 +00:00
Nicolas B. Pierron 41843d829f Bug 1239075 - RangeAnalysis: Assume that all captured results are used in bailing branches. r=h4writer 2016-03-03 13:29:24 +00:00
Benjamin Bouvier 1552b4afb2 Bug 1252326: Flush the assembly buffer at the end of codegen for plateforms which need it; r=luke
MozReview-Commit-ID: CQyZ3eqiQIF

--HG--
extra : rebase_source : e160dc2e95d41e59b4721d8386af70aadd4ce150
2016-03-02 10:45:58 +01:00
Carsten "Tomcat" Book aea670cb76 Backed out changeset e68e5d3f9101 (bug 1253137) for windows jit failures
--HG--
extra : rebase_source : ea2e5493ea288ef622c10872139da481150b4d5a
2016-03-03 09:21:27 +01:00
Carsten "Tomcat" Book 4cd68779f3 Backed out changeset 196acfbcffbb (bug 1253137)
--HG--
extra : rebase_source : 109f6183c66696f4c7628c55fca21adebbb7bf75
2016-03-03 09:21:14 +01:00
Carsten "Tomcat" Book 6a28be1924 Backed out changeset 6705f67ab798 (bug 1253137)
--HG--
extra : rebase_source : 50109cbdf90d54c1b8d82374381680fec407bd07
2016-03-03 09:21:13 +01:00
Carsten "Tomcat" Book ae2683ef0c Backed out changeset 13ce4c5281ad (bug 1253137) for windows jit test failures
--HG--
extra : rebase_source : 0ae517599ad02a223b6253873bb5c1c1be0e446b
2016-03-03 09:20:37 +01:00
Tracy Walker b37ee8a848 Bug 1242643 - Fix and re-enable /js/xpconnect/tests/browser_dead_object.js by triggering onunload from new/added test page - /js/xpconnect/tests/browser_deadObjectOnUnload.html. Also remove skip-if and added appropriate file support statement to browser.ini r=jimm 2016-03-02 16:13:33 -06:00
Luke Wagner aa77e448b2 Bug 1253137 - Baldr: update memory section to match BinaryEncoding.md, part 1 (r=sunfish)
MozReview-Commit-ID: EKCvmgPnLmv
2016-03-02 21:48:05 -06:00
Luke Wagner 0edd0e532e Bug 1253137 - Baldr: update section header structure to match BinaryEncoding.md, part 2 (r=sunfish)
MozReview-Commit-ID: 5taHsbHpcSz
2016-03-02 21:48:05 -06:00
Luke Wagner e87faa365d Bug 1253137 - Baldr: update section header structure to match BinaryEncoding.md, part 1 (r=sunfish)
MozReview-Commit-ID: 41Yhj7esXsj
2016-03-02 21:48:05 -06:00
Luke Wagner cdd46d9e49 Bug 1253137 - Baldr: update version uint32 to match BinaryEncoding.md (r=sunfish)
MozReview-Commit-ID: 7qGh9inzNmG
2016-03-02 21:48:04 -06:00
Tooru Fujisawa bdc299e4bb Bug 1245112 - Part 36: Move MacroAssembler::branchPtrImpl into generic macro assembler. r=nbp 2016-03-03 08:03:45 +09:00
Tooru Fujisawa 4f0709e208 Bug 1245112 - Part 35: Move MacroAssembler::branchTestValue into generic macro assembler. r=jandem 2016-03-03 08:03:45 +09:00
Tooru Fujisawa 9623625a31 Bug 1245112 - Part 34: Move MacroAssembler::branchTestMagicValue into generic macro assembler. r=jandem 2016-03-03 08:03:45 +09:00
Tooru Fujisawa a9fc5b5c5d Bug 1245112 - Part 33: Move MacroAssembler::branchTestMagic into generic macro assembler. r=jandem 2016-03-03 08:03:45 +09:00
Tooru Fujisawa 10b768e864 Bug 1245112 - Part 32: Move MacroAssembler::branchTestPrimitive into generic macro assembler. r=jandem 2016-03-03 08:03:44 +09:00
Tooru Fujisawa 0652b1a05b Bug 1245112 - Part 31: Move MacroAssembler::branchTestGCThing into generic macro assembler. r=jandem 2016-03-03 08:03:44 +09:00
Tooru Fujisawa b420a5502e Bug 1245112 - Part 30: Move MacroAssembler::branchTestObject into generic macro assembler. r=sstangl 2016-03-03 08:03:44 +09:00
Tooru Fujisawa bd85550377 Bug 1245112 - Part 29: Move MacroAssembler::branchTestNull into generic macro assembler. r=sstangl 2016-03-03 08:03:44 +09:00
Tooru Fujisawa c28f9a8e4c Bug 1245112 - Part 28: Move MacroAssembler::branchTestSymbol into generic macro assembler. r=jorendorff 2016-03-03 08:03:43 +09:00
Tooru Fujisawa 00f20f2236 Bug 1245112 - Part 27: Move MacroAssembler::branchTestStringTruthy into generic macro assembler. r=sstangl 2016-03-03 08:03:43 +09:00
Tooru Fujisawa a8eb8e9f67 Bug 1245112 - Part 26: Move MacroAssembler::branchTestString into generic macro assembler. r=sstangl 2016-03-03 08:03:43 +09:00
Tooru Fujisawa def9d6fa38 Bug 1245112 - Part 25: Move MacroAssembler::branchTestUndefined into generic macro assembler. r=sstangl 2016-03-03 08:03:43 +09:00
Tooru Fujisawa cc5a80546b Bug 1245112 - Part 24: Move MacroAssembler::branchTestBooleanTruthy into generic macro assembler. r=sstangl 2016-03-03 08:03:43 +09:00
Tooru Fujisawa c0652fed25 Bug 1245112 - Part 23: Move MacroAssembler::branchTestBoolean into generic macro assembler. r=sstangl 2016-03-03 08:03:42 +09:00
Tooru Fujisawa 7a23ca6f2e Bug 1245112 - Part 22: Move MacroAssembler::branchTestNumber into generic macro assembler. r=bhackett 2016-03-03 08:03:42 +09:00