Commit Graph

63747 Commits

Author SHA1 Message Date
Jan de Mooij
4307d43ea3 Bug 1425580 part 6 - Devirtualize LNode::getTemp/setTemp. r=nbp 2018-02-12 16:22:57 +01:00
Nicolas B. Pierron
d1259c9eea Bug 1437125 - Remove operand read of JSOP_DEFFUN from inspectOpcode. r=tcampbell 2018-02-12 15:01:22 +00:00
Nicolas B. Pierron
fd48b7043b Bug 1436773 - Initialized BumpChunk memory as non-accessible instead of undefined. r=tcampbell 2018-02-12 15:01:21 +00:00
Nicolas B. Pierron
d2ecb3a37b Bug 1436773 - Clean-up mem check instrumentation of LifoAlloc's BumpChunks. r=tcampbell 2018-02-12 15:01:20 +00:00
Jon Coppeard
e855dad644 Backed out changeset 1890d7511040 (bug 1436983) for failing jit-test 2018-02-12 12:00:30 +00:00
Benjamin Bouvier
51e03cf5c4 Bug 1422043: Split CodeSegment into two classes for future usage; r=luke
CodeSegment will be the base class of ModuleSegment (module's code segment)
and the to-be-introduced lazy code segment for stubs that are lazily generated.

MozReview-Commit-ID: BSoOcFRkn6g

--HG--
extra : rebase_source : d9c34923f64b35b6296c90a717f37fd68b11c662
2018-01-24 11:43:58 +01:00
Jon Coppeard
794a973741 Bug 1436697 - Fix GC heap growth factor limits r=pbone 2018-02-12 10:34:21 +00:00
Jon Coppeard
8d5884a2e6 Bug 1436983 - Don't GC while linking JIT code r=nbp 2018-02-12 10:34:21 +00:00
Boris Zbarsky
a6fdc48869 Bug 1436276. Bindings should create their return promises in the current compartment even when called over Xrays. r=bholley
These are cases that are implementing the "convert an exception to a Promise"
steps of the Web IDL spec.  Typically the exception is thrown in the current
compartment; the Promise returned should simply match that.  Otherwise we can
end up with a situation in which the promise doesn't actaully have access to
its rejection value, which will cause problems if someone uses then() on the
promise: the return value of the then() call will get a sanitized exception
instead of the real one.

We _could_ try to match the actual compartment of the exception, in theory.
But it's not clear why this would be preferable to using the current
compartment, even if there were cases in which the exception _doesn't_ match
the current compartment.  Which there likely are not.

MozReview-Commit-ID: Ac2BHIHxfvY

--HG--
rename : dom/promise/tests/test_promise_argument.html => dom/promise/tests/test_promise_retval.html
rename : dom/promise/tests/test_promise_argument_xrays.html => dom/promise/tests/test_promise_retval_xrays.html
2018-02-10 01:34:10 -05:00
Boris Zbarsky
39af174f89 Bug 1435596. Give cross-origin objects (windows and locations) a 'then' property in all cases. r=bholley
For locations, it always returns undefined.  For windows, it returns undefined
unless there is a named subframe named "then", in which case that named
subframe is returned.

The idea is to be able to resolve promises with cross-origin objects.

MozReview-Commit-ID: HPyTvtwFdsG
2018-02-10 01:21:59 -05:00
Sebastian Hengst
87f465d8f7 merge mozilla-central to mozilla-inbound. CLOSED TREE
--HG--
extra : amend_source : 0e657a5dd4f6c8893d3f5ab7b173e3c4178e9e61
2018-02-10 00:29:53 +02:00
Sebastian Hengst
f5e840425b merge mozilla-inbound to mozilla-central. a=merge 2018-02-10 00:26:50 +02:00
Nicolas B. Pierron
2015caa45a Bug 1433111 - Add JS Shell and about:config switch for Value masking. r=jandem 2018-02-09 16:49:32 +00:00
Nicolas B. Pierron
f37e8775a7 Bug 1433111 - Zero the payload if the Value tag does not match the expected tag. r=jandem 2018-02-09 16:49:30 +00:00
Jan de Mooij
52f3d5b9f2 Bug 1434230 part 4 - Enable Spectre string mitigations by default. r=luke 2018-02-09 16:47:37 +01:00
Benjamin Bouvier
3d5c7891a5 Bug 1319203: Fix asm.js profiler test; r=me 2018-02-09 14:47:10 +01:00
Benjamin Bouvier
fbe7807ab1 Bug 1319203: Remove the optimization for asm.js; r=jandem
MozReview-Commit-ID: YPfe1xDwP1

--HG--
extra : rebase_source : b762ffdf2fcd456dba6648760914f87d63d4a459
extra : histedit_source : ef6395ae0edbc57ec4f7dc10f82d3095bffe6306
2018-02-08 16:41:29 +01:00
Benjamin Bouvier
cc6669c261 Bug 1319203: Slightly optimize the jit->wasm stub; r=jandem
MozReview-Commit-ID: Hu5TLtz8iQk

--HG--
extra : rebase_source : 33c6f801815183aece66c447af9f0f9c82057451
extra : histedit_source : 1b039b18c5c3b75ae9c57a706ad33eefe55c54ab
2018-02-08 15:42:55 +01:00
Benjamin Bouvier
095cc5b266 Bug 1319203: Implement the jit-to-wasm entry stub and use it; r=luke, r=jandem
MozReview-Commit-ID: DSsR3zY4bsd

--HG--
extra : rebase_source : 1831ac4f5be25b092440f1da1517ba9a6740d19f
2018-02-08 14:37:03 +01:00
Csoregi Natalia
fca056426a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-09 18:54:37 +02:00
Ted Campbell
4dadb65ad1 Bug 1432764 - Support Debug OSR with CacheIR_Regular ICs on stack r=jandem
MozReview-Commit-ID: 1ONbWxPpS4t

--HG--
extra : rebase_source : 30a107741d37fd4a49cf0701798266190fcceb82
2018-02-08 16:20:18 -05:00
Ted Campbell
f004749d63 Bug 1382458 - Make tests using inIon() more reliable r=nbp
A number of jit-tests can fail if an ill-timed GC throws away their
JitCode. This adds jit options to those tests to prevent JitCode being
tossed.

MozReview-Commit-ID: 3hay0oIl9Fg

--HG--
extra : rebase_source : f2ef811f7f25f960cf49414c614a549296252836
2018-02-08 17:01:59 -05:00
Benjamin Bouvier
65b5cadd76 Bug 1319203: Add tests; r=luke
MozReview-Commit-ID: 5Xf6NZRpQ4M

--HG--
extra : rebase_source : 971bc1c9c6e9c87fdc3e9f75eaaab868a85800ad
2018-01-22 16:38:28 +01:00
Jeff Walden
e904db9d68 Bug 1434429 - Use the current offset, not the offset of the start of the current token, when reporting errors for unterminated string/template literals. r=till 2018-01-18 11:34:26 -08:00
Markus Stange
49735a3768 Bug 785440 - Add js::GetContextProfilingStack in such a way that it can be inlined into non-JS code. r=sfink
This requires moving some things around. RootingContext is an existing
superclass of JSContext whose members are exposed in a header file, so we can
use it to expose the location of the geckoProfiler_ member to non-JS code.

MozReview-Commit-ID: 3oClAEVMsDr

--HG--
extra : rebase_source : f5943a710cddaa65cfdcb13370f95387caaf6892
extra : source : 2f5b804cef7b0888ac6121f5645bbb910750ed72
2018-01-05 14:35:00 +01:00
Andrew McCreight
df1f7c00c3 Bug 1437978 - Add memory reporting for scriptCountsMap. r=nbp
MozReview-Commit-ID: 1AJHhJDJerr

--HG--
extra : rebase_source : f867bd00f1c41052fc6eadc23cd2dd1e41a2c354
2018-02-13 10:00:14 -08:00
Tom Ritter
41b3b96b98 Bug 1429647 Switch privacy.reduceTimerPrecision and privacy.resistFingerprinting to use Relaxed Semantics r=froydnj,mystor
MozReview-Commit-ID: HdW4tmQAcTT

--HG--
extra : rebase_source : c1e1c44a79cb0449da22c8fce954da078c1972e4
2018-01-24 18:09:43 -06:00
Dragan Mladjenovic
44f0fa0c5f Bug 1416179: Change ArrayBufferObject's !WASM_HUGE_MEMORY 64-bit max memory validation to handle values less than UINT32_MAX that lead to overflow; r=lth 2017-12-11 17:03:42 +01:00
Tiberius Oros
3e0407d30b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-09 12:14:43 +02:00
Tiberius Oros
677b0037d2 Merge inbound to mozilla-central. a=merge 2018-02-09 12:02:51 +02:00
Jan de Mooij
8f02f8ed72 Bug 1425580 part 5 - Devirtualize LNode::isCallPreserved and LNode::recoversInput. r=bbouvier 2018-02-09 10:06:36 +01:00
Jan de Mooij
c04e37408d Bug 1425580 part 4 - Devirtualize LNode::numOperands. r=nbp 2018-02-09 10:04:05 +01:00
Jan de Mooij
7869b53436 Bug 1434230 part 3 - Fix Spectre issues related to string character encoding. r=luke
--HG--
extra : rebase_source : fa4faeb873e467d838a17d825a5947924aa2ac1d
2018-02-08 22:04:35 +01:00
Jan de Mooij
8285cf95f9 Bug 1434230 part 2 - Add masm methods for string access, more Spectre mitigations. r=luke
--HG--
extra : rebase_source : f99fe28cc5714e7caad090cb2466e42cc3988952
2018-02-08 22:03:47 +01:00
Jan de Mooij
482d8c9a7b Bug 1434230 part 1 - Some Spectre mitigations for loadStringChars. r=luke,nbp
--HG--
extra : rebase_source : 463ec4c2195df912071064f97dbb07243a08ad75
2018-02-08 22:01:52 +01:00
Narcis Beleuzu
f2b1b8c261 Backed out 3 changesets (bug 1434230) for assertion failures on MacroAssembler.cpp
Backed out changeset 7f67769bbbd8 (bug 1434230)
Backed out changeset 6598194588d7 (bug 1434230)
Backed out changeset 9c9ba4938b08 (bug 1434230)
2018-02-08 23:55:40 +02:00
Jan de Mooij
aee9f60463 Bug 1434230 part 3 - Fix Spectre issues related to string character encoding. r=luke 2018-02-08 22:04:35 +01:00
Jan de Mooij
de0f12efc7 Bug 1434230 part 2 - Add masm methods for string access, more Spectre mitigations. r=luke 2018-02-08 22:03:47 +01:00
Jan de Mooij
b55aa41d52 Bug 1434230 part 1 - Some Spectre mitigations for loadStringChars. r=luke,nbp 2018-02-08 22:01:52 +01:00
Narcis Beleuzu
d299fdd9b4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-08 21:36:33 +02:00
Brindusan Cristian
4b424f0368 Merge inbound to mozilla-central. a=merge 2018-02-08 21:02:00 +02:00
Jan de Mooij
9196326968 Bug 1404710 - Also handle overrecursion in DebugEnvironments::takeFrameSnapshot. r=jonco
--HG--
extra : rebase_source : 303a14aa7fb98ee0870fd1a3fe0b66b6a9668696
2018-02-08 11:38:57 +01:00
Jon Coppeard
e2240663ec Bug 1435321 - Preserve invariants when setting high frequency heap growth parameters r=pbone 2018-02-08 11:05:39 +00:00
Tom Schuster
7fd063c021 Bug 1420101 - Add default enabled pref for Array.prototype.values. r=jandem,bz
--HG--
extra : rebase_source : a8e3eb91d08c22e63a4ff4ac499067b8a64996f1
2018-02-02 18:46:21 +01:00
Jonathan Kingston
885a7ba307 Bug 1435261 - Remove access to appcache interface OfflineResourceList over insecure contexts r=baku,mayhemer
MozReview-Commit-ID: BK7rbKOd8Yq

--HG--
extra : rebase_source : e198d64baf66d5dc5f5aefe37db4fee6154c6cf9
2018-02-02 17:26:03 +00:00
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
Adrian Wielgosik
1438296c97 Bug 1436865 - Remove nsIDOMCrypto. r=bz
MozReview-Commit-ID: 4bQVSF94bbz

--HG--
extra : rebase_source : 6386e08c4a392b75473c47997e6cf01d35be78e2
2018-02-08 13:22:20 +01: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
Jan de Mooij
6b9685dee7 Bug 1425580 part 1 - Devirtualize LNode::isCall. r=nbp 2018-02-06 10:05:04 +01:00
Dragan Mladjenovic
8d397ce841 Bug 1420838 : [MIPS32] Add atomic.wait callout support into simulator; r=lth
--HG--
extra : rebase_source : 4eaa41f9653bf6b08e066c28d1b8bb2212fea138
2017-12-12 14:36:29 +01:00
Dragan Mladjenovic
ea194c0864 Bug 1420838 : [MIPS64] Add atomic support into simulator; r=lth
--HG--
extra : rebase_source : 5df82aeea0923aa235f7c49809e431409ac2708f
2017-12-13 13:56:45 +01:00
Dragan Mladjenovic
4372aabd07 Bug 1420838 : [MIPS] Add 64-bit atomics JIT support; r=lth
--HG--
extra : rebase_source : 83d26ed059f2f78e6a22ed6ec8426c282d9e2431
2017-12-06 12:33:01 +01:00
Jason Orendorff
cfd968f58d Bug 1431202 - Part 2: Fix weird debugger stepping behavior with nested functions. r=nbp, r=jlast.
FunctionDeclarations are instantiated when we enter a scope, before any of the
code in that block/script/function is evaluated. The spec calls this phase
"declaration instantiation"; sometimes it's informally called "hoisting".

Before this patch, stepping would show this. You would step into a function,
and hitting the Step Over button a few times would visit all the nested functions
in that function. Then you would jump back to the top of the outer function and
actually start running the statements. This is so confusing that we are
changing it; now opcodes that instantiate functions don't have location
information, so stepping doesn't stop on those opcodes.

--HG--
extra : rebase_source : d8de1fc50573b82bf76dc7464355bfba068eaa30
extra : source : b94db3c0c2c0752915e2f4401269a0d24cbef882
2018-02-06 10:58:03 -06:00
Jason Orendorff
446cda1a93 Bug 1431202 - Part 1: Minor changes to comments in many files. r=Waldo, r=arai.
A bit of patch salad, but these are all loosely related to source notes,
stepping, and bytecode generation.

--HG--
extra : rebase_source : c7f6e071bd194a1575c3dc778ee5dfca9e1c833c
2018-02-01 14:14:05 -06:00
Brian Hackett
b0375a6576 Bug 1416523 - Don't attach arguments stub if the IC isn't monitored. r=jandem
--HG--
extra : rebase_source : 32db9a9c01ba1a4433deb7738baa7daaae8aaa2d
2018-02-06 14:11:34 -05:00
Gurzau Raul
98cd8b8588 Backed out changeset a643f7b63c93 (bug 1433959) for build bustage 2018-02-06 21:05:22 +02:00
Matthew Gaudet
64989c3d5c Bug 1433959 - Convert GetIntrinsic inline cache to CacheIR. r=tcampbell 2018-02-06 11:43:25 -05:00
Boris Zbarsky
63b8fc050e Bug 1435764 part 3. Add NodeFilter to xpc::GlobalProperties. r=kmag
MozReview-Commit-ID: Gv77ey3bHcs
2018-02-06 13:03:44 -05:00
Boris Zbarsky
e555c88e30 Bug 1435764 part 2. Order the members of xpc::GlobalProperties in a sensible way. r=kmag
Alphabetical order, of course.  First interfaces, then ad-hoc things.

MozReview-Commit-ID: Dz9XGMNoRo
2018-02-06 13:03:43 -05:00
Boris Zbarsky
39ba3a2fd7 Bug 1435764 part 1. Fix up the naming of some xpc::GlobalProperties members. r=kmag
The members that correspond to interface names should match the interface names.

MozReview-Commit-ID: FB8vpX2IIt9
2018-02-06 13:03:43 -05:00
Boris Zbarsky
4f2bf4184c Bug 1435483 part 21. Remove nsIException::ToString. r=qdot
MozReview-Commit-ID: 17yuhlqzbr2
2018-02-05 16:34:06 -05:00
Boris Zbarsky
d023fa0839 Bug 1435483 part 20. Remove nsIException::GetData. r=qdot
MozReview-Commit-ID: 9cDzCeddOmh
2018-02-05 16:34:06 -05:00
Boris Zbarsky
2e3807bdc2 Bug 1435483 part 19. Remove nsIException::GetLocation. r=qdot
MozReview-Commit-ID: AbVQ7IA4xqp
2018-02-05 16:34:06 -05:00
Boris Zbarsky
3bf93ec28e Bug 1435483 part 18. Remove nsIException::GetResult. r=qdot
MozReview-Commit-ID: JArus2ddEsL
2018-02-05 16:34:06 -05:00
Boris Zbarsky
12e9f78050 Bug 1435483 part 16. Switch to using dom::Exception, not nsIException, in C++ code. r=qdot
nsIException is builtinclass in idl, so whatever code we had to handle
non-dom::Exception nsIExceptions is dead code.

MozReview-Commit-ID: 6VnqDWt0041
2018-02-05 16:34:05 -05:00
Boris Zbarsky
d748458d6f Bug 1435483 part 14. Remove nsIException::GetFilename/GetLineNumber/GetColumnNumber. r=qdot
MozReview-Commit-ID: 6JN7UvkhPgl
2018-02-05 16:34:05 -05:00
Boris Zbarsky
2c00c8c971 Bug 1435483 part 6. Add an infallible "lineNumber" getter on nsIStackFrame. r=qdot
MozReview-Commit-ID: 7aYg9kJhiab
2018-02-05 16:34:04 -05:00
Boris Zbarsky
02f7baafc0 Bug 1435483 part 5. Add an infallible "filename" getter on nsIStackFrame. r=qdot
MozReview-Commit-ID: D3uuehuDqOB
2018-02-05 16:34:04 -05:00
Boris Zbarsky
0920564cb3 Bug 1435483 part 3. Remove nsIXPCException. r=qdot
This interface is not usable from JS, because we don't expose initialize() in
the WebIDL bindings for Exception.  And C++ doesn't use it.

MozReview-Commit-ID: LsIm4YA0YZE
2018-02-05 16:34:04 -05:00
Boris Zbarsky
de9c98ee56 Bug 1435483 part 2. Stop allowing creation of Exception objects via contract/CID. r=bholley
MozReview-Commit-ID: H6RmL4BZfgh
2018-02-05 16:34:04 -05:00
Andrea Marchesini
8cdf705535 Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly 2018-02-05 19:55:07 +01:00
Jeff Walden
600a478b40 Backed out changeset 835b96c27ded as a fix that should have gone out with the prior backout. r=why-did-i-push-a-patch-so-late 2018-02-03 01:10:57 -08:00
Jeff Walden
00ead48fa5 Backed out changeset 4b03e86fb95a, still issues of some kind there. r=red 2018-02-03 01:03:10 -08:00
Jeff Walden
ca820b5e0b Bug 1434429 - Another followup test-fix. r=red 2018-02-02 23:59:24 -08:00
Jeff Walden
599951fe17 Backed out changeset dcde99a8fa6c for a test failure and misuse of a function that takes an inout param, not an outparam as the patch author had assumed. r=red 2018-02-02 23:26:30 -08:00
Jeff Walden
a9b51a54a3 Bug 1434429 - Change TokenStreamCharsBase::appendMultiUnitCodepointToTokenbuf to TokenStreamCharsBase::appendCodePointToTokenbuf so that the idea doesn't require knowledge of multi-unitness. r=arai
--HG--
extra : rebase_source : 40c6f1c1f6be86c9796cbe615e7ad1a332d9549c
2018-01-29 12:35:11 -08:00
Jeff Walden
d2ef6ad9ca Bug 1434429 - Use the current offset, not the offset of the start of the current token, when reporting errors for unterminated string/template literals. r=till
--HG--
extra : rebase_source : 102061eec263a03b0eeef9da7159a850234bb216
2018-01-18 11:34:26 -08:00
Sebastian Hengst
48d66b2f69 Backed out 3 changesets (bug 1420838) for bustage: check_macroassembler_style.py. CLOSED TREE
Backed out changeset 490e4771b990 (bug 1420838)
Backed out changeset 8ca4961a705c (bug 1420838)
Backed out changeset 663444bb705a (bug 1420838)
2018-02-03 00:57:26 +02:00
John Paul Adrian Glaubitz
197f5e3acb Bug 1435228 - Fix bogus preprocessor macro for defining KNOWS_MACHINE_STATE r=bbouvier
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@suse.com>
2018-02-02 07:40:00 +02:00
John Paul Adrian Glaubitz
0212dd5f6d Bug 1435219 - Add missing WasmSignalHandler platform definitions on Linux sparc64 r=bbouvier
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@suse.com>
2018-02-02 07:28:00 +02:00
Dragan Mladjenovic
1f140ec503 Bug 1420838 : [MIPS32] Add atomic.wait callout support into simulator; r=lth
--HG--
extra : histedit_source : 122261568f22223d07c05cf1dd47b04e7e4af8a9
2017-12-12 14:36:29 +01:00
Dragan Mladjenovic
e67ea895d6 Bug 1420838 : [MIPS64] Add atomic support into simulator; r=lth
--HG--
extra : histedit_source : 8fcb2ceee565fa63c6e1c3d0f8bc63c151742f0f
2017-12-13 13:56:45 +01:00
Dragan Mladjenovic
6ca25d19cc Bug 1420838 : [MIPS] Add 64-bit atomics JIT support; r=lth
--HG--
extra : histedit_source : 69c58e1ef8241413243419fe3fc96e1d7343ddc2
2017-12-06 12:33:01 +01:00
Nathan Froyd
68c9d72195 Bug 1422732 - remove some unneeded things from js/src/old-configure.in; r=chmanchester
Surely there are other things hanging around, but these are obvious.
2018-02-02 13:23:39 -05:00
Shu-yu Guo
829db634bc Bug 1431461 - Filter for only var declarations when generating FunctionBodyVar scope data. r=jorendorff.
Test added by jorendorff.

--HG--
extra : rebase_source : b7ec44d5ac2a096c80c4f2236826f6830c77b57a
2018-01-19 11:15:58 -06:00
Boris Zbarsky
13dda50f75 Bug 1435138 part 4. Remove nsIDOMSVGLength. r=qdot
MozReview-Commit-ID: HwKT9Bdby6F
2018-02-02 08:21:33 -05:00
André Bargull
200b4c910a Bug 1430809: Don't set hc Unicode extension in resolved locale if hour12 option is present. r=gandalf 2018-01-31 11:16:30 -08:00
André Bargull
9129fc5348 Bug 1430761: Update tzdata in ICU data files to 2018c. r=Waldo 2018-02-01 05:36:03 -08:00
Csoregi Natalia
caba23a6ce Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-02 06:33:34 +02:00
Andrew McCreight
589eaa7bb4 Bug 1434952 - Remove signed.applets.codebase_principal_support pref. r=mrbkap
MozReview-Commit-ID: K8nic9kw8gF

--HG--
extra : rebase_source : 2f99d4594c88a4e6f38cbe740af8e10a5a528a81
2018-02-01 12:44:59 -08:00
Jeff Walden
e2925f1ee7 Bug 1434429 - Implement TokenStreamChars::matchMultiUnitCodePoint as a better nailing-down of behavior when processing a multi-code unit code point. r=arai
--HG--
extra : rebase_source : ff142c8a13969aec72b7acdbc77c66cff539e21f
2018-01-18 11:34:27 -08:00
Jeff Walden
576637a08c Bug 1434429 - Implement a TokenStreamChars::ungetCodePointIgnoreEOL and use it to report errors at precise locations, rather than blindly at the beginning of the token (which happens to be the same thing, just not nearly as clear about it). r=arai
--HG--
extra : rebase_source : 4c554111169521b546b55354b5ce0e3119c0d5b3
2018-01-18 11:34:27 -08:00
Jeff Walden
a71e602aa0 Bug 1434429 - Move TokenStreamSpecific::ungetCharIgnoreEOL into TokenStreamCharsBase. r=arai
--HG--
extra : rebase_source : 356e53ef433af4108e92ea404319962c53fd4596
2018-01-18 11:34:27 -08:00
Jeff Walden
a4d76d2f8b Bug 1434429 - Move TokenStreamSpecific::ungetChar into a new GeneralTokenStreamChars<CharT, AnyCharsAccess> inserted between TokenStreamCharsBase<CharT> and TokenStreamChars<CharT, AnyCharsAccess> in the token stream inheritance hierarchy. r=arai
* * *
Bug 1434429 - Followup bustage fix (?) for gcc (and maybe other?) compiler bustage.  Worked in recent clang...  r=boogstage in a CLOSED TREE

--HG--
extra : rebase_source : 68ecbc2d8134194def98326ef9bcbdb4718189a4
2018-01-18 11:34:27 -08:00
Jeff Walden
f0ac58916b Bug 1434429 - Use MakeScopeExit to reset userbuf offset in TokenStreamSpecific::putIdentInTokenbuf. r=arai
--HG--
extra : rebase_source : 57fbe0b008abc5655634ad3e2655257377705961
2018-01-29 12:08:05 -08:00
Gurzau Raul
b304596a50 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 23:58:51 +02:00
Gurzau Raul
047564ed7a Merge inbound to mozilla-central. a=merge 2018-02-01 23:53:53 +02:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Boris Zbarsky
f7f6285330 Bug 1434686 part 1. Introduce a mozilla::IgnoreErrors which can be used as a temporary to pass to an ErrorResult& arg when the error should be ignored. r=mystor
Once bug 1434689 is fixed, we can mark this thing as being required to be a temporary.

MozReview-Commit-ID: 7VX0XSYVOc4
2018-02-01 14:21:14 -05:00
Jon Coppeard
66b53c4f36 Bug 1417380 - Make background sweeping sweep by zone and free empty arenas after each zone r=sfink 2018-02-01 17:18:39 +00:00
Jon Coppeard
043a35996a Bug 1417380 - Avoid calling string finalizers in cases where we know there's no work to do r=jandem 2018-02-01 17:16:24 +00:00
Jan de Mooij
aac278c57c Bug 1434263 - Refactor JSString to have an IsLinear flag instead of IsFlat. r=luke 2018-02-01 15:29:29 +01:00
Andrew McCreight
470a8fdc64 Bug 767640, part 1 - Put Ci, Cr, Cc, and Cu on chrome contexts. r=bz,florian,jmaher
Almost every chrome script uses these abbreviations. We can avoid some
boilerplate by automatically defining them on chrome contexts where we
define Components.

The var declarations for Cc and Ci in MozillaFileLogger.js are run
before enablePrivilege("UniversalXPConnect"). The latter now attempts
to automatically define Cc and Ci, but the non-configurable Cc and Ci
prevent that. Work around this by just removing the var declarations.

MozReview-Commit-ID: 6FV9ahLeqUb

--HG--
extra : rebase_source : 75a3243ea2c267fad19cc6543046dc7b130cc4c1
2018-01-18 13:04:41 -08:00
Gurzau Raul
1315ffda06 Merge inbound to mozilla-central. a=merge 2018-02-02 00:22:39 +02:00
Ciure Andrei
c536f2de2c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-08 00:32:12 +02:00
Markus Stange
46a81f0069 Bug 1385998 - Use ReleaseAcquire memory ordering when modifying the PseudoStack. r=froydnj
Before this patch, the writes to stackPointer were done using sequentially-
consistent stores. On x86 these compile to 'xchg' instructions, which showed up
as the most expensive part of the PseudoStack overhead.

MozReview-Commit-ID: IP9w9ievEXZ

--HG--
extra : rebase_source : 6b08b1ce98b59812e9da6da055a9a8daa18a1200
2018-02-05 16:41:29 -05:00
David Teller
b44f650d0b Bug 1415443 - Adding a few asserts around calls to ExpressionDecompiler::loadAtom r=jorendorff
Apparently, we encounter semi-regular crashes in
ExpressionDecompiler::loadAtom. Adding a few asserts to help us find
out where these come from.

Also, since crashes actually happen inside `IsIdentifier()`, trivial
rewrite of this function to help us get meaningful line numbers.

MozReview-Commit-ID: 4iscSqGhP0f

--HG--
extra : amend_source : 40b59c98afa5dcc58d7e1d63d2cfcc49b400189a
2017-11-17 14:39:36 +01:00
André Bargull
aae10dea10 Bug 1434007: Implement String.prototype.trim{Start,End} stage 3 proposal. r=evilpie 2018-02-02 06:01:12 -08:00
Ted Campbell
e39c734df6 Bug 1433837 - Replace ShapedObject::shape_ with JSObject::shapeOrExpando_. r=jandem
The shape is such a key piece of how our JITs work that we should define
them on JSObject and be more explicit about the invariants. This patch
adds a |void* shapeOrExpando_| field to JSObject since we allow
JSObjects to store a non-Shape, provided they follow certain rules.

MozReview-Commit-ID: 4r1mldmGh19

--HG--
extra : rebase_source : fd9cd88433d7a58fd0acdd532296dcaa0b2119c7
2018-01-30 14:56:00 +02:00
Ted Campbell
6796c353a8 Bug 1433837 - Use accessors for ShapedObject::shape_ field. r=jandem
MozReview-Commit-ID: 4Kw6iAudVyH

--HG--
extra : rebase_source : 3a78c8dd8ab2ef268438fc720c6ecbbe43690dda
2018-01-29 13:19:00 +02:00
yuyin
6218181cc9 Bug 1434790 - MIPS64: Use XOR for Value unboxing on 64-bit to mitigate certain Spectre attacks. r=draganmladjenovic
--HG--
extra : rebase_source : c4e626080b308896ffae906816e439b8dc0499f0
2018-01-31 17:32:00 +02:00
Narcis Beleuzu
417fe29a5b Backed out changeset a4458bb78bb4 (bug 1432479) due to wrong bug number
--HG--
extra : rebase_source : 5bd7265a1823c6f8dc7d5e1ed6d5d95a9c5b6ae9
2018-02-01 14:39:58 +02:00
Jon Coppeard
afbde53835 Bug 1434622 - Use a separate lock to protect the shared script data table r=sfink 2018-02-01 12:45:43 +00:00
Dragan Mladjenovic
1fc86397cb Bug 1434835 : Port changes from Bug 1432479; r=nbp. 2018-02-01 00:00:00 +02:00
yuyin
5504a4c66c Bug 1432479 - MIPS64: Use XOR for Value unboxing on 64-bit to mitigate certain Spectre attacks. r=draganmladjenovic 2018-01-31 17:32:00 +02:00
Chia-Hung Duan
e86055999a Bug 1417388 - Simplify incremental sweeping on the main thread r=jonco 2017-12-07 17:31:28 +08:00
Jon Coppeard
e3171b2eb5 Bug 1434224 - Remove excess helper threads now ion compilations no longer pause each other r=lth r=luke 2018-02-01 08:26:24 +00:00
Cosmin Sabou
97ef7010af Backed out 7 changesets (bug 1434429) for build bustages on regress-618572.js and TokenStream.h on a CLOSED TREE
Backed out changeset 1e0faca62e86 (bug 1434429)
Backed out changeset b190c5a3dab2 (bug 1434429)
Backed out changeset 95e07a79f4b2 (bug 1434429)
Backed out changeset 21c79fd76133 (bug 1434429)
Backed out changeset 45c9102825ab (bug 1434429)
Backed out changeset 112eaf00632c (bug 1434429)
Backed out changeset 024f70aeba70 (bug 1434429)
2018-02-01 03:31:45 +02:00
Jeff Walden
97ce3ebeb2 Bug 1434429 - Comment out an assertion whose condition is disliked by certain versions of gcc for entirely mysterious reasons, to be debugged later. r=bustage in a still-CLOSED TREE 2018-01-31 16:53:44 -08:00
Jeff Walden
cc18bb0ca7 Bug 1434429 - Followup bustage fix (?) for gcc (and maybe other?) compiler bustage. Worked in recent clang... r=boogstage in a CLOSED TREE 2018-01-31 16:22:24 -08:00
Jeff Walden
b3ac36a8a8 Bug 1434429 - Implement TokenStreamChars::matchMultiUnitCodePoint as a better nailing-down of behavior when processing a multi-code unit code point. r=arai
--HG--
extra : rebase_source : a3de66ce2abb1b5399b725961e67771ef374a58d
2018-01-18 11:34:27 -08:00
Jeff Walden
fb577bbcc0 Bug 1434429 - Implement a TokenStreamChars::ungetCodePointIgnoreEOL and use it to report errors at precise locations, rather than blindly at the beginning of the token (which happens to be the same thing, just not nearly as clear about it). r=arai
--HG--
extra : rebase_source : 2402cd48df9d1a554756b1242a706d103f519901
2018-01-18 11:34:27 -08:00
Jeff Walden
806b664104 Bug 1434429 - Move TokenStreamSpecific::ungetCharIgnoreEOL into TokenStreamCharsBase. r=arai
--HG--
extra : rebase_source : 15c6b209b8a8509ed957f6b74ee0139714ecb68a
2018-01-18 11:34:27 -08:00
Jeff Walden
de083b3ca7 Bug 1434429 - Move TokenStreamSpecific::ungetChar into a new GeneralTokenStreamChars<CharT, AnyCharsAccess> inserted between TokenStreamCharsBase<CharT> and TokenStreamChars<CharT, AnyCharsAccess> in the token stream inheritance hierarchy. r=arai
--HG--
extra : rebase_source : a5ed08ccd92c29476b1219f5966aa3d63de539d2
2018-01-18 11:34:27 -08:00
Jeff Walden
9771f077e9 Bug 1434429 - Use MakeScopeExit to handle resetting userbuf offset in TokenStreamSpecific::putIdentInTokenbuf. r=arai
--HG--
extra : rebase_source : 16e63b41fc4ed043ea6328aad03596f2344f8e36
2018-01-29 12:08:05 -08:00
Nathan Froyd
87e87fc09b Bug 1434659 - move --enable-oom-breakpoint to moz.configure; r=nalexander 2018-01-31 14:35:57 -05:00
Matthew Gaudet
6caae4c219 Bug 1432168 - Make guardType(..., JSVAL_TYPE_DOUBLE) check for Double, and not Number. r=tcampbell
To make this change, replace calls to guardType that currently have DOUBLE as the value
with ones that use a new guardNumber, which tests for Numbers instead.
2018-01-26 09:24:52 -05:00
Matthew Gaudet
8165be667f Bug 1432168 - Add ToBool IC for Symbols. r=jandem 2018-01-30 10:08:58 -05:00
Matthew Gaudet
4f6a387c96 Bug 1432168 - Convert ToBool inline cache to CacheIR. r=jandem 2018-01-26 10:05:13 -05:00
André Bargull
c534d09565 Bug 1433432 - Inline Object.is(...) in Ion. r=jandem 2018-01-30 10:05:25 -08:00
Jon Coppeard
0baeaa5def Bug 1434546 - Reduce the length of time we hold the exclusive access lock while atomizing a string r=jandem 2018-01-31 16:06:48 +00:00
Jan de Mooij
25e45c8166 Bug 1433496 - Remove a bogus assert. r=nbp 2018-01-31 16:54:41 +01:00
Jan de Mooij
f32cf525dc Bug 1434279 - Remove unused EmitStowICValues. r=evilpie 2018-01-31 16:54:04 +01:00
Jan de Mooij
dc4f32901c Bug 1434267 - Add scratch register to MacroAssembler::loadStringChar. r=nbp 2018-01-31 16:53:13 +01:00
Aanchal
ad3adf7561 Bug 1431698 - Change the IntConversion enumerations to enum classes. r=bbouvier 2018-01-31 10:21:20 +05:30
Aanchal
fcdf6d6157 Bug 1431698 - Move the IntConversion enumerations from MacroAssembler.h to IonTypes.h. r=bbouvier 2018-01-26 19:12:57 +05:30
Lars T Hansen
f634ea8511 Bug 1425583 - RegisterOrSP abstraction. r=sstangl
--HG--
extra : rebase_source : ac4dd5aaff54ec34cefddebe2f8edfad7897d2a7
extra : source : 1d94ec0ef6c57b003d1cd1e053c1d6d4ca0fa6c8
2018-01-19 11:21:03 +01:00
Lars T Hansen
b37e65e581 Bug 1425583 - Hide ARM64 address computations behind an abstraction. r=sstangl
--HG--
extra : rebase_source : b9ef1e6f8f0169b5db545d862695dd70f22096ba
extra : intermediate-source : b320987d9b2cb151bceaddec220645a6decb1026
extra : source : 533dd94fa8d3d93d4332f74d5774ba9b935c2ee7
2017-12-15 16:49:01 -06:00
Lars T Hansen
9d9b05b2e8 Bug 1425583 - Rewrite gratuitous uses of getStackPointer(). r=sstangl
--HG--
extra : rebase_source : 90abf4ebc15c68f393e6bdfd8fcb44e0366ef93d
extra : intermediate-source : 1c467e11f6554e55b31fb3daf80a399d11ddfeb8
extra : source : 378cb21d204c3695d6e6bc49bcdfd5157b5a8a6f
2018-01-16 16:20:21 +01:00
Lars T Hansen
8d3eca2d64 Bug 1320353 - Avoid garbage AnyRegister. r=jandem
--HG--
extra : rebase_source : 9e6619eadb8908a1291e83137cd08d827cd3df5e
2018-01-29 16:23:52 +01:00
Andrea Marchesini
26352bfee1 Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug 2018-01-31 08:25:30 +01:00
Andrea Marchesini
2c7c69af24 Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug 2018-01-31 08:24:08 +01:00
Luke Wagner
d75320da51 Bug 1434030 - Baldr: re-optimize stack limit and JSContext retrieval (r=jandem)
--HG--
extra : rebase_source : 8a916e402f8d1980310df93401be6a83a396da93
2018-01-30 17:53:10 -06:00
Sebastian Hengst
732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Kris Maglione
19a956c2c6 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : 09a90b29837e339eec7bdf8504f86c28e74ca3dd
extra : intermediate-source : a1eca62826a1341ca24d4d2a93d4884d4fc7ad51
extra : histedit_source : eb26e73b531f9a34d3401d39f60b533b27b78540
2018-01-18 16:27:26 -08:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Jon Coppeard
779ba02591 Bug 1432794 - Skip prototype and constructor intialization for off-thread parsing r=jandem 2018-01-30 17:57:40 +00:00
Dragan Mladjenovic
8dfe56019b Bug 1434270 - Pull BaselineStubFrame back to SharedICHelpers-mips-shared.h. r=nbp 2018-01-30 10:25:31 -05:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
e050496c59 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : d0515fe4eb13b59cc490ca9d964ad9ee15ef3cd3
extra : intermediate-source : 6e56f4c8843ed134b2dba34fb007298fd55be966
extra : histedit_source : 88abf9f4ea4e740a9391278625ef07395205c3f5%2Cc14bc7a71eb413fcb573ed0d030fd7f99a1468f0
2018-01-18 16:27:26 -08:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Andrew McCreight
9d063bfac8 Bug 1420975 - Add a environment variable to record JS stack for leaks. r=froydnj,mrbkap
This patch adds a new environment variable XPCOM_MEM_LOG_JS_STACK that
changes XPCOM leakchecking to record a JS stack for all objects, in
addition to a C++ stack. This is useful when a C++ object is being
leaked due to JS. The JS stack will be printed if the object leaks, if
it is used in combination with XPCOM_MEM_BLOAT_LOG=1 and
XPCOM_MEM_LOG_CLASSES=nsFoo, if nsFoo is the class of interest.

This patch moves a few XPConnect functions for recording the stack
into xpcpublic.h so they can be called from nsTraceRefcnt.cpp.

MozReview-Commit-ID: FX2QVCSXz4f

--HG--
extra : rebase_source : 5bd4e341072f4cf7d3be774b63d2107479fe9985
2018-01-10 14:02:45 -08:00