Commit Graph

63204 Commits

Author SHA1 Message Date
Csoregi Natalia
7476b71e00 Merge inbound to mozilla-central r=merge a=merge 2018-01-12 23:59:06 +02:00
Rofael Aleezada
ccff779855 Bug 1427710 part 1 - Make TokenKind an enum class. r=jandem 2018-01-12 15:16:12 +01:00
Jan de Mooij
03f5b1346f Bug 1113014 - Don't emit a branch in LoadDOMPrivate if we know the object kind (native or proxy) statically. r=bz
--HG--
extra : rebase_source : 6648791a98335471d84afbcff73d4801d80e602d
2018-01-12 12:47:19 +01:00
Narcis Beleuzu
4de0807d09 Merge inbound to mozilla-central r=merge a=merge 2018-01-12 13:25:57 +02:00
Mike Hommey
bb2afff5c1 Bug 1425381 - Always enable PIE on Android now that we support only >= 4.1. r=froydnj
--HG--
extra : rebase_source : c73d77ab1274b2dd54a3785a6d77c6e8dcb69f87
2018-01-11 10:42:15 +09:00
Luke Wagner
01374c78a8 Bug 1428453 - Baldr: use hardware traps for Trap::Unreachable (r=bbouvier)
MozReview-Commit-ID: DDSL0WoEj6Y
2018-01-10 12:35:38 -06:00
Noemi Erli
5c14ac4bb7 Backed out changeset 2dab1647f933 (bug 903519) for mass failures on a CLOSED TREE 2018-01-11 22:23:48 +02:00
Noemi Erli
cea0d65a57 Backed out 20 changesets (bug 903519) for detected memory leaks on a CLOSED TREE
Backed out changeset 3f72f8747e29 (bug 903519)
Backed out changeset bb2cc298a155 (bug 903519)
Backed out changeset cc56f32ddae8 (bug 903519)
Backed out changeset ec5b307a28aa (bug 903519)
Backed out changeset 38f4e0426bdd (bug 903519)
Backed out changeset 71831e232df2 (bug 903519)
Backed out changeset 6f3666e9540e (bug 903519)
Backed out changeset c62e5867d763 (bug 903519)
Backed out changeset 7854bfe5d683 (bug 903519)
Backed out changeset f5f72c93adf9 (bug 903519)
Backed out changeset 7d56db668369 (bug 903519)
Backed out changeset 7c96258a6459 (bug 903519)
Backed out changeset 11b3f0fda4ad (bug 903519)
Backed out changeset 2bc9d427f427 (bug 903519)
Backed out changeset fdb6431ea4ff (bug 903519)
Backed out changeset 6d7d15b25489 (bug 903519)
Backed out changeset 457008b194a8 (bug 903519)
Backed out changeset 80b9d97bf1fe (bug 903519)
Backed out changeset 1fc5ee0d0116 (bug 903519)
Backed out changeset 9316d8f7b92a (bug 903519)
2018-01-11 22:18:23 +02:00
Lars T Hansen
061d3eaf3b Bug 1429140 - Make signal handling work for --disable-ion builds. r=luke
Signal handling is improperly ifdeffed on JS_CODEGEN_NONE; the
appropriate conditions are whether the signal handling machinery knows
how to grab the machine state, and that is not JIT-dependent.  (The
Atomics machinery has the same constraint.)  So change the ifdefs
accordingly.

Also fix a bug in jsfun.cpp where it calls into the JIT even if the
JIT is not present; this causes crashes.

--HG--
extra : rebase_source : 17032b79751e598ace73003091e93817cb847b43
2018-01-11 17:32:00 +01:00
Steve Fink
412e0b24f1 Bug 903519 - Register more nursery string buffers to be freed, r=leak
--HG--
extra : rebase_source : 16a09e09681bb48943b6873768788d05b47b373f
2018-01-11 11:27:56 -08:00
Noemi Erli
188184d4dc Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-12 00:04:40 +02:00
Emilio Cobos Álvarez
526d5c1370 No bug: Remove some unused functions. r=me
MozReview-Commit-ID: 3sUI1K0dIeA
2018-01-12 13:08:44 +01:00
Brindusan Cristian
b102ef421c Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2018-01-12 13:32:23 +02:00
Andrew McCreight
4a0dd8ce9d Bug 1429945 - Make ghost window unlinker e10s compatible. r=smaug
Content processes can contain ghost windows, so the debug-only ghost
window unlinker needs to send a message to child processes to get them
to run it, too.

MozReview-Commit-ID: 9Ffc3SDNDJB

--HG--
extra : rebase_source : 875891e9332cf41c4157d246b71c2c361cab4aa6
2018-01-11 14:14:09 -08:00
Benjamin Bouvier
f8bfb1cf37 Bug 1429028: Add a stack recursion check in the wasm::TextToBinary function; r=luke
MozReview-Commit-ID: HPXo0ARuKD6

--HG--
extra : rebase_source : 66be4206150f75be6aa941b6625ce18fa3efdd84
2018-01-09 14:25:03 +01:00
Benjamin Bouvier
1b2285cdac Bug 1429028: Remove unused JSContext arg to CheckRecursionLimitDontReport; r=jandem
MozReview-Commit-ID: DXPsnTVjvok

--HG--
extra : rebase_source : 5877a68b5d71d095714be9d5910e87e8b116e007
2018-01-09 14:29:08 +01:00
Cameron McCormack
563e7a0e4a Bug 1427419 - Part 1: Add an InspectorUtils chrome-only IDL namespace. r=bz,tromey
Also add a way to access it from SpecialPowers for tests and from
importGlobalProperties for system JS scopes.

MozReview-Commit-ID: IewEs0Gf2M9
2018-01-11 12:37:59 +08:00
Steve Fink
5b431f6138 Bug 1426873 - Implement no-arg Shape::dump() to allow calling T->dump() in a templatized function, r=jonco
--HG--
extra : rebase_source : e8668cd0870009d499306872f7f1f36ab5552905
extra : amend_source : a0b4b564e6c3c7e526affdeb47dcc2743e37d9ce
2017-11-17 13:56:20 -08:00
Steve Fink
35c43d8732 No bug. Print diagnostic info when unexpected CFG structure seen in isUnrootedType(). r=me
--HG--
extra : rebase_source : 855d8cd6265ff29113ec139c9f2ba325b656c391
2017-10-17 15:24:37 -07:00
Steve Fink
2b55dba109 Bug 1428507 - Avoid non-inlinable GCCellPtr constructing during tracing, r=jonco
--HG--
extra : rebase_source : ba495b925540ba986677fc579a7182fe6a2cf7cf
2018-01-05 16:50:39 -08:00
Dorel Luca
4eaec4d64b Backed out changeset f56ef640d6c0 (bug 1428453) for failing web platform tests on /_mozilla/wasm/select.wast.js r=backout on a CLOSED TREE 2018-01-11 02:17:12 +02:00
Dorel Luca
2de79f83da Backed out 2 changesets (bug 1426783, bug 1425612) for spidermonekey bustages on non262/extensions/sharedtypedarray.js r=backout on a CLOSED TREE
Backed out changeset a8e2b4cf8e26 (bug 1425612)
Backed out changeset f10263c3babe (bug 1426783)
2018-01-11 01:45:10 +02:00
Jason Orendorff
63a5e2d4e7 Bug 1425612 - Better error messages for invalid structured clone data. r=sfink, a=abillings.
--HG--
extra : rebase_source : 66e28aa6cc6172eb9bbb06c1b8fc934ef80e721d
extra : source : 462f41ca6771fa573e6550509e78dddc8bd8d102
2017-12-16 07:16:26 -06:00
Jason Orendorff
b62884603e Bug 1426783 - Fix error handling in deserialization of invalid typed arrays. r=sfink, a=abillings.
--HG--
extra : rebase_source : 7d2abd2745e22cce8bba4db7bf13afba013fc67a
2018-01-05 15:17:35 -06:00
Luke Wagner
2923e2b28b Bug 1428453 - Baldr: use hardware traps for Trap::Unreachable (r=bbouvier)
MozReview-Commit-ID: DDSL0WoEj6Y

--HG--
extra : rebase_source : 8376098833e8f49d43e629517f8fbe0ece06a825
2018-01-10 12:35:38 -06:00
Jon Coppeard
aab2ca8e2b Bug 1429031 - Fix an assertion failure while optimising a module namespace access r=jandem 2018-01-10 18:24:34 +00:00
Steve Fink
682636463a Bug 903519 - Allocate strings in the nursery, r=flagflip
--HG--
extra : rebase_source : b56175eae41f4027a6128dc87927c40a063f0cf6
extra : amend_source : 991ffa0af2bec35ad66442135984ac44a9b00cde
2017-07-28 16:46:43 -07:00
Jan de Mooij
8ad784a629 Bug 903519 - Disable nursery strings in a Zone if too many get tenured, r=sfink
--HG--
extra : rebase_source : 5f8a19cf5ea3b893be0306c188e957460db69117
2017-10-02 16:42:38 -07:00
Steve Fink
f2388d0c73 Bug 903519 - Split out string nursery pointers from object nursery, r=jonco
--HG--
extra : rebase_source : 6556829e86494d715eed8da1faabd06f48d5e49b
2017-08-14 22:08:49 -07:00
Steve Fink
cf8e0f399f Bug 903519 - Strings in the nursery: JIT, r=jandem
--HG--
extra : rebase_source : 5a63d6424a2d4a593e2d45beb8dd287278d3a6b0
2018-01-04 15:49:14 -08:00
Steve Fink
294ff2a8f0 Bug 903519 - Default nursery strings to off, add ability to enable, r=jonco
--HG--
extra : rebase_source : 17eb8dcee3ec3b1245e88fb672c8d9ef0180205c
2017-11-03 14:00:14 -07:00
Steve Fink
1510c0fff7 Bug 903519 - Change Relocated marker to not confuse string vs object bit, r=jonco
--HG--
extra : rebase_source : 20e3e3d984b4a523abb6f3e2e0383a110d50ab53
2017-11-03 12:27:52 -07:00
Steve Fink
5ba91d3650 Bug 903519 - Strings in the nursery: MIR node, r=jandem
--HG--
extra : rebase_source : 7b8fe45352cb2f3d85fe849a2f1087f3f1fcd09c
2017-10-02 16:35:46 -07:00
Steve Fink
ada1935fff Bug 903519 - Strings in the nursery: allow any thread to access zone of permanent atoms, r=jonco
--HG--
extra : rebase_source : b2ad4f1518f4dfb56dca2efbf22aaf173f09a2a3
2017-07-30 13:21:53 -07:00
Steve Fink
184038bf04 Bug 903519 - Discard nursery keys from EvalCache, r=jonco
--HG--
extra : rebase_source : 6a7439d25669331d665b70b10b48cd296dc447e6
2017-08-03 16:18:47 -07:00
Steve Fink
0c8e914a3b Bug 903519 - Strings in the nursery: barriers, r=jonco
--HG--
extra : rebase_source : e28ddcc4b57d7498f27f4d6c3cfa5fdacf3c56f4
2017-07-28 16:46:38 -07:00
Steve Fink
673f0156f8 Bug 903519 - Strings in the nursery: tracing and tenuring, r=jonco
--HG--
extra : rebase_source : 72f87a1a3457d3cae8e71378ae4463e79c81590d
2017-10-17 12:35:06 -07:00
Steve Fink
5803364e20 Bug 903519 - Remove verifier assumption that only objects are in the nursery, r=jonco
--HG--
extra : rebase_source : 297efd5cf44c9703e7266d1cac59a417bd9aebd8
2017-07-27 17:31:21 -07:00
Steve Fink
a64d5e92da Bug 903519 - External strings can morph into plain ones while still in EXTERNAL_STRING arena, r=jonco
--HG--
extra : rebase_source : 61755a019b2cdcece1b617fa11ab160f968a16aa
2017-07-28 09:54:25 -07:00
Steve Fink
75666146ac Bug 903519 - Strings in the nursery: allocation, r=jonco
--HG--
extra : rebase_source : 7d0a46a7ed0bcf2c818ea25f1f1da2a996312288
2017-11-13 16:57:27 -08:00
Philip Chimento
feae2f5325 Bug 1428605 - Add JS:: namespace to API where it's missing. r=sfink 2018-01-07 19:08:33 -08:00
Jan de Mooij
e42c45a512 Bug 1427126 - Use setElementWithType instead of setElement in AppendToList. r=bhackett
--HG--
extra : rebase_source : e739fe98c47bc5aa890d191ee5f6ad9998ca2910
2018-01-09 16:37:12 -05:00
Lars T Hansen
6844905ced Bug 1428971 - Control wasm sign extension opcodes by a dedicated define. r=bbouvier
These opcodes are useful by themselves and several people have already
mooted the possibility of letting them ride the wasm train independently
of the thread feature.  So do not make them dependent on the threads
ifdef, but give them their own.

--HG--
extra : rebase_source : 58c4638b85cb03c8ecb4af61b11fcb6f388fa9fa
2018-01-09 10:52:42 +01:00
Benjamin Bouvier
3414073e89 Bug 1427729: Remove two dead fields; r=jandem
MozReview-Commit-ID: AAymdoMXDWa

--HG--
extra : rebase_source : 96ede54cbed7c0bfe84584d5dd21acb1e421f115
2018-01-05 18:26:55 +01:00
Benjamin Bouvier
1ddc5ee84e Bug 1427729: Have JitFrameIter properly unwind JitActivation when transitioning from JS to wasm; r=jandem
MozReview-Commit-ID: K5RQga66lKz

--HG--
extra : rebase_source : 36c6e58e8bf01a63138f1888f25c7c26cacce40a
2018-01-05 18:41:25 +01:00
Benjamin Bouvier
c21325b457 Bug 1427729: Have EnsureBareExitFrame and JSJitFrameIter take only JitActivation parameters; r=jandem
MozReview-Commit-ID: CZKK1D8bThW

--HG--
extra : rebase_source : 1b609a2e33583ca0722d4aef9220ab85acfc58c8
2018-01-05 16:09:57 +01:00
Benjamin Bouvier
f0969b8242 Bug 1429034: Add WasmAtomicExchangeHeap to GetObject for alias analysis; r=lth
MozReview-Commit-ID: 6zVtGJJLUjU

--HG--
extra : rebase_source : d03394a7b802ec16f94694f840e21e15732ecb63
extra : histedit_source : fa491355c1a5c623b0ccf471da5e4fc904a7059a
2018-01-09 14:34:02 +01:00
Margareta Eliza Balazs
fe2caaa266 Merge inbound to mozilla-central r=merge a=merge 2018-01-09 11:52:55 +02:00
Luke Wagner
95733d05bf Bug 1428453 - Baldr: remove WasmFrameIter::callsite_ (r=bbouvier)
MozReview-Commit-ID: LBTtxbqZamP
2018-01-08 17:53:53 -06:00
Luke Wagner
c4c25d2fb0 Bug 1428453 - Baldr: remove WasmFrameIter::debugTrapCallsite() (r=yury)
MozReview-Commit-ID: AHjWPINanvF
2018-01-08 17:53:21 -06:00