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

55799 Коммитов

Автор SHA1 Сообщение Дата
Luke Wagner 9105b9d2ea Bug 1284155 - Baldr: add 'elem' section to binary format (r=bbouvier)
MozReview-Commit-ID: G9u08kwrRS8

--HG--
extra : rebase_source : 98d571188e927641fd832390e72660dd9a04f549
2016-07-12 19:27:32 -05:00
Luke Wagner 298adc2c0c Bug 1284155 - Baldr: make Memory/Data more symmetric with Table/Elem (r=bbouvier)
MozReview-Commit-ID: Hu7LPSCJ0jc

--HG--
extra : rebase_source : 1d89de745f0d7bc39d8e88632cdbca21db298ce8
2016-07-12 19:27:32 -05:00
Luke Wagner 3522ad2a9f Bug 1284155 - Baldr: extract wasm::Table objects from the global data segment (r=bbouvier)
MozReview-Commit-ID: Cjl3w9MXxcA

--HG--
extra : rebase_source : 8e7feadedc0a9433e77004deecefc9b5f5bdade7
2016-07-12 19:27:14 -05:00
Luke Wagner b0e70d1eae Bug 1284155 - Baldr: remove temp register allocation on ARM/x64 AsmJSLoadFuncPtr (r=bbouvier)
MozReview-Commit-ID: KkRfKgG6DdC

--HG--
extra : rebase_source : c754b4b532354740209059beaa5b87cf0091a09c
2016-07-12 15:38:26 -05:00
Jeff Walden 06ee3b6f86 Bug 1174386 - Bustage fixes; things changed underneath me during the final rebase. :-( r=red in a CLOSED TREE 2016-07-12 17:21:05 -07:00
Arthur Edelstein 214a38a3e8 Bug 1174386 - Make workers inherit the default Intl locale from the main thread, rather than using a bogus fallback value. r=jwalden
--HG--
extra : rebase_source : bb58c75416d4942affef3617ec427b2745261cf3
2016-07-11 18:57:25 -07:00
Terrence Cole 22153855e2 Bug 1280591 - Assert if we try to add a poisoned root; r=sfink 2016-07-11 09:46:45 -07:00
Sander Mathijs van Veen 2203644e87 Bug 1276955 - Inline constructor of large typed arrays. r=jandem, r=Waldo 2016-07-12 08:37:00 -04:00
Luke Wagner 7dcec295d4 Bug 1286193 - Baldr: don't parse newFormat AST nodes when not newFormat (r=bbouvier)
MozReview-Commit-ID: 3RTr2yT95JF

--HG--
extra : rebase_source : 74694c25291ba76668e57d2ab2dd9df01085b1d4
2016-07-12 09:05:57 -05:00
Benjamin Bouvier 6024274c4a Bug 1285927: Strongly assert that there is no unhandled error in wasm decoding; r=luke
MozReview-Commit-ID: 19NwpqnCp5m

--HG--
extra : rebase_source : 44b4e87068f18ea33a36cf5067885c85ca507ab0
extra : histedit_source : 113d2c03a744ef5920fce888d73464f26167e561
2016-07-12 12:25:04 +02:00
Benjamin Bouvier f0cb96d197 Bug 1285927: Set wasm objects prototype only in the success path; r=luke
MozReview-Commit-ID: Il8v0XPLgoL

--HG--
extra : rebase_source : 6375ff77109c3a36665cbb55f6b86862baf961ab
extra : histedit_source : 2306ce63646ac60e26c57893d8d534aab3b3ca01
2016-07-12 12:24:40 +02:00
Benjamin Bouvier 2776cc85d4 Bug 1285934: Report an error in case of OOM in wasm::Eval; r=luke
MozReview-Commit-ID: A6Jw1O3tu2c

--HG--
extra : rebase_source : cfda63aed54b252113a6e735a787883e9d558783
extra : histedit_source : 227ec5e58afd008f1a0a06bdf3b223c5dad5f88a
2016-07-11 14:57:19 +02:00
Lars T Hansen 055641ba16 Bug 1286207 - make --disable-ion compile. r=nbp
--HG--
extra : rebase_source : 76fe24668abeb08dc78e1266f1854a7134b0bac4
extra : amend_source : b8f40421cbc84cec0375b986f3ed5f57875d9919
2016-07-12 14:03:30 +02:00
Nick Fitzgerald 28d0598039 Bug 1286095 - Assert that `JS::ubi::Concrete<T>` inherits from `JS::ubi::Base`; r=jimb 2016-07-11 17:30:00 +02:00
Tom Schuster 7bd3f26521 Bug 1285750 - Remove __defineGetter__/__defineSetter__ telemetry. r=Waldo 2016-07-12 11:08:12 +02:00
Carsten "Tomcat" Book 84989f0753 Backed out changeset bda8deb45e63 (bug 1271650) for hazard failures 2016-07-12 09:10:44 +02:00
Carsten "Tomcat" Book 131e83368d Backed out changeset bfa204468133 (bug 1271650) 2016-07-12 09:10:31 +02:00
Carsten "Tomcat" Book 8ed5d02b3a Backed out changeset 2879d03b9ce4 (bug 1271650) 2016-07-12 09:10:30 +02:00
Carsten "Tomcat" Book b2adeea93a Backed out changeset b1f55b62daef (bug 1271650) 2016-07-12 09:10:29 +02:00
Carsten "Tomcat" Book 643583a587 Backed out changeset c374964ed8db (bug 1271650) 2016-07-12 09:10:28 +02:00
Eddy Bruel 199b17c66b Bug 1271650 - Implement a C++ interface for DebuggerFrame.implementation;r=fitzgen 2016-07-12 06:45:48 +02:00
Eddy Bruel 7f2fb4210b Bug 1271650 - Implement a C++ interface for DebuggerFrame.type;r=fitzgen 2016-07-12 06:45:48 +02:00
Eddy Bruel c106f22150 Bug 1271650 - Implement a C++ interface for DebuggerFrame.getOlder;r=fitzgen 2016-07-12 06:45:48 +02:00
Eddy Bruel ccd0efd79a Bug 1271650 - Implement a C++ interface for DebuggerFrame.getOffset;r=fitzgen 2016-07-12 06:45:48 +02:00
Eddy Bruel a277ee33de Bug 1271650 - Implement a C++ interface for DebuggerFrame.isLive;r=fitzgen 2016-07-12 06:45:47 +02:00
Wes Kocher 2d88ea542c Backed out changeset 27054f5883df (bug 1282944) for jsreftest failures CLOSED TREE 2016-07-11 17:54:16 -07:00
Wes Kocher 5ca0c64a7a Backed out changeset fab721467f68 (bug 1199296) for breaking lots of tests, including SM tests CLOSED TREE 2016-07-11 16:42:12 -07:00
Michael Smith d62989d9eb Bug 1282944 - Link excess lazy builders immediately, instead of throwing them away. (r=h4writer) 2016-07-11 14:45:02 -07:00
Eric Faust ff5887ef18 Bug 1199296 - Don't allow method definitions to be legacy generators. (r=shu) 2016-07-11 14:45:00 -07:00
Steve Fink 6eaee4fec1 Bug 1283911 - Convert autospider.sh to autospider.py, and switch to using JSON for the variants files, r=terrence
MozReview-Commit-ID: mH0JViAB6r

--HG--
extra : transplant_source : lC%B6%F8PV%CDb%DBqD%A0%01%B1Q.%A2%21%FD%AF
extra : histedit_source : 4743781db9dda61f17068b21c907fda835b348f7
2016-06-30 15:38:00 -07:00
Steve Fink 87e914a089 No bug. Comment TracerKindTag values. r=me, a=DONTBUILD
MozReview-Commit-ID: EJbBTKpQgNo

--HG--
extra : transplant_source : K%26%27X%D3/%AD%AC%DF%E3%BE%9CG5%90%FA%A9%0E%7F%0F
extra : histedit_source : db0dc1c5815b8eccaedb369a3b9c3ea01c2b25ea
2016-06-17 01:46:51 +01:00
Steve Fink ef2b29f031 Bug 1283914 - Remove now-unnecessary hazard analysis annotations, r=terrence
--HG--
extra : rebase_source : e69c049cbdfdac3200317ec1aa24587de097cdd6
extra : histedit_source : e14fd18c9462833f70c12980c77b4b71e83e8f14
2016-06-03 13:11:19 -07:00
Jan de Mooij 9a3db3c861 Bug 1283855 part 4 - Make localization APIs take JSContext instead of JSRuntime. r=terrence 2016-07-11 18:46:56 +02:00
Jan de Mooij 145316f997 Bug 1285490 - Fix activeGCInAtomsZone to handle the pre-barrier verifier correctly. r=terrence 2016-07-11 18:46:28 +02:00
ojab f013ea8b9c Bug 1284198 - Don't USE_CLOCK_API on macOS. r=terrence
macOS 10.12 like Android has clock functions, but not pthread_condattr_setclock
2016-07-04 01:29:00 +02:00
Rajinder Yadav 3131ca045e Bug 818617 - Number.prototype.{toPrecision,toExponential} should accept out-of-range input for NaN/Infinity. r=arai 2016-07-10 14:47:00 +02:00
Boris Zbarsky d7dcc1d4c7 Bug 1275315 followup. Actually include all the headers we need, to fix non-unified builds. r=bustage 2016-07-09 01:52:42 -04:00
Boris Zbarsky efc4dcf284 Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv 2016-07-09 00:19:52 -04:00
Boris Zbarsky 4eb8d252a4 Bug 1275315 part 1. Add a Realm.h that defines getters for some standard prototype objects. r=waldo 2016-07-09 00:19:50 -04:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Boris Zbarsky 5d3ead1816 Bug 1281061. Do an atom equality compare instead of a string compare on the script filename string in SavedFrame::isSelfHosted. r=fitzgen 2016-07-08 22:53:53 -04:00
Luke Wagner c999164b02 Bug 1284155 - add #include to silence 32-bit unified compiler warning (r=me)
MozReview-Commit-ID: 9UQM63cfVSU

--HG--
extra : rebase_source : fbea588f641a204e08e054a8975f838709cad235
2016-07-08 18:49:46 -05:00
Nick Fitzgerald f05a7e46e3 Bug 1285074 - Add `perror` calls when pthread locking fails; r=terrence 2016-07-08 15:48:48 -07:00
Benjamin Bouvier 6b289d22cc Bug 1285522: Don't DCE opcodes which can throw exceptions at runtime; r=sunfish
MozReview-Commit-ID: 6TppTpNJ1Kx

--HG--
extra : rebase_source : 016b7055f664ff69a274454218818cc796c8b4be
2016-07-06 18:26:21 +02:00
Benjamin Bouvier 2d3673925f Bug 1283177: Tests; r=sunfish
MozReview-Commit-ID: FsYtHRpiYVD

--HG--
extra : rebase_source : 9a330aa0a6940ca09656049b4782ee0cdf4c9838
2016-07-08 13:07:11 +02:00
Benjamin Bouvier 146579c57f Bug 1283177: Add int64 load/store support to BaselineCompiler; r=lth
MozReview-Commit-ID: 5F84ghdEIWR

--HG--
extra : rebase_source : 5b4e8150a98f88af7d1450921ced8f9637cf21ec
2016-07-08 12:57:53 +02:00
Benjamin Bouvier e336dd73f0 Bug 1283177: wasm: Implement int64 load/stores on x64; r=sunfish
MozReview-Commit-ID: DJ1bEsHL3Jq

--HG--
extra : rebase_source : ec3c89985e8497e5c6c56c2820a3e76508a01214
2016-07-08 09:34:00 +02:00
Benjamin Bouvier 58b7139b42 Bug 1283177: Add Scalar::Int64; r=luke
MozReview-Commit-ID: CdE4M6dSvT8

--HG--
extra : rebase_source : c45a79c25994e612316fe1912824252c9526b133
2016-07-08 13:03:54 +02:00
Luke Wagner cb10757a14 Bug 1284155 - Baldr: hoist ElemSegment out of static link data (r=bbouvier)
MozReview-Commit-ID: FbdOer3SI5r

--HG--
extra : rebase_source : 5ae1e692a328fa19896559f8238d237b9cc29c65
2016-07-08 14:45:39 -05:00
Luke Wagner 9133d68cc4 Bug 1284155 - Baldr: consolidate instantiation code in Module::instantiate (r=bbouvier)
MozReview-Commit-ID: xFc5PQIbJ5

--HG--
extra : rebase_source : b45bc377dbd44106de74c257714e483cc36e5622
2016-07-08 14:45:39 -05:00
Luke Wagner 1aca4ab5d1 Bug 1285438 - Baldr: require memory is imported/defined if exported (r=bbouvier)
MozReview-Commit-ID: EL7kuYSxgXL

--HG--
extra : rebase_source : cc05824eb2fb60f2a68376f8892e7d70eae34e2e
2016-07-08 14:45:39 -05:00
Luke Wagner 0989d51119 Bug 1285438 - Baldr: remove magic empty string export logic (r=bbouvier)
MozReview-Commit-ID: 5FgMIQiBozj

--HG--
extra : rebase_source : 86b0b12e7618f950c576b5e77d47cd0abf613d0b
2016-07-08 14:45:39 -05:00
Luke Wagner e6f8caae67 Bug 1284155 - Baldr: allow data segments outside any memory definition (r=bbouvier)
MozReview-Commit-ID: B9QQLBvIVOs

--HG--
extra : rebase_source : 2e96bd2b7beb709e04f7ea5fdabec1736683efb1
2016-07-08 14:45:39 -05:00
Luke Wagner 5f945ff054 Bug 1284155 - Baldr: allow modules to import WebAssembly.Memory (r=bbouvier)
MozReview-Commit-ID: 7gTCgUdw77Z

--HG--
extra : rebase_source : 4bef7f6f59c3cce8364f90814b92c1bed1e1eae1
2016-07-08 14:45:21 -05:00
Luke Wagner 8b32482d6e Bug 1284155 - Baldr: rename some types and fields to better reflect reality (r=bbouvier)
MozReview-Commit-ID: 4SPnPdQ3W6b

--HG--
extra : rebase_source : d7d7ef489f912425fddcdcfcd82b0440635f73db
2016-07-08 12:42:26 -05:00
Jeff Walden e31f6d7722 Bug 1285652 - Instantiate two member functions of JS::ubi::TracerConcrete<js::ObjectGroup> to fix ARM 32-bit simulator on OS X compile errors. r=sfink, f=gkw
--HG--
extra : rebase_source : 56d03a743ca87fc56909b3db471f5033b6c3ded4
2016-07-08 13:51:57 -07:00
Jan de Mooij a877b2bc01 Bug 1278265 - Give each JS shell thread its own SPS pseudo stack to avoid races. r=sfink 2016-07-08 17:31:30 +02:00
Jan de Mooij cae841f134 Bug 1281759 - Try to work around mysterious AMD crashes. r=sunfish 2016-07-08 17:30:30 +02:00
Jon Coppeard d59fd8b80f Bug 1284388 - Check shape table consistency in debug builds r=terrence 2016-07-08 10:17:08 +01:00
Makoto Kato d2841a5865 Bug 1284206 - Update VIXL to 1.11. r=sstangl
MozReview-Commit-ID: BUBOPBe8b6M
2016-07-08 17:56:30 +09:00
Benjamin Bouvier 3ce0700825 Bug 1268024: Force triggering a GC after creating a mmapped array; r=luke
MozReview-Commit-ID: 1tRLdOhVqBx

--HG--
extra : rebase_source : 55a0089fcb056c002a1c2f8dd9d16d74298fd15e
2016-07-07 16:25:58 +02:00
Benjamin Bouvier a61eb3acbb Bug 1268024: Tests; r=luke
MozReview-Commit-ID: 2AlSN0sQck3

--HG--
extra : rebase_source : f1a644adbb7bc606a1511f935d5c4bd563c002e5
2016-06-29 18:36:21 +02:00
Benjamin Bouvier 607a6490d3 Bug 1268024: Baldr: implement WasmBoundsCheck/Load/Store and semantics; r=luke, r=sunfish
MozReview-Commit-ID: 7UOAz6OvNOO

--HG--
extra : rebase_source : 140121cd3297d65c954a1877fea479c7d6077633
2016-07-06 16:29:03 +02:00
Benjamin Bouvier df55ce4a13 Bug 1268024: Minimal signal handling features to catch and reject SIGBUS; r=luke, r=sunfish
MozReview-Commit-ID: 5S2SQdoyRFE

--HG--
extra : rebase_source : 5c7495d615d09a2826eea1338c0c1931b0b588bb
2016-07-05 15:55:53 +02:00
Nick Fitzgerald 6300cda66b Bug 1285302 - Add a note describing why 'JS::ubi::Size' is not size_t. r=jimb 2016-07-07 11:36:00 -04:00
sk aac6f76e6f Bug 1271565 - Add autoflush icache for aarch64 target. r=sstangl 2016-07-08 09:05:32 +08:00
Boris Zbarsky 0184b4df38 Bug 1282150 part 6. Get rid of GetSafeJSContext. r=bholley 2016-07-07 20:08:26 -04:00
Boris Zbarsky 4f728ae258 Bug 1278608. Just bail out of mozJSComponentLoader::LoadModule if it's called on a non-main thread. r=bholley 2016-07-07 20:08:25 -04:00
Terrence Cole a108e8a45b Bug 1285034 - Do not create a null reference when tracing; r=jonco
--HG--
extra : rebase_source : 7bdadf765e50ca7efedfc082c01ad49340a42bf4
2016-07-07 08:59:34 -07:00
Terrence Cole f4e9725b67 Bug 1285032 - Do not try to memcpy a nullptr; r=shu
--HG--
extra : rebase_source : 00f9ba28f2c11b2ac979c6e15dac633d281478c5
2016-07-07 08:58:51 -07:00
Terrence Cole f7ef937a46 Bug 1284977 - Use a properly aligned poison value; r=jandem
--HG--
extra : rebase_source : 29869ed039db1ea7febc5d73b8cc2e0469282167
2016-07-07 08:58:30 -07:00
Jeff Walden aaeb46f1ff Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb
--HG--
extra : rebase_source : b552346c5b2b3a5d32ca513efd45356fe94f3abd
2016-07-05 17:41:12 -07:00
Gregory Szorc cfa966452b Merge mozilla-central into inbound 2016-07-07 11:30:37 -07:00
Benjamin Bouvier 8b310fb817 Bug 1284913: Check calls to MoveResolver::addMove/resolve in a jsapi test; r=nbp
MozReview-Commit-ID: 3qCKQaAjsxa

--HG--
extra : rebase_source : de13e3a43cbe2c649c599a4f162b08252f82526a
2016-07-06 17:59:36 +02:00
Jan de Mooij a53a99aab6 Bug 1284808 - Rename RuntimeOptions to ContextOptions and move it to the context. r=luke,baku
--HG--
extra : rebase_source : acd82642a27b36b98bf1bf34c29d33c7e0b57dea
2016-07-07 08:15:15 +02:00
sk 64bd37fc9e Bug 1284786 - Fix arm64 simulator build failures. r=bbouvier
--HG--
extra : rebase_source : 907dc3e4257407f5c1b9854fd0d4dd7aa42bb3c3
2016-07-06 00:19:00 -04:00
Ryan VanderMeulen a4c9bb330a Backed out changeset 9d60e3945663 (bug 1284786) for spidermonkey style violations on a CLOSED TREE. 2016-07-07 00:11:29 -04:00
sk 0e0d616ad4 Bug 1284786 - Fix build errors with --enable-simulator=arm64. r=bbouvier 2016-07-06 00:19:00 +02:00
sk 08be512742 Bug 1284784 - implement "void br(Instruction* at, const Register& xn)". r=sstangl 2016-07-06 00:06:00 +02:00
Chris Peterson 2b3b60f7b1 Bug 1277155 - Part 1: Remove snprintf() polyfills for VS2013 in Sprintf.h and #defines. r=froydnj r=mhowell 2016-06-27 20:45:03 -07:00
Gregory Szorc f21ec324a6 Merge mozilla-central to mozilla-inbound 2016-07-06 18:30:58 -07:00
Luke Wagner 05efa7019c Bug 1284155 - Baldr: add initial pieces of WebAssembly.Memory API (r=bbouvier)
MozReview-Commit-ID: 2Mqno0kK7XP
2016-07-06 18:40:35 -05:00
Luke Wagner 3b013f05e0 Bug 1284155 - Baldr: store prototypes in GlobalObject with JSProtoKey (r=bbouvier)
MozReview-Commit-ID: Bph3UL3rab5
2016-07-06 18:40:35 -05:00
Luke Wagner 44fd25a7ec Bug 1284155 - Baldr: rename 'heap' to 'memory' to better match wasm terminiology (r=bbouvier)
MozReview-Commit-ID: 8IQta6uCaKh
2016-07-06 18:40:35 -05:00
Luke Wagner fbeece22fc Bug 1284155 - Baldr: add 'newFormat' binary encoding flag (r=sunfish)
MozReview-Commit-ID: JvHGfetLQjT
2016-07-06 18:40:35 -05:00
Gregory Szorc 5030a743a1 Bug 1186064 - Require Visual Studio 2015 Update 2; r=glandium
Per froydnj in bug 1186064 comment #23, "it makes sense to proceed with removing
MSVC 2013 support." This commit does that.

We also go a step further and require VS2015 Update 2 instead of just
update 1. This temporarily brings us down to just 1 officially supported
Visual Studio version. However, VS2015u3 was just released and is
unofficially supported.

Since MOZ_CRT is no longer set, references to it have been removed.

MozReview-Commit-ID: 8MUR6qLzQA5

--HG--
extra : rebase_source : 8f5061080a3d56dd484f9be03649fb65f0145f67
2016-07-06 09:01:38 -07:00
Wes Kocher a425a052c1 Backed out changeset d7f98208809f (bug 1186064) for breaking SM(pkg) jobs a=backout 2016-07-06 10:11:04 -07:00
Jan de Mooij ea775f40f5 Bug 1283855 part 21 - Make performance monitoring APIs take JSContext instead of JSRuntime. r=Yoric 2016-07-06 16:53:50 +02:00
Gregory Szorc 6e4d0edfbc Bug 1186064 - Require Visual Studio 2015 Update 2; r=glandium
Per froydnj in bug 1186064 comment #23, "it makes sense to proceed with removing
MSVC 2013 support." This commit does that.

We also go a step further and require VS2015 Update 2 instead of just
update 1. This temporarily brings us down to just 1 officially supported
Visual Studio version. However, VS2015u3 was just released and is
unofficially supported.

Since MOZ_CRT is no longer set, references to it have been removed.

MozReview-Commit-ID: 8MUR6qLzQA5

--HG--
extra : rebase_source : 22ab4f47661ead4995d0c5261104abfb02b82aa2
2016-07-06 09:01:38 -07:00
Sebastian Hengst cfa0d595fb Backed out changeset 2620e5ba1067 (bug 1282795) for 'Concrete' redeclaration in HeapSnapshot.h (static failure). r=backout 2016-07-07 19:26:27 +02:00
Jeff Walden ccddc5c404 Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb
--HG--
extra : rebase_source : 967291d2bb028a379fcf1217ef8b116af5122cad
2016-07-05 17:41:12 -07:00
Eddy Bruel ff05174bfa Bug 1271650 - Implement a C++ interface for DebuggerFrame.isGenerator;r=fitzgen 2016-07-07 11:36:17 +02:00
Eddy Bruel 38828ee358 Bug 1271650 - Implement a C++ interface for DebuggerFrame.getEnvironment;r=fitzgen 2016-07-07 11:36:17 +02:00
Eddy Bruel d4e4255ecb Bug 1271650 - Implement a C++ interface for DebuggerFrame.getIsConstructing;r=fitzgen 2016-07-07 11:36:17 +02:00
Eddy Bruel 700414fbbe Bug 1271650 - Implement a C++ interface for DebuggerFrame.getCallee;r=fitzgen 2016-07-07 11:36:17 +02:00
Eddy Bruel 8151882f34 Bug 1271650 - Implement a DebuggerFrame class;r=fitzgen 2016-07-07 11:36:16 +02:00
Jan de Mooij 900af968f3 Bug 1283855 part 28 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence
--HG--
extra : rebase_source : c2d35b5d45cad074b9a9a144bc25ea4a32b8b246
2016-07-07 09:56:09 +02:00
Jan de Mooij 7ec38687c8 Bug 1283855 part 27 - Make more GC APIs take JSContext instead of JSRuntime. r=jonco
--HG--
extra : rebase_source : b666bd88d0247b58f7311f81e5116199779cc806
2016-07-07 09:55:45 +02:00
Jan de Mooij 1ffe7cc891 Bug 1283855 part 26 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence,mccr8
--HG--
extra : rebase_source : 68e6c63b179094f2441f01df58e0bdd68620ed09
2016-07-07 09:55:41 +02:00
sk e660ea810d Bug 1277732 - "Assertion failure: 0xffff800000000000ULL & (uintptr_t(desired) + length - 1) == 0, at Memory.cpp:439 on aarch64 target". r=jorendorff 2016-06-02 18:09:00 +02:00
Luke Wagner 5c84f14466 Bug 1284056 - Baldr: initialize CompileArgs::alwaysBaseline (r=bbouvier)
MozReview-Commit-ID: Ehup1qxmBLI

--HG--
extra : rebase_source : 7d42490023e875060924e262f3115339f7d4d491
2016-07-06 09:14:28 -05:00
Nicolas B. Pierron 9986326465 Bug 1282810 - Register instruction information before encoding snapshots. r=h4writer 2016-07-06 14:04:23 +00:00
Nicolas B. Pierron 25af35a5de Bug 1284491 - Duplicate operator new, to carry the fallible/infallible state of the allocator. r=jandem 2016-07-06 14:04:23 +00:00
Luke Wagner f0ec009777 Bug 1284056 - Baldr: remove cx from wasm::Compile (r=bbouvier)
MozReview-Commit-ID: 5r4TGkWZdxc

--HG--
extra : rebase_source : 1e704b12ad3b15cf0e4088424af581c7583869e6
2016-07-06 08:44:21 -05:00
Luke Wagner 56b8c3504b Bug 1284056 - Baldr: remove cx_ from ModuleGenerator (r=bbouvier)
MozReview-Commit-ID: 9UeeVdogeAR

--HG--
extra : rebase_source : 385da837be7ab2450c1b58b09b6b6cc9480cee2b
2016-07-06 08:36:23 -05:00
Luke Wagner 0ca10d8c16 Bug 1284056 - Baldr: simplify the parallel compilation guard (r=bbouvier)
MozReview-Commit-ID: Bske3m8PqdT

--HG--
extra : rebase_source : dff7b7e4b88f6a4fd6edd6cf5a8bac6c8eaf7f66
2016-07-06 08:36:23 -05:00
Luke Wagner 4ae72389d7 Bug 1284056 - Baldr: create totally empty JitContext in ModuleGenerator (r=jandem)
MozReview-Commit-ID: BpLVPEvM8aV

--HG--
extra : rebase_source : ae15dbf48c3d4315886c0f6c8546c5797d11afb4
2016-07-06 08:36:23 -05:00
Luke Wagner 6522755b9c Bug 1284056 - Baldr: don't set CompileRuntime (r=jandem)
MozReview-Commit-ID: Ln05e5xyRNf

--HG--
extra : rebase_source : cd748996f52fb51762e69c2e5598ab1b4346a572
2016-07-06 08:36:23 -05:00
Luke Wagner 187268b192 Bug 1284056 - Baldr: rename MachineId to Assumptions (r=bbouvier)
MozReview-Commit-ID: Fo7QeGYo8sI

--HG--
extra : rebase_source : d189e1e5108ed6e49010919395a5df7180d01a1f
2016-07-06 08:36:23 -05:00
Luke Wagner 0c68d72e21 Bug 1284056 - Baldr: rename CompileArgs to UseSignal (r=bbouvier)
MozReview-Commit-ID: 8H6jCv8QfCw

--HG--
extra : rebase_source : c49a9de4bc4be5897d1e3aa4ca0554ddb55bf736
2016-07-06 08:36:22 -05:00
Benjamin Bouvier fbafcaca4a Bug 1268024: Unrelated changes in the ARM backend; r=luke
MozReview-Commit-ID: Cpw02pgMQ7K

--HG--
extra : rebase_source : 970365392073390f1e5d082ee3a53ea4ae83d25d
extra : histedit_source : eadef96b0aaca3b17e6bdba40fe4857fd6137007
2016-07-05 16:02:35 +02:00
Benjamin Bouvier b1470f9537 Bug 1268024: Add an unaligned access trap; r=luke
MozReview-Commit-ID: HvAF3lvlfw3

--HG--
extra : rebase_source : 4c326dd9af59cc0df9e1351786c3d3739fa27e0f
extra : histedit_source : 2e530129632340c6c1f1f465668aecc12c559abf
2016-06-30 14:42:09 +02:00
Benjamin Bouvier 25b54cb93b Bug 1268024: Don't allow the memory's max size to be lower than the initial size; r=luke
MozReview-Commit-ID: 5Td4cIDhqJ9

--HG--
extra : rebase_source : a138fec1576c8ad3905a7901c8d624822e871652
2016-06-30 14:41:20 +02:00
Jan de Mooij 96da4695c8 Bug 1283855 part 25 - Make JS_GC take JSContext instead of JSRuntime. r=terrence 2016-07-06 11:40:20 +02:00
Jan de Mooij cd41339786 Bug 1283855 part 24 - Make js::DumpHeap take JSContext instead of JSRuntime. r=sfink 2016-07-06 11:40:20 +02:00
Jan de Mooij 28662f4214 Bug 1283855 part 23 - Make more callback setters take JSContext instead of JSRuntime. r=evilpie 2016-07-06 11:40:20 +02:00
Jan de Mooij 79865aba2a Bug 1283855 part 17 - Make {Get,Set}DebuggerMallocSizeOf take JSContext instead of JSRuntime. r=jimb 2016-07-06 11:40:20 +02:00
Jan de Mooij c1ed92b71b Bug 1283855 part 3 - Make some callback setters take JSContext instead of JSRuntime. r=efaust 2016-07-06 11:40:20 +02:00
Jon Coppeard df019b3519 Bug 1282502 - Report an error if there are too many block scoped bindings r=shu a=abillings 2016-07-06 10:17:19 +01:00
Jeff Walden 1348666268 Bug 1284634 - Introduce ShapedObject as a base class containing a shape field, for subclassing by NativeObject and ProxyObject. r=efaust 2016-07-05 18:22:30 -07:00
Luke Wagner b409bb8f83 Bug 1284349 - rm confusing assignment from NewObjectWithClassProtoCommon (r=jorendorff)
MozReview-Commit-ID: KSopRhEPSbI
2016-07-05 17:51:29 -05:00
Bill McCloskey c952246316 Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap) 2016-07-05 13:59:36 -07:00
Sebastian Hengst a3da7f8985 Backed out changeset 37f1b9d6f522 (bug 1271650) for leaking debugger tests. r=backout 2016-07-05 17:13:58 +02:00
Sebastian Hengst c3cbe74792 Backed out changeset 14212ea063c6 (bug 1271650) 2016-07-05 17:13:57 +02:00
Sebastian Hengst 8228c7d140 Backed out changeset b93deff3205a (bug 1271650) 2016-07-05 17:13:57 +02:00
Sebastian Hengst bdd16e22ae Backed out changeset 8698c60d265d (bug 1271650) 2016-07-05 17:13:57 +02:00
Sebastian Hengst 29afa379ce Backed out changeset 359a15f3afea (bug 1271650) 2016-07-05 17:13:56 +02:00
Jan de Mooij 95d24f32ab Bug 1283855 part 22 - Make GetErrorTypeName take JSContext instead of JSRuntime. r=arai
--HG--
extra : rebase_source : b8fee2c303140257fdae29ea709a94a99fc6739d
2016-07-05 16:49:48 +02:00
Jan de Mooij e4ae5f26da Bug 1283855 part 20 - Make more principals code take JSContext instead of JSRuntime. r=luke
--HG--
extra : rebase_source : ad5f2f5b5bef9d20e4e248898a3c754adb306683
2016-07-05 16:49:46 +02:00
Jan de Mooij 078a91ca56 Bug 1283855 part 19 - Make security callbacks take JSContext instead of JSRuntime. r=jorendorff
--HG--
extra : rebase_source : c106826540912b00550b2d6162dcae6e1fb616d4
2016-07-05 16:49:44 +02:00
Jan de Mooij 6c5b8f4c2e Bug 1283855 part 18 - Make JS_DropPrincipals take JSContext instead of JSRuntime. r=luke
--HG--
extra : rebase_source : 6f86a455c5ae2e0b306916a7121708a537a6105b
2016-07-05 16:49:41 +02:00
Jan de Mooij ebc4aaed13 Bug 1283855 part 16 - Make source hook functions take JSContext instead of JSRuntime. r=mrrrgn
--HG--
extra : rebase_source : 8311b02e6facb3d3b08ead519c06dd8d3319ad0f
2016-07-05 16:49:39 +02:00
Nicolas B. Pierron 5c9800f1b8 Bug 1264948 part 2 - Assert when we allocate new chunks using an infallible allocator. r=jonco,h4writer 2016-07-05 13:38:18 +00:00
Eddy Bruel 3de3fdc276 Bug 1271650 - Implement a C++ interface for DebuggerFrame.isGenerator;r=fitzgen 2016-07-05 15:06:10 +02:00
Eddy Bruel 435abc579f Bug 1271650 - Implement a C++ interface for DebuggerFrame.getEnvironment;r=fitzgen 2016-07-05 15:06:10 +02:00
Eddy Bruel 35c890aacd Bug 1271650 - Implement a C++ interface for DebuggerFrame.getIsConstructing;r=fitzgen 2016-07-05 15:06:10 +02:00
Eddy Bruel b7c448001c Bug 1271650 - Implement a C++ interface for DebuggerFrame.getCallee;r=fitzgen 2016-07-05 15:06:10 +02:00
Eddy Bruel 4f99b0d819 Bug 1271650 - Implement a DebuggerFrame class;r=fitzgen 2016-07-05 15:06:10 +02:00
Jan de Mooij 4ca08a4466 Bug 1283855 part 15 - Make {Get,Set}DOMCallbacks, SetWindowProxyClass take JSContext instead of JSRuntime. r=h4writer 2016-07-05 14:35:28 +02:00
Jan de Mooij fb15cb143c Bug 1283855 part 14 - Make more callback setters take JSContext instead of JSRuntime. r=shu 2016-07-05 14:35:26 +02:00
Jan de Mooij 3e6263744c Bug 1283855 part 13 - Make JS_SetNativeStackQuota take JSContext instead of JSRuntime. r=fitzgen 2016-07-05 14:35:23 +02:00
Jan de Mooij c8334f438a Bug 1283855 part 12 - Make some GC APIs take JSContext instead of JSRuntime. r=sfink 2016-07-05 14:35:21 +02:00
Jan de Mooij 4ba1239131 Bug 1283855 part 11 - Make some GC callback APIs take JSContext instead of JSRuntime. r=terrence,mccr8 2016-07-05 14:35:19 +02:00
Jan de Mooij 185fef3784 Bug 1283855 part 10 - Make some GC callback APIs take JSContext instead of JSRuntime. r=jonco 2016-07-05 14:35:16 +02:00
Jon Coppeard 82ee97156b Bug 1283448 - Freeze module objects before they are passed back to the caller r=shu 2016-07-05 11:31:28 +01:00
Jan de Mooij b6c8bdd67a Bug 1283855 part 9 - Make asm.js/buildId op setters take JSContext instead of JSRuntime. r=bbouvier 2016-07-05 11:06:06 +02:00
Jan de Mooij 539f2c4a46 Bug 1283855 part 8 - Make JIT compiler option APIs take JSContext instead of JSRuntime. r=nbp 2016-07-05 11:06:06 +02:00
Jan de Mooij 3ffa1fd00d Bug 1283855 part 7 - Make JS_SetGCZeal take JSContext instead of JSRuntime. r=sfink 2016-07-05 11:06:05 +02:00
Jan de Mooij acb65dff35 Bug 1283855 part 6 - Make JS_AbortIfWrongThread take JSContext instead of JSRuntime. r=terrence 2016-07-05 11:06:05 +02:00
Jan de Mooij 31f7512e9f Bug 1283855 part 5 - Make warning reporter APIs take JSContext instead of JSRuntime. r=arai 2016-07-05 11:06:05 +02:00
Jan de Mooij 7c1a1cec44 Bug 1283855 part 2 - Make some callback setters take JSContext instead of JSRuntime. r=luke 2016-07-05 11:06:05 +02:00
Jan de Mooij d39ad7fb2d Bug 1283855 part 1 - Make JS_GetEmptyString take JSContext instead of JSRuntime. r=jorendorff 2016-07-05 11:06:05 +02:00
Jan de Mooij e958b220ee Bug 1283169 - Finish incremental GC before cancelling off-threaad parse tasks. r=jonco 2016-07-04 19:44:26 +02:00
Luke Wagner 53dcd7ec57 Bug 1276029 - Baldr: remove unnecessary 'cx' arg from deserialize path (r=bbouvier)
MozReview-Commit-ID: Asar5yECXGl

--HG--
extra : rebase_source : 584ca9a83ec11c304c586f27f97e5455ddb74256
2016-07-04 12:20:19 -05:00
Luke Wagner 2752915fff Bug 911216 - avoid debug-only null deref on alloc failure (r=till)
MozReview-Commit-ID: GSbx344Jzys
2016-07-04 10:19:54 -05:00
Heiher 30f2572606 Bug 1280843 - IonMonkey: MIPS: Fix ma_b(Register, T, JumpTarget) for Wasm. r=nbp
---
 js/src/jit/mips32/Assembler-mips32.cpp | 56 +++++++++++++++++++++++++------
 js/src/jit/mips64/Assembler-mips64.cpp | 60 ++++++++++++++++++++++++++++------
 2 files changed, 96 insertions(+), 20 deletions(-)
2016-07-04 22:11:31 +08:00
Nicolas B. Pierron cfeab082c9 Bug 1264948 - Check for OOM when linking all break keywords of switch statements. r=h4writer 2016-07-04 13:56:32 +00:00
Lars T Hansen 4448c8aa42 Bug 1277008 - Clean up scratch register management. r=luke
--HG--
extra : rebase_source : 80915685fff7407607399970a69957fe2ae5828c
2016-07-04 09:05:12 +02:00
Lars T Hansen 39c398c397 Bug 1280927 - skip unreachable code. r=luke
--HG--
extra : rebase_source : 73bb3c9fefa676524277e1096749d75c8f628061
extra : intermediate-source : 1e3aadc65e698b2fd3bf633475c1c816e99b8765
extra : source : 8df76558d4faddfd5b20e9ee34dc6ecfdf98d73d
2016-06-21 20:50:41 +02:00
Hannes Verschore 43496a1a66 Bug 1282743 - TraceLogging: Make sure there is a payload when baking in an event, r=bbouvier 2016-07-04 10:30:10 +02:00
Jan de Mooij ee873aee5f Bug 1281275 - Fix a TSan data race in TraceLogger enabledTextIds. r=h4writer 2016-07-04 09:50:51 +02:00
Jan de Mooij ec23188f2b Bug 1266470 - Fix a TSan data race on JSFunction flags. r=efaust 2016-07-04 09:49:25 +02:00
Sander Mathijs van Veen 8988e365a7 Bug 1248163 - Inline typed array constructors r=jandem r=Waldo 2016-07-03 08:24:00 +02:00
Tooru Fujisawa 0b013eba34 Bug 897634 - Add more testcase for Math.expm1. r=jorendorff 2016-07-04 02:32:11 +09:00
Luke Wagner 008be81639 Bug 1277247 - remove some move member definitions that can be implicitly generated (r=bbouvier)
MozReview-Commit-ID: CTwveGZTf8V

--HG--
extra : rebase_source : 1b76ff446d4055efd019f2f5699dcc795a322aa5
2016-07-02 23:47:56 -05:00
Jan de Mooij d051fdf152 Bug 1281529 part 9 - Move JSRuntime caches into a new ContextCaches class. r=jorendorff
--HG--
rename : js/src/vm/Runtime-inl.h => js/src/vm/Caches-inl.h
2016-07-02 13:45:10 +02:00
Till Schneidereit 14a62c9039 Bug 911216 - Part 27: Properly set up incumbent and current globals for Promise reaction jobs. r=efaust,bz 2016-07-02 02:00:47 +02:00
Till Schneidereit 1eabe5f054 Bug 911216 - Part 26: Fix includes in testPromise.cpp jsapi-test. r=me 2016-07-02 02:00:47 +02:00
Till Schneidereit 30520431d0 Bug 911216 - Part 25: Fix Promise accessors on Debugger.Object.prototype. r=ejpbruel 2016-07-02 02:00:47 +02:00
Luke Wagner cf6522b9fa Bug 1276028 - Baldr: add WebAssembly.(Module, Instance) (r=bbouvier)
MozReview-Commit-ID: Lg8aq6BLnZ2
2016-07-01 12:48:56 -05:00
Sebastian Hengst 8fc2ffd5f8 Backed out changeset a36da0eea7af (bug 1277008) for warning as error in WasmBaselineCompile.cpp on OSX. r=backout on a CLOSED TREE 2016-07-01 18:54:30 +02:00
Jan de Mooij ba11203edd Bug 1281529 part 7 - Simplify GenerateJitExit a bit by using the context instead of the runtime. r=luke 2016-07-01 18:44:02 +02:00
Lars T Hansen ff1a49260f Bug 1277008 - Clean up scratch register management. r=luke
--HG--
extra : source : b1ba209d7e261dffc4526f74cc681a6d93b8b188
extra : amend_source : 921b3dccc3052eb356f45fb310e22d611887c3dd
extra : intermediate-source : 2c5a3eed84fe9e15593e1c29ff5dbeae3b566f81
2016-06-26 14:35:01 +02:00
Benjamin Bouvier 275ea9c5c7 Bug 1268024: Unrelated changes; r=luke
MozReview-Commit-ID: E5NmH0fmpm7

--HG--
extra : rebase_source : 2ec84c8cbe29bc6e94bb54a6d913d9e36dc6c3d2
2016-06-29 17:58:23 +02:00
Benjamin Bouvier 1539666ef1 Bug 1268024: Rename MAsmJSHeapAccess to MWasmMemoryAccess; r=luke
MozReview-Commit-ID: 1N1UlhhkFSu

--HG--
extra : rebase_source : 06a02edf8ff1536e52a093f7604f5ba3a73920e3
2016-06-17 17:19:42 +02:00
Benjamin Bouvier e804377707 Bug 1268024: Fix the use of -g for wasm test cases; r=lth
MozReview-Commit-ID: H3xdFapHnXg

--HG--
extra : rebase_source : 516406c5507dbeda17c429e62cf64d0a1e772066
2016-06-20 18:03:23 +02:00
Carsten "Tomcat" Book 374f7fa2b8 Backed out changeset 95006e936e44 (bug 1271650) for bustage 2016-07-01 13:00:59 +02:00
Eddy Bruel d78d746c6d Bug 1271650 - Implement a DebuggerFrame class;r=fitzgen 2016-07-01 12:48:16 +02:00
Jon Coppeard 79fb7a7224 Bug 1282986 - Disallow creation of workers while running simulated OOM tests r=terrence 2016-07-01 09:37:37 +01:00
Phil Ringnalda ef87dff4e9 Back out 14928a6b38f3 (bug 1214824) for leaking an nsStringBuffer in debug e10s devtools 2016-06-30 21:12:11 -07:00
Bill McCloskey 3f712641d1 Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap) 2016-06-30 17:38:54 -07:00
Benjamin Dahse 2400e065d1 Bug 988831 - support memory mapped files in Windows. r=ehoogeveen
--HG--
extra : rebase_source : faf8d37b0d4d517b8a859b3fa57f8cd7f914de8f
2016-06-30 14:32:13 +02:00
Terrence Cole a0867f7269 Bug 1283256 - Make GC stats per GCCycle; r=jonco
--HG--
extra : rebase_source : c8589e74b23e634e05f8921af5bbafc4d5b9751d
2016-06-28 12:29:39 -07:00
Nick Fitzgerald 08e44f904f Bug 1283308 - Use js::Mutex instead of PRLock for the js shell's `sharedArrayBufferMailboxLock`; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald 176ee351b9 Bug 1283301 - Use js::Mutex instead of PRLock for the js shell's `workerThreadsLock`; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald 2148cb0562 Bug 1283289 - Use js::Mutex instead of PRLock in js/src/jit/mips64/Simulator-mips64.{h,cpp}; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald 411c5a6258 Bug 1283287 - Use js::Mutex instead of PRLock in js/src/jit/mips32/Simulator-mips32.{h,cpp}; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald 102dda7dfd Bug 1283284 - Use js::Mutex instead of PRLock in js/src/jit/arm64/vixl/{Simulator-vixl.h,MozSimulator-vixl.cpp}; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald bc42951b33 Bug 1283278 - Use js::Mutex instead of PRLock in js/src/jit/arm/Simulator-arm.{h,cpp}; r=terrence 2016-06-30 13:13:30 -07:00
Nick Fitzgerald f21f1d6466 Bug 1283272 - Fix comment referring to bool return value, when actual return value is void; r=terrence 2016-06-30 13:13:30 -07:00
Nick Fitzgerald b1463b83ef Bug 1283245 - Use js::Mutex and js::ConditionVariable instead of PRLock and PRCondVar in HelperThreads; r=terrence 2016-06-30 13:13:30 -07:00
Nick Fitzgerald 768f4986eb Bug 1283229 - Thread `AutoLockHelperThreadState&` parameters through various `HelperThread`-related functions; r=terrence
This is a pre-requisite for moving the `HelperThread` infrastructure over from
using `PRLock` and `PRCondVar` to using `js::Mutex` and `js::ConditionVariable`.
Its needed because waiting on a `js::ConditionVariable` takes the `LockGuard`
for the condvar's mutex as a parameter, so we need to have that accessible. When
we do the conversion, `AutoLockHelperThreadState` will become derived from
`LockGuard` and specialized for the helper thread state lock, and so the guard
will therefore be accessible.
2016-06-30 13:13:30 -07:00
Eric Faust e8e165c048 No Bug - Added test for new.target in argument defautls. (rs=jorendorff) 2016-06-30 12:54:25 -07:00
Andi-Bogdan Postelnicu c17a37cf7f Bug 1282408 - add ignore initialization check flag for variables from InternalLink. r=jdemooij
MozReview-Commit-ID: 40yR3oLZhkH
2016-06-30 10:40:51 +03:00
Jan de Mooij 30a995d188 Bug 1281529 part 5 - Get rid of rt->jitJSContext. r=bbouvier
--HG--
extra : rebase_source : ffc8d9a14de77c014d21dcc8ed4db9ae619c3365
2016-06-30 09:16:58 +02:00
Jan de Mooij 0de54413a9 Bug 1281529 part 3 - Use static_cast instead of rt->context_. r=jwalden
--HG--
extra : rebase_source : 6c5804bccd61554ba5f4f072a78bc6eaaefac7b1
2016-06-30 09:13:11 +02:00
Jan de Mooij a7c0c2b5df Bug 1281253 - Clean up MNewCallObject a bit and fix a TSan race. r=bhackett 2016-06-30 08:33:55 +02:00
Jan de Mooij 8806e32742 Bug 1281385 - Cache the needsCallObject bit in CompileInfo to fix a TSan race. r=nbp 2016-06-30 08:32:39 +02:00
Carsten "Tomcat" Book 3213a7983d Backed out changeset c34ec3e0884c (bug 1248163) for hazard failures
--HG--
extra : rebase_source : 9ef8cd7b6248533e552c3b149257ffafbc0a29ca
2016-06-30 07:20:30 +02:00
Xidorn Quan 4cbe3b8fd3 Bug 1279991 - Use [Func=] for EventTarget.mozSystemGroup. r=peterv
MozReview-Commit-ID: B5pMVCUuss9

--HG--
extra : transplant_source : %F7%8A4%2B%B5d_%D8%3AR%19%C4%21%D7%D6%8C%AE%82%FE%1B
2016-06-20 15:49:11 +10:00