Commit Graph

61845 Commits

Author SHA1 Message Date
Ted Campbell
0c0f65b002 Bug 1401568 - [Ion] Add ResumePoint to JSOP_SETPROP TypedObject case r=jandem
This adds the required IonBuilder::resumeAfter calls to this case. There
is also some refactoring so that this call is done where the MIR store
node is.

MozReview-Commit-ID: 94udSQzPmyh

--HG--
extra : rebase_source : a44555e21db924374d6516eaf638f56fbf2d970e
2017-09-20 15:44:59 -04:00
Nicholas Nethercote
e3c9cbb969 Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.

--HG--
extra : rebase_source : 4e3f982e0873877174a08a25413595ff66f7d20e
2017-09-22 14:35:46 +10:00
Sean Stangl
e12cd767a3 Bug 1394146 - Avoid overflow on backwards iteration of IC entries. r=jandem 2017-09-21 15:37:00 -04:00
Wes Kocher
640a5d3c46 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsEMW5gXG3W
2017-09-21 17:04:36 -07:00
Wes Kocher
a7fe048680 Merge inbound to central, a=merge
MozReview-Commit-ID: E7k4xViLm4V
2017-09-21 17:03:29 -07:00
Brian Hackett
c0bced7eee Bug 1401985 - Purge frontend collection pool after off thread parsing, r=jonco. 2017-09-21 08:18:07 -07:00
Jon Coppeard
ac6b4e8831 Backed out changeset 29b2e8acf5f9 (bug 1400278) for local crashes 2017-09-21 15:50:36 +01:00
Nicholas Nethercote
1aef116268 Bug 1401100 - Remove nsIMemoryReporterCallback. r=erahm.
nsIHandleReportCallback, typedef of nsIMemoryReporterCallback, has been the
preferred name for a long time and is used in most places. This patch removes
nsIMemoryReporterCallback.

--HG--
extra : rebase_source : c675076b4f98d93d96235dad890e31e0b0e6c277
2017-09-22 08:09:29 +10:00
Christian Holler
5c886f1afd Bug 1395240 - Implement stackTest function for JS stack OOM testing. r=jandem
MozReview-Commit-ID: LRFb0adTFR8

--HG--
extra : rebase_source : f36fff24683195d4239b4ae29f3e0f0d8a0535c7
2017-09-20 14:19:21 +02:00
sourav3
d86c9b8d16 Bug 1399777 Fprinter directing output to Windows debug console when it outputs to stderr. r=Yoric
MozReview-Commit-ID: 81ubXofHIlG
***
Using PodCopy instead of std::copy and fixing spaces

--HG--
extra : rebase_source : 4da76d1821734932a717c13df4e1e42f9d9b296e
2017-09-21 17:06:51 +08:00
Kris Maglione
f37317cad0 Bug 1369533: Return dead wrappers rather than null for dead CallbackObject values. r=bz
We don't have access to an appropriate context to create the dead wrapper in
when the callback is nuked, so instead, this patch creates a new dead wrapper
in the caller compartment each time the property is accessed. This is the same
behavior we'd get when trying to re-wrap a cross-compartment dead wrapper, so
it's consistent with the way we handle these situations elsewhere.

MozReview-Commit-ID: 3cMeR4z8EOe

--HG--
extra : rebase_source : 7e8cf4a195ef64deb7677ce4ac9818d342815667
2017-09-04 17:21:06 -07:00
Xidorn Quan
c5b7f94e1c Bug 1400438 - Use array instead of linked list for -moz-border-*-colors. r=heycam,mattwoodrow
MozReview-Commit-ID: LPl1Rlg5gRn

--HG--
extra : rebase_source : c9df383e14523bb534cac5018333178b7c17167a
2017-09-18 13:38:39 +10:00
Wes Kocher
a6b8d9e91b Merge inbound to central, a=merge
MozReview-Commit-ID: JpqY5uEi1nf
2017-09-20 17:18:21 -07:00
Andrew McCreight
767b21fb24 Bug 1176342, part 2 - De-COM the flags for InitClassesWithNewWrappedGlobal. r=mrbkap
MozReview-Commit-ID: 4QFtHPIzUd0

--HG--
extra : rebase_source : e7b8c4156be165c44ddb2e7be557e52438c63d42
2017-09-19 13:12:50 -07:00
Andrew McCreight
36eb42025b Bug 1176342, part 1 - De-COM InitClassesWithNewWrappedGlobal. r=mrbkap
MozReview-Commit-ID: EfRQW3QUXCG

--HG--
extra : rebase_source : 895694d28cc228cfb095639880738c84767e08a8
2017-09-18 16:35:39 -07:00
André Bargull
eb7eab5675 Bug 1398928 - Pass correct argument to SpeciesConstructor call. r=till 2017-09-20 13:29:11 +02:00
André Bargull
25f8cf31a9 Bug 1401148 - Don't count duplicate extension sequence values as variants in BCP49 language tags. r=gandalf 2017-09-19 13:38:17 +02:00
Jon Coppeard
fdaa9799f9 Bug 1399866 - Dump more info on gray marking failure r=sfink 2017-09-20 18:23:47 +01:00
Jon Coppeard
93ba37ecef Bug 1399866 - Add gray marking assertions when setting proxy target r=sfink 2017-09-20 18:23:47 +01:00
Sebastian Hengst
df20a52132 Backed out changeset 699842251977 (bug 1401319) for spidermonkey arm bustage. r=backout 2017-09-20 19:06:19 +02:00
Jan de Mooij
810244a62c Bug 1401577 - Optimize object flag accessors on native objects. r=anba 2017-09-20 18:56:08 +02:00
Sebastian Hengst
b130673ff9 Backed out changeset 3c7dfc3cc0c0 (bug 1401243) on request from sfink (issue with hazard build). r=backout on a CLOSED TREE 2017-09-20 18:15:48 +02:00
Sebastian Hengst
073de4c005 Backed out changeset f668fa4b566d (bug 1401243) 2017-09-20 18:14:24 +02:00
Steve Fink
7bd376db9b Bug 1401243 followup - fix explicit constructor warning on a CLOSED TREE
--HG--
extra : rebase_source : 8fb16c0b2d1a3e280e441edc80edc33f74b74af8
2017-09-20 08:53:50 -07:00
Steve Fink
adefce326a Bug 1401319 - Implement xulRuntime.is64Bit for manifest tests, r=jonco
--HG--
extra : rebase_source : c1defa63b4da806ff171cd7ae3b54e4bf0a06011
extra : amend_source : 897792dc8f7467204c6be9855e4033f45c0f31f5
2017-09-19 15:43:21 -07:00
Steve Fink
9880e2f905 Bug 1401243 - Remove AutoGCRooter for Parser, r=jonco
--HG--
extra : rebase_source : 1b9a95e8290b38c2dd2d6875427c61c8c818756a
2017-09-19 09:55:33 -07:00
Jon Coppeard
2b16b7ec4c Bug 1400278 - Now fix style check bustage r=me 2017-09-20 14:00:56 +01:00
Jon Coppeard
6816847891 Bug 1400278 - Fix non-unified build bustage r=me 2017-09-20 13:35:52 +01:00
Jon Coppeard
056acc6fae Bug 1400278 - Replace runtime allocation with system or zone allocation where possible r=jandem 2017-09-20 13:19:32 +01:00
Jon Coppeard
d37d34fd39 Bug 1400278 - Replace use of RuntimeAllocPolicy with ZoneAllocPolicy r=sfink 2017-09-20 13:19:32 +01:00
Jon Coppeard
0d5497bfb5 Bug 1400278 - Fix compilation errors to do with unreachable return statements r=jandem 2017-09-20 13:19:32 +01:00
Jon Coppeard
2934befd2a Bug 1400278 - Move definition of ZoneAllocPolicy to jsalloc.h r=sfink 2017-09-20 13:19:31 +01:00
Sebastian Hengst
cbf485433e Backed out changeset 61a277705d59 (bug 1400438) for heap write hazard. r=backout 2017-09-20 16:52:02 +02:00
Xidorn Quan
4599882448 Bug 1400438 - Use array instead of linked list for -moz-border-*-colors. r=heycam,mattwoodrow
MozReview-Commit-ID: LPl1Rlg5gRn

--HG--
extra : source : 418288301c994faded0993a1cd3d73fc3b6521be
extra : amend_source : 7cba1fc0ca13b86782aa05ab4dae4cdc7eb9fbf6
2017-09-20 22:52:20 +10:00
David Teller
0f4729ce0f Bug 1401299 - Removing leftover putc(stderr, ...) from ParseNode;r=nbp
MozReview-Commit-ID: 5F78rFhxWYE

--HG--
extra : rebase_source : cad1a315428da0923822d9c829bdce4f26020598
2017-09-19 20:48:35 +02:00
Ted Campbell
63b0ef8f64 Bug 1401014 - Fix resume point in IonBuilder::setPropTryInlineAccess r=jandem
MozReview-Commit-ID: L5VpnS41tiH

--HG--
extra : rebase_source : d7eef0358a28a652b7038af8cf609d038c27ee6f
2017-09-20 00:50:20 -04:00
Jan de Mooij
e240cf665f Bug 1384121 part 2 - Add asserts to catch similar bugs and fix some false positives. r=nbp 2017-09-20 12:13:54 +02:00
Nicolas B. Pierron
dbb5850a90 Bug 1385842 - Clean-up InWorklist flags in case of OOM. r=tcampbell 2017-09-20 09:57:18 +00:00
Sebastian Hengst
79bca6297c merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-20 11:50:40 +02:00
Tooru Fujisawa
5739efc7bc Bug 1394682 - Use template object for iterator result object. r=djvj 2017-09-20 18:43:01 +09:00
Jon Coppeard
d2239c88fa Bug 1400478 - Dump object class info if we find a compartment mismatch during marking r=sfink 2017-09-20 10:27:18 +01:00
Jon Coppeard
1865b9d851 Bug 1401141 - Fix ZonesIter to return helper thread zones that are not yet being used r=sfink 2017-09-20 10:25:08 +01:00
Bobby Holley
4d49b6baed Bug 1400435 - Remove special case from analysis. r=sfink
MozReview-Commit-ID: LdX4k3hDysU
2017-09-19 22:53:25 -07:00
Cameron McCormack
402b6433ed Bug 1368922 - Set mIsDirty atomically. r=hiro
MozReview-Commit-ID: Ei3zCECVRFf

--HG--
extra : rebase_source : 0429db876e33329a250dced6e8bfcd965a5dfbc8
2017-09-20 11:30:08 +08:00
Blake Kaplan
d5d500f633 Bug 1398396 - Initialize the locale stuff on runtimes instead of contexts. r=billm
MozReview-Commit-ID: Il9HAqYdTzK

--HG--
extra : rebase_source : 29a294c02bc2be1534766f33192854f51984883e
2017-09-11 15:46:14 -07:00
Blake Kaplan
9b6798ea6f Bug 1398396 - Make locale functions take a runtime instead of a context. r=janv,jorendorff
Most of these functions already solely operate on the runtime even though they
take a context. That leads to confusion at the API user level since it looks
like they're stored on the context. JS_GetDefaultLocale still takes a context
because it actually does use the passed-in context.

MozReview-Commit-ID: 4d0LQIBExvg

--HG--
extra : rebase_source : 79370897a9dca839a6760411ea95d97c5e92cb06
2017-09-11 15:25:40 -07:00
Steve Fink
8ae1a159b8 Bug 1386344 - JS shell: implement help(/pattern/), r=tcampbell
--HG--
extra : rebase_source : b3b6ab2109f6af9e474ea164f0c520f02233dd45
2017-07-30 15:51:57 -07:00
Steve Fink
7997149dd2 Bug 1400442 - Trim down whitelists to only what is required, and mark all known issues with bug numbers, r=jonco
I also snuck in some last-minute assertions and minor fixes into this patch:

- don't stop reporting for a callee if we've seen it already (or rather, make the reachable set local to a root rather than global to all roots). This slows down runs with hundreds of hazards, but results in every problematic root being reported, for a more accurate count.

- annotate away some thread assertions

- special-case annotation for bug 1400435 since it's a whole family of hazards

--HG--
extra : rebase_source : ac7335d45e3e0772d34cb42cc6a3f628564fd3d1
2017-09-15 17:18:13 -07:00
Steve Fink
f01d6be6a4 Bug 1400442 - Special-case annotation for a->b->emplace(); a->b->Init(), r=bhackett
--HG--
extra : rebase_source : 0029b7764332896fd882d68e429800662d9178b2
2017-09-15 17:17:49 -07:00
Steve Fink
cd9758653e Bug 1400442 - stylo heap write analysis: Miscellaneous minor annotations, r=jonco
--HG--
extra : rebase_source : d22cdb4f63009949b538541c82d41db6fc57c7aa
2017-09-15 17:15:34 -07:00