Commit Graph

60662 Commits

Author SHA1 Message Date
Jon Coppeard
995284e0a4 Bug 1372569 - Skip sweeping empty weak caches r=sfink 2017-06-16 10:06:28 +01:00
Jon Coppeard
52665ac9e7 Bug 1372875 - Add more assertions for hash table pointer generation and mutation count r=luke 2017-06-16 10:05:55 +01:00
Jan de Mooij
cb47875d1b Bug 1368325 - Remove JSContext::allowGCBarriers and related code as it's not used anywhere. r=billm 2017-06-16 10:40:57 +02:00
Gregory Szorc
231cefc973 Bug 1371465 - Move MSVS_VERSION to moz.configure and properly define for vs2017; r=glandium
Before, MSVS was set in old-configure and could only be unset or
"2015." We move the definition of the variable to moz.configure
and support defining its value as "2017" when VS2017 is being used.

As part of this, I discovered that GYP barfs with a "2017" value.
This is likely a limitation of the legacy version of GYP we have
vendored. Rather than go down the rabbit hole of upgrading GYP,
I added code to convert the value to "2015." This preserves existing
behavior and unblocks us from setting MSVS_VERSION properly. A
warning is emitted to remind us to remove this hack once GYP is
upgraded.

After this commit, we now generate native VS2017 solutions and
projects when building with VS2017.

MozReview-Commit-ID: BvNJX3F8qCn

--HG--
extra : rebase_source : 13a495856a83d9ca7afbb4770ebab1cc7f651cae
2017-06-14 16:52:55 -07:00
Wes Kocher
26a0f65229 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6qjm9snaB3Z
2017-06-15 16:28:22 -07:00
Jan Beich
587d174016 Bug 1373096 - Unbreak --enable-warnings-as-errors build without GeckoProfiler after bug 1372901. r=mstange
MozReview-Commit-ID: ABh2bw5CbFm

--HG--
extra : rebase_source : 9ee7dd73d9a821722b4e9f21fa8a30e31bc907e8
2017-06-15 01:37:26 +00:00
Benjamin Bouvier
6d50d62258 Bug 1372883: wasm baseline: don't read returned values from x87 FPU stack on x86; r=lth
MozReview-Commit-ID: L2ovA8EXqy1

--HG--
extra : rebase_source : efc48ad1244dbb298eec937d738eb32d7a37e247
extra : amend_source : f8577e6f60e51df6733f0ab2422b1ce16c12ab8a
2017-06-14 16:46:29 +02:00
Nicolas B. Pierron
531bc552f1 Bug 1307633 - XDRScript: Do not attempt to free 0-initialized scriptData_ on OOM. r=shu 2017-06-15 12:32:27 +00:00
Jan de Mooij
538e83fc86 Bug 1372182 part 6 - Inline PurgeEnvironmentChain. r=anba 2017-06-15 14:30:42 +02:00
Jan de Mooij
e9095f3667 Bug 1372182 part 5 - Inline PropertyTree::getChild in NativeObject::getChildProperty. r=evilpie 2017-06-15 14:30:00 +02:00
Jan de Mooij
cc48a0fe76 Bug 1372182 part 4 - Refactor/optimize PropertyTree::getChild a bit. r=jonco 2017-06-15 14:29:24 +02:00
Sebastian Hengst
1b26da1b2f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-15 11:17:07 +02:00
Sebastian Hengst
20d16dadd3 merge mozilla-inbount to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 36YqbsnO3en
2017-06-15 11:11:30 +02:00
Jan de Mooij
db87c175f5 Bug 1372182 part 3 - Merge jspropertytree.* with vm/Shape.* r=evilpie 2017-06-14 15:19:07 +02:00
Jan de Mooij
4740fd3b46 Bug 1372182 part 2 - Refactor NativeObject::allocSlot to make things faster for non-dictionary objects. r=anba 2017-06-14 15:18:23 +02:00
Jan de Mooij
e2976163c2 Bug 1372182 part 1 - Inline NativeObject::dynamicSlotsCount and related methods. r=anba 2017-06-14 15:17:35 +02:00
Florian Quèze
a5e2cbd774 Bug 1373047 - mozJSSubScriptLoader::LoadSubScript should add a pseudo stack frame showing which script is loaded, r=mstange. 2017-06-15 00:58:25 +02:00
Florian Quèze
fd8b6d1c71 Bug 1372901 - Add a pseudo stack frame showing which module is being imported by a Cu.import call, r=mstange. 2017-06-15 00:58:25 +02:00
Ted Campbell
8b0a6d7518 Backed out changeset a40056f67040 (bug 1169746) for breaking six-speed benchmark 2017-06-14 18:25:29 -04:00
Jan de Mooij
3b0f76327e Bug 1372851 - Disable TraceLogger by default in opt builds. r=bbouvier 2017-06-14 13:04:23 +02:00
Ted Campbell
294999ca3a Bug 1368360 - Use distinct TDZCheckCache for for-of/for-in expression. r=shu
MozReview-Commit-ID: 6dS4wSFf4fB
2017-06-14 16:18:54 -04:00
Sebastian Hengst
c267095078 Backed out changeset 0ee807301e66 (bug 1358898) for crashing in test_add_task_run_next_test.js during Linux build. r=backout 2017-06-14 21:25:49 +02:00
Ted Campbell
d3fb13b80b Bug 1169746 - Support |super()| in Baseline. r=jandem
- Update BaselineIC for JSOP_SUPERCALL / JSOP_SPREADSUPERCALL
    - Support JSOP_SUPERFUN
    - Support JSOP_CHECKTHISREINIT

MozReview-Commit-ID: BlWsaUGeBqS
2017-06-14 15:08:51 -04:00
Ted Campbell
d9a001a139 Bug 1169746 - Disable JSOP_SUPERCALL in IonBuilder. r=jandem
This opcode has been blocked on other missing opcodes for a long
    time and requires further testing before it is unblocked again.

MozReview-Commit-ID: 7oKkJwxjVu5
2017-06-14 15:08:40 -04:00
Ted Campbell
6b004bce24 Bug 1169745 - Support JSOP_SUPERBASE in Baseline. r=jandem
MozReview-Commit-ID: QA2j2Wsrs8
2017-06-14 15:08:32 -04:00
Ted Campbell
3c43c7e2f0 Bug 1169745 - JSOP_GETPROP_SUPER should Typescript::Monitor. r=jandem
MozReview-Commit-ID: IRRNhDBzMAF
2017-06-14 15:03:10 -04:00
Olli Pettay
48ebc09772 Bug 1358898, ensure AsyncFreeSnowWhite is run often enough, r=mccr8 2017-06-14 21:43:37 +03:00
Ted Campbell
ca0e63927f Bug 1169743 - Implement class decls with extends in Baseline (cont.) r=jandem
Add baseline support for
        JSOP_INITHOMEOBJECT
        JSOP_CLASSCONSTRUCTOR
        JSOP_DERIVEDCONSTRUCTOR

MozReview-Commit-ID: 1Vdfzq1DHuD
2017-06-14 14:08:35 -04:00
Jan Keromnes
d14a6bb45e Bug 1372877 - Use nullptr in /js (clang-tidy: modernize-use-nullptr). r=nbp
--HG--
extra : rebase_source : cac11ab1f6be2dc44630aba992c2ce75d783fe66
2017-06-14 07:36:00 -04:00
Jon Coppeard
f3ac40becf Bug 1372524 - Add missing explicit keywords r=me 2017-06-14 10:52:18 +01:00
Jon Coppeard
63069bd57e Bug 1372524 - Refactor WeakCache implementation a little r=sfink 2017-06-14 10:35:16 +01:00
Jon Coppeard
3c6a3f5e83 Bug 1371908 - When merging compartments only finish an ongoing GC if it affects the destination compartment r=sfink 2017-06-14 10:33:53 +01:00
Jon Coppeard
5d86054665 Bug 1371234 - Clear GC edges when deleting a GC managed object outside a GC r=sfink 2017-06-14 10:29:52 +01:00
Marco Castelluccio
42f83ca8dc Bug 1363469 - Define signal handlers to dump and reset coverage counters. r=froydnj,kanru
--HG--
extra : rebase_source : 8fa73f2bfd1eab95caee891d6d68090b58c3ba67
extra : histedit_source : 7b7c633ebecc71508e4c0a4d1161104a511869c5%2C61fefafbedb869fffddb8182d8bfac29108ee1bb
2017-06-14 09:50:44 +01:00
Jan de Mooij
bf6aed7a06 Bug 1370608 part 3 - Use JS_NewEnumerateStandardClasses outside js/src. r=bz 2017-06-14 10:39:11 +02:00
Jan de Mooij
1a863117ff Bug 1370608 part 2 - Add JS_NewEnumerateStandardClasses and use it in js/src. r=evilpie 2017-06-14 10:39:07 +02:00
Jan de Mooij
83f290de99 Bug 1370608 part 1 - Move newEnumerate hook from ObjectOps to ClassOps. r=evilpie,bz 2017-06-14 10:37:44 +02:00
Kannan Vijayan
7c30323a6b Bug 1366377 - Unify StringSplitString ObjectGroup and fix Ion MCallOptimize. r=tcampbell 2017-06-15 13:14:33 -04:00
Kannan Vijayan
20c8d34822 Bug 1366377 - Add CacheIR stub for String_split. r=tcampbell 2017-06-15 13:09:10 -04:00
Peter Van der Beken
9b9495bf79 Bug 1252211 - Remove DOMCI for TreeSelection, XULCommandDispatcher and XULControllers. r=bz.
--HG--
extra : rebase_source : 5a24af4928dbd7754850c6e3ceff6646bfe58c93
2017-05-18 09:07:25 +02:00
Henri Sivonen
432653453a Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Carsten "Tomcat" Book
4a5a3d9f30 Backed out changeset 2c51cdd42834 (bug 1252211) for bustage 2017-06-13 12:20:33 +02:00
Carsten "Tomcat" Book
bd7620cf36 Merge mozilla-central to mozilla-inbound 2017-06-13 12:11:42 +02:00
Carsten "Tomcat" Book
d67ef71097 merge mozilla-inbound to mozilla-central a=merge 2017-06-13 12:09:48 +02:00
Bill McCloskey
0b17d548b6 Bug 1371119 - Remove watchdog observers in XPCJSContext destructor (r=mccr8)
MozReview-Commit-ID: 5tj1hbom6zR
2017-06-12 20:21:43 -07:00
Bill McCloskey
a134fb522b Bug 1371119 - Load JS prefs per context rather than per runtime (r=mccr8)
MozReview-Commit-ID: 4M1uEcIB0Mq
2017-06-12 20:21:43 -07:00
Wes Kocher
101940382d Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: K0rvhhOLins
2017-06-12 17:13:12 -07:00
Jon Coppeard
08ac3244a6 Bug 1370869 - Don't copy scope data in XDR decode r=shu 2017-06-12 10:43:46 +01:00
Andrew McCreight
b314f1f7d0 Bug 1372295 - Call SetLocationForGlobal in a single location in the loader. r=kmag
SetLocationForGlobal is called on globals created for JSMs to give
them a nice name for about:memory. Right now this is done in
ImportInto and LoadModule, but I think it makes more sense to set the
name once, right after the global is created. Calling GetSpec on aURI
seems to return the same spec we'd use in these two call sites. This
change makes it easier to label the shared JSM global nicely in bug
1186409.

MozReview-Commit-ID: 5qKMbzLEiuG

--HG--
extra : rebase_source : c5f104381187cf55a171916364fba527c44b4172
2017-06-12 10:45:52 -07:00
Ted Campbell
e347914720 Bug 1365782 - Disable jit-test/parser/bug-1355046.js on cgc for timeouts. r=test-only
Test was close to timeout already on cgc builds. Still runs in normal configs.

--HG--
extra : source : 713ef74faa5e265a14bbcce86474b6ed1ee9ec41
2017-06-09 17:03:54 -04:00