Commit Graph

62945 Commits

Author SHA1 Message Date
Jon Coppeard
1d4c4b18bf Bug 1420420 - Update module implementation to match latest spec regarding handling of instantiation errors r=anba r=baku r=jgraham 2017-12-06 14:54:58 +00:00
Bob Owen
8ba04e79f9 Bug 1422053: Create Windows sandbox sLaunchErrors hashtable on the main thread. r=aklotz 2017-12-07 09:07:43 +00:00
Matthew Gaudet
6d1461604f Bug 1423586 - Enhance test case for TypedArray IC. r=tcampbell
Before this patch, the sets would be ignored by 9.4.5.9.

--HG--
extra : amend_source : ce26064c333e09d7ec1030134699abcdb0965ef2
2017-12-06 09:48:31 -05:00
André Bargull
fdfc3f9c34 Bug 1376572 - Add a lookup cache for Array[@@species]. r=jandem 2017-12-05 04:25:54 -08:00
Sebastian Hengst
ba5c3b5f0c Backed out changeset fe2899c8ac32 (bug 1416727) for frequently failing asan's bug1416727.js. r=backout 2017-12-06 20:15:34 +02:00
Sebastian Hengst
e70bf9e08c Backed out changeset 92ad856a4bae (bug 1420420) for failing tests/jit-test/jit-test/tests/modules/bug-1402649.js after asserting. r=backout 2017-12-06 20:14:18 +02:00
Lars T Hansen
39c2ea7926 Bug 1421993 - rabaldr, abstract platform-specific registers and clean up ifdefs. r=bbouvier
On most platforms we have some platform-dependent registers that are
used for specific purposes.  These need to be wrapped in the type-safe
register wrappers.  This patch factors that wrapping into a
SpecificRegs struct that is defined per-platform and included in
BaseCompiler.  This moves platform dependencies out of BaseCompiler
and toward the top of the file, where they belong.

Also, I took the opportunity to further clean up some ifdefs and
document how I use JS_64BIT vs JS_PUNBOX64.

MozReview-Commit-ID: F0vOnQp01In

--HG--
extra : rebase_source : 69042aae4b7f6612d5d9e5d6c37327eabafa6d1d
extra : source : 590bd3618081d312f1aceca22680715498a037db
2017-12-01 10:26:29 +01:00
Lars T Hansen
3b440491aa Bug 1421993 - rabaldr, simplify scratch register management. r=bbouvier
The idea here is that on quite a few platforms we will not necessarily
want to use the assembler's ScratchRegisterScope (for any type),
because the assembler uses its scratch registers very actively, as
does rabaldr.  So on those platforms we want our own.  Same on x86,
where there isn't a scratch register.

Anyhow, to make that happen we generalize the scratch register
management here so that it can use the platform's when that is
appropriate (x64 for all, x86 for float registers) and have its own
when that is appropriate (most other platforms).  This is managed with
ifdefs set up in the configuration section.

The net result is fewer, and more easily managed, platform
dependencies.

MozReview-Commit-ID: AOpu7ju4t1c

--HG--
extra : rebase_source : 5d1d4f1f925d61be5e753209f17e5c8b420dcd5f
extra : intermediate-source : 7cea7f8e7d0b5eb0109c431d35c26cdf0ae24330
extra : source : 4a77af46bd0e620076e5b646f752bab9643ea29f
2017-11-28 13:23:39 +01:00
Jon Coppeard
73138b170f Bug 1420420 - Update module implementation to match latest spec regarding handling of instantiation errors r=anba r=baku r=jgraham 2017-12-06 14:54:58 +00:00
Tooru Fujisawa
1bb01cfa44 Bug 1228841 - Part 4: Remove conditional catch and fix Reflect.parse tests for conditional catch. r=jwalden,evilpie 2017-12-05 09:42:40 +09:00
Tooru Fujisawa
9c49a02b67 Bug 1228841 - Part 2: Remove testcases specific to conditional catch in js/. r=evilpie 2017-12-05 09:42:40 +09:00
Tooru Fujisawa
d464aa8fa7 Bug 1228841 - Part 1: Remove conditional catch consumers in js/. r=evilpie 2017-12-05 09:42:39 +09:00
David Major
ad7ff3a791 Bug 1423287 - Simplify NtCurrentTeb() handling. r=njn 2017-12-06 09:36:00 -05:00
Jan de Mooij
1648b3e191 Bug 1416727 - Fix some problems with Baseline's Call IC. r=djvj 2017-12-06 14:18:21 +01:00
Jan de Mooij
7820c6ec0d Bug 1423139 - Don't attach a SetArrayLength stub for JSOP_INITELEM. r=evilpie 2017-12-06 14:17:19 +01:00
Narcis Beleuzu
1f7fdd5826 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-06 01:49:19 +02:00
Cosmin Sabou
08218515b9 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-06 00:09:01 +02:00
Noemi Erli
47b9c00fdc Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-05 15:52:10 +02:00
shindli
2e08acdf88 Merge inbound to mozilla-central r=merge a=merge 2017-12-05 11:58:51 +02:00
Andreea Pavel
76445de93a Backed out 6 changesets (bug 1397422, bug 1228841) for devtools mochitest failure devtools/client/debugger/test/mochitest/browser_dbg_search-symbols.js r=backout a=backout on a CLOSED TREE
Backed out changeset 28f34951d1b3 (bug 1228841)
Backed out changeset 37581537c812 (bug 1228841)
Backed out changeset 41b4f7b17863 (bug 1228841)
Backed out changeset 9651b5f82d29 (bug 1228841)
Backed out changeset 901ed6dd87f2 (bug 1397422)
Backed out changeset b36c6610678d (bug 1397422)
2017-12-05 06:26:49 +02:00
Paul Bone
f61d5a1f45 Bug 1422264 - Don't switch to non-incremental GC mode if it's already non-incremental r=sfink
--HG--
extra : rebase_source : 81e04ff2dcec60ec4bf0625faaaf219cdf24a159
extra : amend_source : 372f79945ff90c6bca96e604771d000cb8332b12
2017-12-04 14:43:18 +11:00
Tooru Fujisawa
3f2d05cb80 Bug 1228841 - Part 3: Remove conditional catch and fix Reflect.parse tests for conditional catch. r=jwalden,evilpie 2017-12-05 09:42:40 +09:00
Tooru Fujisawa
244783eb02 Bug 1228841 - Part 2: Remove testcases specific to conditional catch in js/. r=evilpie 2017-12-05 09:42:40 +09:00
Tooru Fujisawa
1a88626bef Bug 1228841 - Part 1: Remove conditional catch consumers in js/. r=evilpie 2017-12-05 09:42:39 +09:00
Bogdan Tara
ebe0a1a20c Merge inbound to mozilla-central r=merge a=merge 2017-12-04 22:20:49 +02:00
manikishanghantasala
ac51063f3e Bug 1162614 - fix incorrect function name in Debugger.Script.md; DONTBUILD, r=tromey
MozReview-Commit-ID: EHjdqDxMXyC

--HG--
extra : rebase_source : a7e9f29d31d66a2d457957fb89053ba50a8cfd0f
2017-12-05 08:37:12 -07:00
Matthew Gaudet
3b05d35ff6 Bug 1419372 - Optimize in Operator for typed arrays. r=jandem
Add inline cache entry for TypedArray exists checks. Requires adding
a new CacheIR opcode LoadTypedElementExistsResult, as well as a macro
assembler implementation for that opcode.
2017-11-30 11:21:36 -05:00
Jan de Mooij
fdcdfff048 Bug 1422726 - Optimize addEnumerableDataProperty by adding a fast path for the most common case. r=bhackett
--HG--
extra : rebase_source : 4f12ef98636ea4523c01ff75f3be79ee905d160a
2017-12-04 14:56:06 +01:00
Nathan Froyd
ec3249906a Bug 1422607 - move PREPROCESS_OPTION to moz.configure; r=chmanchester 2017-12-04 08:14:06 -05:00
Nathan Froyd
3a307d4ebb Bug 1422540 - move --enable-gczeal to moz.configure; r=nalexander 2017-12-03 13:40:03 -05:00
Jan de Mooij
f6cb1d686e Bug 1417844 part 7 - Remove JSVersion. r=evilpie 2017-12-05 11:07:52 +01:00
Jan de Mooij
84728f75af Bug 1417844 part 6 - Remove more JSVersion code from XPConnect. r=kmag 2017-12-05 11:07:01 +01:00
Nathan Froyd
609fb452b4 Bug 1422380 - move --enable-jitspew to moz.configure; r=nalexander 2017-12-02 13:43:40 -05:00
Nathan Froyd
01a91d775d Bug 1421792 - move --enable-trace-logging to moz.configure; r=nalexander 2017-12-02 13:43:41 -05:00
Benjamin Bouvier
518bd67cdd Bug 1421244: Remove RegionLock; r=lth
MozReview-Commit-ID: DdHaiSGuSfw

--HG--
extra : rebase_source : deb59e2acc63c0f5286bb14e1a9e3476d05d96ea
extra : amend_source : 02a4a6ed02303693dbc6a8494d69455306dd15e6
2017-12-01 16:30:54 +01:00
Benjamin Bouvier
939fff3f0e Bug 1421244: Remove more ARMv6 dead code; r=lth
MozReview-Commit-ID: FkeXdjIcffl

--HG--
extra : rebase_source : eb168dfa352f94153f78616dfb1efa537c797ddb
2017-11-30 12:55:06 +01:00
Benjamin Bouvier
7c8fe68f05 Bug 1421244: Remove supports for atomics on ARM < v7; r=lth, sr=luke
MozReview-Commit-ID: LQKX0y49mlq

--HG--
extra : rebase_source : da2704c5f9d064e940f30a709a1d107da3fec446
2017-11-29 13:24:10 +01:00
Nathan Froyd
e511fa1e4b Backout f9231cda92d8 (bug 1421792) on suspicion of causing inscrutable moz.configure lint errors; r=bustage
Do this on a CLOSED TREE, of course.
2017-12-01 22:04:58 -05:00
Nathan Froyd
ed33603f94 Bug 1421792 - move --enable-trace-logging to moz.configure; r=nalexander 2017-12-01 21:29:27 -05:00
Nathan Froyd
d7b5304b9d Bug 1421791 - move --enable-{ion,simulator} definitions to moz.configure; r=nalexander
--enable-ion was only used by --enable-simulator and related options, so
there wasn't much point in making two separate commits.

This translation is a little more verbose than the original
old-configure code, but I think it is more readable and easier to
follow.  We also don't port over --enable-simulator=no, as there doesn't
seem to be much point in doing so.
2017-12-01 21:29:27 -05:00
Nathan Froyd
1198705b7d Bug 1421687 - move JS_*UNBOX* definitions to moz.configure; r=nalexander 2017-12-01 21:29:28 -05:00
Valerie R Young
1b7f664804 Bug 1421064 - Do not fail if options do not exist r=sfink
--HG--
extra : rebase_source : 2fba2a4048194369f33928cee3d917185fc3ec75
2017-11-28 07:21:00 -08:00
Valerie R Young
7ad8075610 Bug 1421064 - Add automatic shell.js includes to export script r=sfink
--HG--
extra : rebase_source : da4dff06b9a3d019f8c3cd57ac6bea3ef13539e5
2017-11-30 08:10:00 -08:00
Valerie R Young
1413967ab3 Bug 1421064 - Update export script to accept multiple src dirs r=sfink
--HG--
extra : rebase_source : 29b3ca01e5437d70f6fc007b68be116b207d0553
2017-11-30 08:09:00 -08:00
Kannan Vijayan
f8d39a38ec Bug 1415313 - Canonicalize f32s coming out of a TypedObject. r=jorendorff 2017-12-01 08:50:49 -05:00
Gurzau Raul
0b613c3887 Merge inbound to mozilla-central r=merge a=merge 2017-12-01 12:56:06 +02:00
Sebastian Hengst
5e55af8f82 merge mozilla-central to autoland. r=merge a=merge 2017-12-01 01:30:16 +02:00
Sebastian Hengst
7cbd9c3050 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-12-01 01:25:54 +02:00
Brindusan Cristian
6a74eec204 Merge inbound to mozilla-central r=merge a=merge 2017-12-01 00:22:25 +02:00
Ted Campbell
c10183b277 Bug 1421445 - Add NOP-slide before JIT code buffers on AMD Bobcat. r=jandem
In order to try and mitigate crashes on 64-bit FF 57+ on AMD Bobcat
CPUs, insert NOPs before the JIT code buffers. On earlier versions of
these processors, hardware bugs cause crashes to occur in locations
before the JIT code stub. For simplicity, the JitCode* pointer is
shifted even on machines that are unaffected. With the previous patch
fixing over allocation, we end up being size-neutral.

MozReview-Commit-ID: 4LqBfOzv6Qy
2017-11-30 10:39:06 -05:00