Eric Faust
3b53239890
Bug 1459609 - Add missing null-check to ParserBase::setSourceMapInfo(). (r=Waldo)
...
--HG--
extra : rebase_source : 03defc47db1436913c249aecbde6e609d9274397
2018-05-07 15:33:03 -07:00
Julian Seward
20e9dd7d5c
Bug 1446930 - Wasm: basic (OOL) implementation of memory.fill and memory.copy. r=lth.
...
This patch adds an initial implementation, along with test cases, for the
memory.fill and memory.copy instructions that form part of the
bulk-memory-operations proposal at
https://github.com/WebAssembly/bulk-memory-operations/blob/master/proposals/bulk-memory-operations/Overview.md .
This covers code generation for the baseline and optimising compilers, as
well as supporting infrastructure for conversion to/from binary and text
representations.
The implementation is simple in the sense that -- for both compilers -- it
is done by a call to a helper function, which eventually devolves to a call
to memset/memmove respectively.
Per subsequent clarification requests:
* https://github.com/WebAssembly/bulk-memory-operations/issues/8
The arguments to these instructions are all interpreted as unsigned 32 bit
ints.
* https://github.com/WebAssembly/bulk-memory-operations/issues/11
Zero length fills/copies that have starting point offsets out of bounds
trap rather than are treated as no-ops.
--HG--
extra : rebase_source : 79c74cbe467905f03b796428ee80b643c105ca72
2018-05-04 23:14:09 +02:00
Jeff Walden
8c0a4864c7
Bug 1458011 - Remove the TypedObject.storage function and |new TypedObject(buffer [, offset])| constructor overload because they're no longer planned to be part of standardization efforts in this area. r=sfink
...
--HG--
extra : rebase_source : cbeb0e62928d03c2ef06d2465168ccde4840638f
2018-04-19 11:47:55 +02:00
Jeff Walden
2690d2331a
Bug 1457612 - Use BitwiseCast instead of direct bit-punning in jsdate.cpp:NowAsMillis. r=luke
...
--HG--
extra : rebase_source : 34fc0e7a08eaf3a971ed11984b2a979c7b8f39a5
2018-04-27 18:25:42 -07:00
Jan de Mooij
fabe2d7a86
Bug 1458456 part 9 - Stop skipping timeout tests when running TSan in automation. r=sfink
...
--HG--
rename : js/src/devtools/automation/tsan-sighandlers.txt => js/src/devtools/automation/tsan-slow.txt
2018-05-05 10:43:13 +02:00
Cosmin Sabou
2f93cbd6cb
Merge mozilla-central to inbound. a=merge CLOSED TREE
...
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
extra : rebase_source : e56a2d784bd87af73d03cc5fcdca84d8156ed054
2018-05-04 21:07:31 +03:00
Cosmin Sabou
dc4e10c449
Merge inbound to mozilla-central. a=merge
...
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
2018-05-04 20:37:47 +03:00
Jan de Mooij
cfc5e634d1
Bug 1458456 part 4 - Discard JIT code before marking instead of sweeping during non-incremental GC. r=jonco
...
--HG--
extra : rebase_source : 6b1d5b3b550173e5180adc6c75a85d1aea364c0d
2018-05-04 15:31:18 +02:00
Jan de Mooij
abfe4ff25a
Bug 1458456 part 3b - Stop helper threads before setting JIT compiler options. r=jonco
...
--HG--
extra : rebase_source : 62d7c47e4a5b7b7f5b1b66a2f2d40706d3bf6662
2018-05-04 15:29:40 +02:00
Luke Wagner
df164dd9df
Bug 1458456 part 3a - Notify main thread after finishing wasm tasks to fix a race with waitForAllThreads. r=lth
...
--HG--
extra : rebase_source : 140c4c219fe2b8dbd28a46484afc0ffcef195ff0
2018-05-04 15:28:23 +02:00
Jan de Mooij
ed21f1eb5d
Bug 1458456 part 8 - Fix remaining TSan races. r=jonco
2018-05-04 17:29:05 +02:00
Jan de Mooij
290905a7c8
Bug 1458456 part 7 - Make TSan jobs test --ion-eager with off-thread compilation enabled. r=jonco
2018-05-04 17:29:05 +02:00
Jan de Mooij
8071de3bdd
Bug 1458456 part 6 - Some TSan automation changes. r=sfink
2018-05-04 17:29:05 +02:00
Jan de Mooij
2997a50ac8
Bug 1458456 part 5 - Add TemplateObject wrapper to expose a thread-safe interface. r=jonco
2018-05-04 17:29:05 +02:00
Jon Coppeard
387370688d
Bug 1458961 - Re-add removed assertion to String_pad r=anba
2018-05-04 09:47:58 +01:00
Jon Coppeard
2744e7e84e
Bug 1456536 - Fix OOM handling in shell grayRoot() function r=sfink
2018-05-04 09:47:58 +01:00
David Teller
44d4196991
Bug 1456609 - Expose a method readSkippableSubTree for BinTokenReader{Tester, Multipart} r=arai
...
MozReview-Commit-ID: 2jceBpJOOoS
--HG--
extra : rebase_source : 2839d78db25126a12983770fe289ec73d869a8f7
2018-04-24 22:29:19 +02:00
Ciure Andrei
82f7c496dc
Merge inbound to mozilla-central. a=merge
2018-05-04 00:52:04 +03:00
Jon Coppeard
d4133481ca
Bug 1458839
- Improve state assertions in GCParallelTask r=jandem
2018-05-03 17:51:58 +01:00
Jan de Mooij
fe71bd0d2f
Bug 1458456 part 2 - Move NEW_SCRIPT_CLEARED flag from BaseShape to JSFunction. r=tcampbell
2018-05-03 16:18:37 +02:00
Jan de Mooij
e715d06b6f
Bug 1458456 part 1 - Don't call JSFunction::needsSomeEnvironmentObject off-thread. r=jonco
2018-05-03 16:18:03 +02:00
Jan de Mooij
37e612ccea
Bug 1458198 - Assert the frontend reported an exception if it fails to compile a script. r=jorendorff
2018-05-03 16:17:09 +02:00
Jan de Mooij
441f19d63f
Bug 1458567 part 1 - Don't invoke interrupt callback and Debugger onStep hook for internal JS engine interrupts. r=luke
2018-05-03 16:01:01 +02:00
Benjamin Bouvier
de0dc7d191
Bug 1455610: Prevent nop fills from happening in jump tables; r=lth
...
--HG--
extra : rebase_source : 7597099d50710e0b095a06e064a76404f88e4ecc
extra : amend_source : 0b97b9f26872b921410a91d229c5ea6d3e76ac58
2018-04-24 16:16:34 +02:00
Gurzau Raul
295c747edd
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-05-03 00:08:38 +03:00
Gurzau Raul
30662c7545
Merge inbound to mozilla-central. a=merge
2018-05-03 00:04:54 +03:00
Steve Fink
d909fe8abb
Bug 1458320
- Ignore Indexed DB stored scopes, as they can now be multiple incorrect values and we no longer need them for anything, r=jorendorff
...
--HG--
extra : rebase_source : 90629ac36d4229e7962ea46cec89c9e13ef4d350
2018-05-02 11:07:35 -07:00
André Bargull
efedb00226
Bug 1140152 - Copy elements' underlying bit patterns in TypedArray.prototype.slice. r=till
2018-05-02 09:52:05 -07:00
David Teller
eeaf4dfd56
Bug 1456416 - Make EagerGetter/EagerSetter create their scope earlier;r=arai
...
MozReview-Commit-ID: 2RlO4wUp5F2
--HG--
extra : rebase_source : dbe3b6653f5504988edf5a11dfb4513b84ed6993
2018-04-24 13:16:51 +02:00
David Teller
8e10afc576
Bug 1456416 - Unit tests for multipart parser;r=arai
...
MozReview-Commit-ID: 23guOSCBqFh
--HG--
extra : rebase_source : 1c4c88a186ad7e24a89f39d1e943f12783a59fd8
2018-04-24 11:23:18 +02:00
Cosmin Sabou
ce9ff94ffe
Merge inbound to mozilla-central. a=merge
2018-05-02 17:58:43 +03:00
Cosmin Sabou
435ba6ef00
Merge mozilla-central to inbound. a=merge CLOSED TREE
...
--HG--
rename : devtools/client/responsive.html/components/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
rename : devtools/client/responsive.html/actions/network-throttling.js => devtools/client/shared/components/throttling/actions.js
rename : devtools/client/shared/network-throttling-profiles.js => devtools/client/shared/components/throttling/profiles.js
rename : devtools/client/responsive.html/reducers/network-throttling.js => devtools/client/shared/components/throttling/reducer.js
2018-05-02 12:27:59 +03:00
Jan de Mooij
c3e7abdb2c
Bug 1458008 - Shuffle Shape flags around to avoid races with off-thread compilation. r=jonco
2018-05-01 13:44:21 +02:00
Mark Banner
a232a99e8c
Bug 1458215 - Handle the optional service name in XPCOMUtils.defineLazyServiceGetters. r=kmag
...
MozReview-Commit-ID: 1Dp6lhQRbNU
--HG--
extra : rebase_source : d892b8b93b9f917c81c107fc29b446761f4617c6
2018-05-01 13:51:53 +01:00
Eric Faust
7b46edd90a
Bug 1454728 - [BinAST] Create recursive bindings for function expressions. (r=Yoric, r=arai)
...
--HG--
extra : rebase_source : 0ddd2aa262bc18cf69e231182b4767d0756695e3
extra : histedit_source : 7a6d8a49a87f82895d20db61fb3fc9f1d6caae02
2018-04-30 22:23:03 -07:00
Eric Faust
9cceb6f15a
Bug 1454744 - Part 2: Add bindings for formal parameter names. (r=Yoric)
...
--HG--
extra : rebase_source : 7fe6705ad04260ed4178c09fa033df107b233a98
extra : histedit_source : dfd3134c22686707c5712cfd3a9fc8cefbfc41dc
2018-04-30 20:46:14 -07:00
Eric Faust
fbfd0693f0
Bug 1454744 - Part 1: Allow BinSource generator to place code after parsing interface sum branches. (r=Yoric)
...
--HG--
extra : rebase_source : 90992d4c17cabf476cc225e2e580c9c39138c5a7
extra : histedit_source : 59f5d8591b46c5aa9822fdccd18c6767859e694a
2018-04-30 20:45:34 -07:00
Eric Faust
8f2ba0b0a9
Bug 1456768 - [BinAST] Properly set pn->op for non-spread new expressions. (r=Yoric)
...
--HG--
extra : rebase_source : 0a5ad5e7a71f916e156ef8f59b90197f776073de
extra : histedit_source : 9692329ccd8ed6af687601258a79319a09c0dab1
2018-04-30 20:44:53 -07:00
Tooru Fujisawa
06b6dc2a7d
Bug 1457365 - Do not add source note for useless expression. r=jorendorff
2018-05-01 11:05:39 +09:00
Steve Fink
bc4f45a9ba
Bug 1456604 - Add DifferentProcessForIndexedDB scope to handle backwards compatibility with SameProcessSameThread clones, r=jorendorff
...
--HG--
extra : topic : clone.refactor
extra : rebase_source : 7920e35fb4b2370ce6a06cd27579824faabe7bd9
2018-04-24 15:21:47 -07:00
Steve Fink
c9d4e5e153
Bug 1456858 - structured clone comment fixups, r=jorendorff
...
--HG--
extra : topic : clone.refactor
extra : rebase_source : f56d3789d0f8fa3f7a903f6d5ea079ac75492cd6
2018-04-25 12:15:51 -07:00
Eric Faust
b574c1c1d5
Bug 1409815 - Part 2: Allow running BinAST files from shell CLI. (r=Waldo)
...
--HG--
extra : rebase_source : 471ce50d53441271748d3d2d95a15fcaed0a94d2
2018-04-30 17:04:04 -07:00
Eric Faust
3ea8e15b4f
Bug 1409815 - Part 1: Implement CompileGlobalBinASTScript. (r=Waldo, r=Yoric, r=jorendorff)
...
--HG--
extra : rebase_source : fa7ebfc608c5270a6228314552aee2c23903ffa4
2018-04-30 17:04:04 -07:00
Benjamin Bouvier
3835ebc631
Bug 1455603: Disable the Debugger.findScripts API when wasm GC is active; r=jonco
...
--HG--
extra : rebase_source : aad6017f91bc1fb22f5275adac665a1a53c875f7
extra : histedit_source : 17919a47ea07c5fefd6025283671fa1f1ace793b
2018-05-02 16:10:41 +02:00
Benjamin Bouvier
cb9fc33f65
Bug 1458217: Abort early in verifyprebarriers if wasm gc is enabled; r=jonco
...
--HG--
extra : rebase_source : 9add9512af4ba326312cc0143e6644de749b5533
extra : histedit_source : a1ad407c80626f1beeec48a6be0af9567290e79a
2018-05-02 15:35:24 +02:00
Cosmin Sabou
f4a638c275
Merge mozilla-central to inbound. a=merge CLOSED TREE
...
--HG--
extra : rebase_source : 1f639132d6665996654d500be2620b147026bd7b
2018-05-02 18:09:14 +03:00
Jan de Mooij
a63546ab9c
Bug 1458173
- Fix some issues reported by TSan. r=jonco
2018-05-02 15:50:11 +02:00
Jon Coppeard
a0347d960a
Bug 1456508 - Fix conflict between gray buffer canary value and incremental marking validation r=sfink
2018-04-30 10:23:39 +01:00
Jon Coppeard
015f531f81
Bug 1457193 - Always initialise Arena header fields to fix assertion failures under valgrind r=sfink
2018-04-30 10:22:40 +01:00
Jan de Mooij
d773a62755
Bug 1457475 - Demote MOZ_DIAGNOSTIC_ASSERT to MOZ_ASSERT. r=jonco
2018-04-30 10:47:06 +02:00