Commit Graph

60803 Commits

Author SHA1 Message Date
Tom Ritter
3de63cb924 Bug 1377617 Silence unknown pragma errors that occur because MinGW doesn't understand MSVC pragmas r=sstangl
MozReview-Commit-ID: IWBkmn9Bxgm

--HG--
extra : rebase_source : 7530d69bc2dee117e997d952ac2822e5ab624dec
2017-06-30 19:54:57 -05:00
Tom Ritter
f6b7696c2d Bug 1377651 Make vtune variable non-static so it may be used in a non-static function r=sstangl
MozReview-Commit-ID: IlpSsMH7mq0

--HG--
extra : rebase_source : 58deeaba9ae5ddd3672d03e505840f01483f505b
2017-07-05 07:12:45 -05:00
Nicholas Nethercote
c649ebbc0f Backout 72f2cb8b917e (bug 1329923) for causing crashes.
--HG--
extra : rebase_source : c8dd4ebeb3b3e320947a56358d25d8108eb7e040
2017-07-05 14:42:29 +10:00
Phil Ringnalda
22cb9f77bb Merge m-c to m-i
MozReview-Commit-ID: H6zGgEm7oOM
2017-07-04 20:32:07 -07:00
Nicholas Nethercote
e0c550155c Bug 1375776 (part 6) - Remove Nursery::trackTimings_. r=sfink.
If these timings are on for all MOZ_GECKO_PROFILER platforms (i.e. all tier 1
platforms) then we might as well simplify things by having them on for all
platforms.

--HG--
extra : rebase_source : b1cfad51fdd819dbc897790f439255483058b484
2017-06-23 16:24:25 +10:00
Nicholas Nethercote
0291c0805e Bug 1375776 (part 1) - Fix a comment about the PseudoStack. r=shu.
The JS Engine now has a PseudoStack pointer, rather than a pointer and two
sizes.

--HG--
extra : rebase_source : bca40e48b11f4bda32ea76667ebc531e0f691796
2017-07-03 13:30:58 +10:00
Marco Castelluccio
302836196b Bug 1229277 - Introduce a map to match JSScript to script filenames instead of relying on ScriptSourceObject. r=nbp,jonco
--HG--
extra : rebase_source : a204d50f2c26903d71e2987a676edbc1994538f4
2017-07-04 18:40:42 +02:00
Kris Maglione
9291c127d9 Bug 1371248: Avoid hangs when preloader cache flush is triggered during shutdown. r=erahm
MozReview-Commit-ID: FpW53d5TTCG

--HG--
extra : rebase_source : 28b5343d276e2a2422bb438ca25de87740f65d2c
2017-06-28 14:46:30 -07:00
Tooru Fujisawa
c15c8b0121 Bug 1375436 - Do not reject promise for unhandlable exception in Async Function. r=till 2017-07-05 06:59:25 +09:00
Marco Castelluccio
6fee64e20d Bug 1378068 - Add test case for JS code coverage. r=jonco,nbp
--HG--
extra : rebase_source : 9e7cbf18a8e873a04a314b8b2325c842bef90aec
extra : histedit_source : 9e0ee352a51e791c21d42b3fc837e0309ccf5700
2017-07-04 15:11:32 +02:00
Ted Campbell
a62cae74d4 Bug 1370922 - [Ion] Handle allocation failure when generating Math.min. r=nbp
MozReview-Commit-ID: 6rENb7VcLyq
2017-07-04 11:12:11 -04:00
Carsten "Tomcat" Book
e17269582a Backed out changeset d35a0173ec7c (bug 1229277) for unexpected test failures 2017-07-04 12:04:21 +02:00
Carsten "Tomcat" Book
b7e2d5d142 Backed out changeset 843748765dc8 (bug 1229277) 2017-07-04 12:04:03 +02:00
Marco Castelluccio
61dfd12d1b Bug 1229277 - Avoid possible leak of script names from the JSScript -> script name map. r=nbp
--HG--
extra : rebase_source : 7f1fd2f03bc264c784f7ff537cb20b528990d326
2017-07-03 17:37:47 +02:00
Marco Castelluccio
7c833da65d Bug 1229277 - Introduce a map to match JSScript to script filenames instead of relying on ScriptSourceObject. r=nbp,jonco
--HG--
extra : rebase_source : 1c0c5cc201785e78dcae55313e9e25a1c862d7e1
2017-07-03 11:50:33 +02:00
Lars T Hansen
ac3f3bb121 Bug 1377518 - Support wasm opcode prefixes, and use the reserved FF prefix for internal asm.js opcodes. r=sunfish
--HG--
extra : rebase_source : 2559f595c3ebd6bd7894bbaeddb24fcc2a4267b8
2017-06-30 14:56:07 -07:00
Tom Schuster
62dbe0378c Bug 1370639 - Make the compiler warn about missing opcodes in Ion/Baseline. r=tcampbell 2017-07-02 18:41:56 +02:00
Phil Ringnalda
915412e692 Merge m-i to m-c, a=merge
MozReview-Commit-ID: HINQtggBLDr
2017-07-01 17:36:09 -07:00
Jon Coppeard
d06f7018c0 Bug 1377368 - Support allocating foreground finalized proxies in the nursery r=sfink 2017-06-30 17:31:11 -07:00
Luke Wagner
bc94e658c0 Bug 1376841 - Baldr: handle null field on OOM (r=lth) 2017-06-30 14:01:47 -07:00
Ted Campbell
b70b8cbef2 Bug 1376547 - JITs should throw if ClassConstructor used without new. r=jandem
MozReview-Commit-ID: mqAG3F7Mbi
2017-06-30 14:29:38 -04:00
Jan de Mooij
96bad8f8fc Bug 1377489 - Eliminate unnecessary string allocation + copy under FunctionToString. r=luke
--HG--
extra : rebase_source : 5d37fa9645ca8eed4bd0228d5a739f04878de979
2017-06-30 11:20:07 -07:00
Carsten "Tomcat" Book
daa67cc9e3 merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00
Tooru Fujisawa
2715d11a70 Bug 1375446 - Check the return code of Sprinter::put in Disassemble1. r=nbp 2017-06-28 13:27:24 -07:00
Jan de Mooij
dc45e8e90e Bug 1377238 - Free finished IonBuilders off-thread. r=jonco 2017-06-29 14:43:55 -07:00
Shu-yu Guo
42741f20ea Bug 1370875 - Return false in inIon if there are no JS frames on stack. (r=nbp) 2017-06-28 13:22:19 -07:00
Jan de Mooij
f660d24cb3 Bug 1376799 - Optimize Object.prototype.toString. r=evilpie
--HG--
extra : rebase_source : 01f1dfcdf9bb991c8c40cf8dc9b521501456350f
2017-06-29 11:13:41 -07:00
Carsten "Tomcat" Book
5f00ae3a8b merge mozilla-inbound to mozilla-central a=merge 2017-06-29 15:47:04 +02:00
Nicholas Nethercote
d6950b4973 Bug 1329923 - Emit profiler markers for discarding Ion code. r=h4writer,njn. r=jandem,h4writer.
--HG--
extra : rebase_source : 733559395a622f28c9554c0c22d5ca1a0d5ba4b9
2017-06-28 16:44:46 -07:00
Jan de Mooij
53de04c6f6 Bug 1375505 part 1 - Change iterator code to return JSObject* instead of returning bool + outparam. r=evilpie 2017-06-28 21:00:43 -07:00
Jan de Mooij
59ef73e706 Bug 1376961 - Inline CurrentThreadIsHeapBusy in START_ASSERT_SAME_COMPARTMENT to avoid a TLS lookup for each compartment check. r=jonco 2017-06-28 16:11:47 -07:00
Nathan Froyd
21dd68cb9e Bug 1376649 - extend lifetime of xpcshell's directory provider; r=ting
xpcshell has a custom directory provider that is passed in when XPCOM is
initialized.  XPCOM holds a reference to this directory provider, and
said reference is not released until XPCOM is shutdown.  Unfortunately,
the lifetime of the directory provider was not scoped properly, so it
would actually be destructed prior to shutting down XPCOM, resulting in
a stack use-after-free.

To avoid this problem, we need to move the provider so that its lifetime
outlives the call to both XPCOM init and shutdown.
2017-06-27 16:12:21 -04:00
Carsten "Tomcat" Book
974747932d Merge mozilla-central to autoland 2017-07-04 12:19:06 +02:00
Ting-Yu Chou
1b9d7682c6 Bug 1377815 - Remove redundant unwrapping in resolveOwnProperty() of XrayTraits and its subclasses. r=bholley
Removing the redundant unwrapping improves ~15% for the micro benchmark (bug
1348095 comment 3) on my desktop. Replace the parameter jsWrapper of
resolveOwnProperty() because it is not used.

MozReview-Commit-ID: ULHX8vyMrZ

--HG--
extra : rebase_source : b76e688f53722cfd24466668b68043366f25e917
2017-07-03 09:44:46 +08:00
Boris Zbarsky
4e52e48eb1 Bug 1377055. Assert that JSCLASS_SKIP_NURSERY_FINALIZE is not used on proxies. r=jonco 2017-06-30 17:31:41 -07:00
Ted Campbell
4b2a3cb1d8 Bug 1377051 - Support JSOP_SETELEM_SUPER in Baseline r=jandem
MozReview-Commit-ID: 5YycYP7J2w0

--HG--
extra : rebase_source : 7fc00a2d18055149ea179dba0227275f1cffcca8
2017-06-29 18:44:28 -04:00
Ted Campbell
3e2612fce6 Bug 1377051 - Support JSOP_SETPROP_SUPER in Baseline r=jandem
MozReview-Commit-ID: LNOVCntYDsM

--HG--
extra : rebase_source : 987cd42d72fc3beca649025295a9ac725c31b88b
2017-06-29 15:02:53 -04:00
Nazım Can Altınova
a0fc47069d Bug 1356124 - Add AlternateValues bindings to hazard whitelist r=me
MozReview-Commit-ID: F312Y9Rd9cP

--HG--
extra : rebase_source : 912b5b3a1ed6d69b8aa6e98966c4d37ea62252e2
extra : amend_source : cfb810d8bcf8d64571dd60aac837a5347bc4085d
2017-06-30 09:56:43 -07:00
Andi-Bogdan Postelnicu
e6beae2ce2 Bug 1376585 - prevent memory leak in setCloneBuffer_impl. r=jandem
MozReview-Commit-ID: HX2Siss7un2

--HG--
extra : rebase_source : 8d11eea64bd23028c9242c399bcbf74363fd3229
2017-06-27 14:48:57 -07:00
André Bargull
367831b5ad Bug 1371593 - Avoid repeated string atomizations when retrieving the unresolved name of a bound function. r=jandem
--HG--
extra : rebase_source : 576dda7b0788a49697518cc9d59d4ebf1ac7b814
2017-06-11 23:05:39 -07:00
Nicolas B. Pierron
90e44a6ff3 Bug 1338646 - Do not attempt to move the MGetPropertyCache into the fallback path, if the resume point got discarded. r=jandem 2017-06-28 00:18:00 +00:00
André Bargull
a6b3adf87a Bug 1367779 - Use stack allocated storage in case conversion operations when the result fits into JSInlineString. r=jandem 2017-06-09 10:54:30 -07:00
Jan de Mooij
69a640c3d8 Bug 1366903 - Fix decompilation of JSOP_REGEXP and JSOP_NEWARRAY_COPYONWRITE. r=nbp 2017-06-27 19:52:34 -04:00
Ted Campbell
0b5b089eef Bug 1169745 - Support JSOP_GETELEM_SUPER in Baseline. r=jandem
MozReview-Commit-ID: BDrZvZ5n3Q4
2017-06-27 18:50:22 -04:00
Ted Campbell
48608e8ee6 Bug 1169745 - Support JSOP_GETPROP_SUPER in Baseline. r=jandem
MozReview-Commit-ID: KTeUTsRpDWq
2017-06-27 18:50:20 -04:00
Ted Campbell
7fb9645f3b Bug 1169745 - Fix vm/Opcodes.h for JSOP_GETPROP_SUPER / JSOP_GETELEM_SUPER. r=jandem
MozReview-Commit-ID: 88UehsiXP0i
2017-06-27 18:50:19 -04:00
Shu-yu Guo
9e991dd02b Bug 1374462 - Fix super getprop and super getelem to not box 'this' values. (r=jorendorff) 2017-06-27 13:17:59 -07:00
Jan de Mooij
4dbcef5e4e Bug 1373195 - Speed up TextNode::MakeCaseIndependent for the unicode '.' character class ranges. r=arai
--HG--
extra : rebase_source : a850bbe6437f99191884097d8024befdd4126286
2017-06-27 12:03:10 -07:00
Jon Coppeard
7c2f5c4502 Bug 1369994 - Ensure template objects for typed arrays are initialized properly before exposing them to GC r=jandem a=abillings 2017-06-26 20:15:41 -04:00
Jan de Mooij
bd874203f9 Bug 1364854 - Port Object.assign to C++. r=evilpie 2017-06-27 11:05:15 -07:00