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

63521 Коммитов

Автор SHA1 Сообщение Дата
shindli a5abf843f8 Merge inbound to mozilla-central. a=merge 2018-02-08 12:04:26 +02:00
Sean Stangl 84f063a3fb Bug 1435146 - Import VIXL PreShiftImmMode for MoveImmediate. r=lth 2018-02-06 15:11:00 -05:00
Ciure Andrei 8dd2a49ca4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-08 00:33:37 +02:00
Ciure Andrei cda04ea11e Merge inbound to mozilla-central. a=merge 2018-02-08 00:05:57 +02:00
Jan de Mooij 7283c849b7 Bug 1435266 - Enable Spectre index masking by default. r=luke 2018-02-07 17:56:34 +01:00
Luke Wagner a9b8d6c731 Bug 1436353: fix non-unified build bustage (rs=me) 2018-02-07 10:16:44 -06:00
Luke Wagner e6536d905f Bug 1435525 - Baldr: eagerly reject too-big code section sizes and clamp masm reservation size (r=lth)
--HG--
extra : rebase_source : 117620ce71c1afb5d42347f257432798734bdf8a
2018-02-07 10:06:54 -06:00
Benjamin Bouvier 24d387c6b1 Bug 1436353: add wasm perf support for entries/exits; r=luke
MozReview-Commit-ID: 4kZEMpVP0BX

--HG--
extra : rebase_source : 2ce8f06de6a03b1cfc3461cd50f60249fe90339e
extra : histedit_source : c6dddaea3815d80a029358518f9d57cd45a15da1
2018-02-07 14:55:47 +01:00
Benjamin Bouvier d68b7067f1 Bug 1436353: Fix and enhance perf support in the jits; r=campbell
MozReview-Commit-ID: IKyJf5jRIZu

--HG--
extra : rebase_source : 56ba6731e9918b03e47441673d0eb37d8a8a5387
extra : histedit_source : cce41f271385a436d93289b576ccf0f47ade4f9d
2018-02-07 14:54:48 +01:00
Dorel Luca 6fd86afdb4 Merge mozilla-central to mozilla-inbound. r=merge 2018-02-07 17:09:13 +02:00
Dorel Luca 112cc1ff6b Backed out 3 changesets (bug 1430857) for breaking tests on Windows Code Coverage builds a=backout
Backed out changeset a992887a6060 (bug 1430857)
Backed out changeset cc9b0ac5f66b (bug 1430857)
Backed out changeset 4bdd6d82f993 (bug 1430857)
2018-02-07 15:02:58 +02:00
Jan de Mooij 081a738eb4 Bug 1435796 - Fix JSString::dumpRepresentationHeader to use printf instead of put. r=sfink 2018-02-07 14:39:11 +01:00
Jan de Mooij 6e6de3f7ac Bug 1436065 - Add JS_NewLatin1String API to create Latin1 strings without copying. r=luke 2018-02-07 14:38:00 +01:00
Jan de Mooij 17da4a7e09 Bug 1435209 - Use CMOVcc instead of index masking. r=luke 2018-02-07 13:49:06 +01:00
Dorel Luca 106842f842 Merge mozilla-inbound to mozilla-central. a=merge 2018-02-07 11:58:17 +02:00
Gurzau Raul 772c8edfef Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-07 02:29:42 +02:00
Andrew McCreight 4a583a2b25 Bug 1432992, part 3 - Adjust some line numbers in tests. r=florian
Deleting lines in part 1 caused two tests to break, because they check
the line numbers for source files. The devtools part of the patch was
automatically generated.

MozReview-Commit-ID: DrDZeyVnpE0

--HG--
extra : rebase_source : 72c1623015f029a5adef20669cc102c568d3b67e
2018-02-01 13:35:20 -08:00
Aaron Klotz 200eb77750 Bug 1430857: Part 1 - Refactor DllServices to make it possible to obtain them from anywhere in Gecko; r=jimm
MozReview-Commit-ID: GfWata0eCc5

--HG--
extra : rebase_source : 3a5b4a6f0412311f0b9080a2b3b3a31e45d15b75
2018-01-30 14:23:10 -07:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Gurzau Raul ba6075ea7f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-06 23:59:03 +02:00
Jason Orendorff ef2fe2a039 Bug 1435001 - Make LF and LH more consistent with DA in LCovSource output. r=nbp.
--HG--
extra : rebase_source : 096a061d4e8b2fc83c4ab65e6f8e29b84d1a9a72
2018-02-01 13:12:07 -06:00
Jason Orendorff e4cbeaac1b Bug 1434979 - LCovSource::writeScripts mini-bug with odd source notes. r=nbp.
Before this patch, we would only ever add hits on instructions that have source
notes. That is usually right, because that's the only time the line number
changes.

But at the start of a script, this makes us skip instructions until we reach
one with source notes. This interacts badly with SRC_XDELTA notes, which can
appear on any instruction, or even between instructions, because all it means
is "bump the source note pc". So "skip instructions until we see source notes"
is nondeterministic because of SRC_XDELTA's meaninglessness.

The fix is to add hits on the first non-prologue instruction of a script, as
well as instructions that have source notes.

--HG--
extra : rebase_source : be93186c27bfe290fbaaf3dcd2915f26d93f1381
2018-02-01 12:29:19 -06:00
Markus Stange 49d6d03730 Bug 1348959 - Remove wraparound indexing in ProfileBuffer. r=djvj,mystor,njn
MozReview-Commit-ID: LeBFSRE6GXR

--HG--
extra : rebase_source : c46c0cd0dd543a367f72000e3cae65260a25b365
extra : source : 0f2e9dd7d45551d40944e4219e5a9eb92d54b2c4
2018-02-06 00:25:30 -05:00
Jason Orendorff 766ff2211c Bug 1433291 - Don't allow serialized data to use objects as property keys. r=sfink.
--HG--
extra : rebase_source : 143fb98924344409d23cb838d107ee251ab6c925
2018-01-25 17:57:57 -06:00
Luke Wagner 94dad53ac2 Bug 1432956 - Fix regression; free allocatedBase (r=bbouvier)
--HG--
extra : rebase_source : b75313a50a0bdebdf5603c173a535484d70bd9b6
2018-02-06 08:54:35 -06:00
Jan de Mooij c88a7c210e Bug 1435306 followup - Fix rooting hazard. r=red CLOSED TREE 2018-02-06 15:17:18 +01:00
Jan de Mooij eddf987fe1 Bug 1425580 - Fix nojit build. r=red CLOSED TREE 2018-02-06 14:59:00 +01:00
Matthew Gaudet e257490376 Bug 1435570: Handle null script filenames in CacheIR spew r=evilpie
Scripts can have null as a filename, as evidenced by jit-test/tests/basic/null-filename-Error.js

--HG--
extra : rebase_source : 7d88278f9cc7c527702f9af47e320cff7ed1ae8b
2018-02-03 19:08:56 -05:00
André Bargull 9563b35b1b Bug 1435325: Cache URelativeDateTimeFormatter in Intl.RelativeTimeFormat. r=gandalf
--HG--
extra : rebase_source : d55081963961485d6d86dc81682f9a7ae6035443
2018-02-02 09:59:09 -08:00
André Bargull ae6de54400 Bug 1435306: Cache UPluralRules and UNumberFormat for Intl.PluralRules instances. r=gandalf
--HG--
extra : rebase_source : b608820f82480f6f7adac1771e81a1ee843e1c06
2018-02-02 09:20:27 -08:00
André Bargull 1db53a7d01 Bug 1434953 - Part 2: Update test262 exclusion list - Feb 02 2018 edition. r=sfink
--HG--
extra : rebase_source : 8977bc1b510e9916d0e2b4ecc787699461bb7c8d
2018-02-02 06:02:25 -08:00
André Bargull f107c47d2a Bug 1434953 - Part 1: Update test262 - Feb 02 2018 edition. rs=sfink
--HG--
extra : rebase_source : f92bad42fb9dc3b7eca98f0b6859b1328ff9a924
2018-02-02 06:01:29 -08:00
Jan de Mooij a24f067417 Bug 1425580 part 3 - Devirtualize LNode::numDefs. r=bbouvier
--HG--
extra : rebase_source : f833d4bbeb12802b1675487b05294ecd05c6dcdc
2018-02-06 14:37:27 +01:00
Jan de Mooij f20cc72147 Bug 1425580 part 2 - Devirtualize LNode::numTemps. r=nbp
--HG--
extra : rebase_source : 87bcd64135416f35d8f89494e65b34fc90b2b8fd
2018-02-06 14:37:07 +01:00
Nicolas B. Pierron dbdbf1e2b4 Bug 1435249 - Generalized x86/x64 cmov encoding. r=jandem 2018-02-06 13:38:57 +00:00
Narcis Beleuzu 0777e2f8f7 Backed out Bug 1428072 for mochitest-chrome leaks
Backed out changeset b39c21c2a7a4 (bug 1428072) for mochitest-chrome leaks
***
Backed out changeset 9acb3d3eb5bc (bug 1428072)
***
Backed out changeset b5a327bb02d4 (bug 1428072)

--HG--
extra : histedit_source : 9de43525a11c34bb0e48c0820857d1731d4e7a08%2Cd3f59b67cd382c41cd0b68fd0f7a521a1051d20c
2018-02-06 15:48:32 +02:00
Julien Wajsberg cf225ab9c6 Bug 1428072 - 1/3 - Change the implementation of isChromeJSScript so that it doesn't crash for workers r=bz,sfink
In this patch we also expose a script's compartment in jsfriendapi.h

MozReview-Commit-ID: LgoN8ANLgxI

--HG--
extra : rebase_source : a9a29e538041ac574b6b44fab166a7838fce54ac
2018-01-18 17:14:09 +01:00
Julien Wajsberg 51a60aaee4 Bug 1428072 - 1/3 - Change the implementation of isChromeJSScript so that it doesn't crash for workers r=bz,sfink
In this patch we also expose a script's compartment in jsfriendapi.h

MozReview-Commit-ID: JGTLygZ6DK5

--HG--
extra : rebase_source : 585edbdbc74044f2d644f5046513786ee4f42a2f
2018-01-18 17:14:09 +01:00
Lars T Hansen 41740d9161 Bug 1435293 - More robust tagging of assemblers during disassembly. r=nbp
Instead of using the idea of a 'live' counter, which is flawed both because we
may create prefix strings that are very long and because it will confuse
different assemblers at the same live level, use a one-character tag that is
quasi-unique (it wraps around every 62 assemblers).  This is more robust and
more correct, and still good enough for what we need the disassembler for.

--HG--
extra : source : 86a236b6f44ce584a1ede071c39cd338c2f3f922
extra : amend_source : 17b830d8bdb70d6e42649bc89d99fbd06d0b2d20
2018-02-05 14:04:55 +01:00
Lars T Hansen feb0563930 Bug 1435220 - Clean up MASM APIs for wasm truncation checks. r=bbouvier
Several things happening here:
1) Rename the APIs to include the word 'Check' and shorten the names slightly
2) Implement for ARM and implement stubs for ARM64
3) Clean up Rabaldr's use of these functions, which was a little messy

--HG--
extra : source : 271c7c15fab7a6e9bbee8ecb5fc930f66b25a6c8
2018-02-02 13:17:02 +01:00
Steve Fink ccf4104a50 No bug. Fix gdb prettyprinters to handle ROPE_FLAGS/LINEAR_BIT change, r=jandem
--HG--
extra : rebase_source : ac1cbd0a64546e09020c4e1e1f442dc1d1ca6823
2018-02-05 14:44:54 -08:00
Steve Fink e6f2c14681 Bug 1431766 - Do not upload CREATED-BY-AUTOSPIDER dummy marker, r=jonco
--HG--
extra : rebase_source : c63f4ff10ef10058ba0fef0f296c1737bf5b45a7
2018-01-04 11:29:10 -08:00
Steve Fink 20fa6e2c1c Bug 1431561 - Fix double-free in testing function newMaybeExternalString, r=jandem
--HG--
extra : rebase_source : c7ab0304042996468fd3e650076cc349be39189c
2018-01-12 09:41:43 -08:00
Andreea Pavel fed1422ab6 Backed out 1 changesets (bug 1284414) for build bustages at /builds/worker/workspace/build/src/js/src/wasm/WasmBaselineCompile.cpp:4271 on a CLOSED TREE
Backed out changeset 6546f0bc46f3 (bug 1284414)
2018-02-07 20:09:23 +02:00
Milan Knežević f1ef29a421 Bug 1284414 : Wasm baseline MIPS32/64 r=lth
--HG--
extra : rebase_source : 57cd4813b2f8d15446902ade2f4fb0786841650b
2018-02-01 15:15:54 +01:00
Dragan Mladjenovic e3e552ebad Bug 1435185 : [MIPS32] [MIPS32] Ensure that Baldr and Rabaldr locals are naturally aligned ; r=luke
--HG--
extra : rebase_source : 7d9cb976104f5038614ffddcd979991b2509aa5b
2018-01-30 09:23:24 +01:00
Matthew Gaudet c503e8a777 Bug 1433959: Convert GetIntrinsic inline cache to CacheIR r=tcampbell
--HG--
extra : rebase_source : e4eebd988919a347a9de30c7e83cbfd1630b0b37
2018-02-06 11:43:25 -05:00
Jon Coppeard 0cb35f87a6 Bug 1435327 - Fix error checking while constructing module syntax error r=bbouvier 2018-02-06 11:53:39 +00:00
Jon Coppeard a2b70a9f55 Bug 1435295 - Don't attempt to mark object group unknown unnecessarily when merging compartments r=jandem 2018-02-06 11:53:21 +00:00
Lars T Hansen 5083bb08d4 Bug 1435756 - Clarify fallthrough in generated code for wasm truncate. r=bbouvier
--HG--
extra : source : ce16751adf656bb414257c3ab0450fcfb7f21ea9
extra : amend_source : 707316189f2e91d688117064e913ef18dc6d5ace
2018-02-05 20:29:27 +01:00