Wes Kocher
39066d6984
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 2k4filK9zyX
2017-06-16 17:58:58 -07:00
Jan de Mooij
6765978750
Bug 1372182 part 9 - Inline more functions. r=anba
2017-06-16 17:43:07 +02:00
Jan de Mooij
6dbbe103da
Bug 1372182 part 8 - Optimize AddTypePropertyId. r=evilpie
2017-06-16 17:42:23 +02:00
Jan de Mooij
733406cbad
Bug 1372182 part 7 - Inline some more functions. r=anba
2017-06-16 17:41:22 +02:00
Ted Campbell
1bbd64432a
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-16 10:43:17 -04:00
Ted Campbell
b07e3c22cf
Bug 1169746 - Don't use templateObjects for derived constructor calls. r=jandem
...
MozReview-Commit-ID: D3QI7ryBmuW
2017-06-16 10:43:09 -04:00
Kris Maglione
9c02fdf113
Bug 1363301: Always provide live wrappers for ScriptSourceObjects. r=shu,bholley
...
MozReview-Commit-ID: LTNN66FywU4
--HG--
extra : rebase_source : 6fc6bd6077229fe511b02116b9e3f9eb1c99f2fa
2017-06-14 15:38:59 -07:00
Jan de Mooij
3adc938ea8
Bug 1373290 - Move object/string pre-barrier null check to JIT code. r=nbp
2017-06-16 14:57:14 +02:00
Nicolas B. Pierron
c0de281328
Bug 1330373 - Capture JSScript::lazyScript field when encoding bytecode incrementally. r=shu
2017-06-16 12:31:54 +00:00
Jon Coppeard
a76430d89e
Bug 1373214 - Change Zone::isGCMarking() to avoid a TLS lookup r=sfink
2017-06-16 10:25:41 +01:00
Jon Coppeard
092c893028
Bug 1373209 - Use non-mutating iterator when checking tables after moving GC r=sfink
2017-06-16 10:07:41 +01:00
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
Cameron McCormack
3f6d354226
Bug 1364361 - Part 2: Make AllChildIterator find NAC created by all of an element's anon boxes. r=bz,janx
...
MozReview-Commit-ID: IfTLBhhG1Ya
--HG--
extra : rebase_source : aa5c7136f3425def8efa221c7f3e63240ac6ad8e
2017-06-16 17:22:34 +08:00
Sebastian Hengst
c21843350e
Backed out changeset e9f7c901e132 (bug 1364361)
2017-06-16 11:18:27 +02:00
Cameron McCormack
68b572fafa
Bug 1364361 - Part 2: Make AllChildIterator find NAC created by all of an element's anon boxes. r=bz,janx
...
MozReview-Commit-ID: IfTLBhhG1Ya
--HG--
extra : rebase_source : d9b7a4c6e0a7893dc1cd7b3337c32a4fd3bd0bff
2017-06-16 15:37:06 +08: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
Kannan Vijayan
2bc5760763
Bug 1366377 - Optimize single-char splitting in VM. r=jorendorff.
2017-06-16 13:47:27 -04:00
Olli Pettay
2edc8a2488
bug 1358898, ensure AsyncFreeSnowWhite is run often enough, r=mccr8,nfroyd
2017-06-16 20:00:04 +03: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
Ryan VanderMeulen
f71b527983
Backed out changeset 882d55c60444 (bug 1365782) to avoid adding risk to Beta55.
...
--HG--
extra : source : 09084e1e008f1390659eced83bbea2b0a30644a7
extra : intermediate-source : 700eb2e25b4f00caef4830bf402af4040fb5e7cb
2017-06-08 13:17:52 -04:00
André Bargull
cd36e3a564
Bug 1370817 - Avoid calling slice in self-hosted code. r=till
2017-06-07 02:58:34 -07:00
Shu-yu Guo
fd2de45f2b
Bug 1371105 - De-templatize parse handlers. (r=jorendorff)
...
The ParseHandlers were made to take a CharT because FullParseHandler
held a pointer to a syntax parser for syntax parsing. This patch moves
that pointer into Parser to detemplatize the handlers. It also collapses
the |abortedSyntaxParse| flag, which was already on the Parser, and
re-uses the new |syntaxParser| field in Parser to track if a syntax
parse was aborted.
2017-06-09 17:44:21 -07:00
Carsten "Tomcat" Book
a6cba61b0e
merge mozilla-inbound to mozilla-central a=merge
2017-06-09 16:03:43 +02:00
Carsten "Tomcat" Book
ea48e176bb
Merge mozilla-central to autoland
2017-06-09 13:04:17 +02:00
Carsten "Tomcat" Book
34b558689d
Merge mozilla-central to mozilla-inbound
2017-06-09 13:03:16 +02:00
Carsten "Tomcat" Book
d5a13ba05e
merge mozilla-inbound to mozilla-central a=merge
2017-06-09 12:58:49 +02:00
Jon Coppeard
0924a2d29c
Bug 1369748 - Parallelise the start of GC marking r=sfink r=smaug
2017-06-09 11:44:15 +01:00
Jon Coppeard
5a31115d2a
Bug 1369748 - Refactor GCRuntime::beginMarkPhase r=sfink
2017-06-09 11:40:41 +01:00
Jan de Mooij
3227b2735a
Bug 1371215 part 3 - Optimize and simplify Matcher a bit more. r=luke
2017-06-09 09:19:08 +02:00
Jan de Mooij
29ea196af6
Bug 1371215 part 2 - Remove FirstCharMatcher16bit as it's not used much and has some perf issues. r=luke
2017-06-09 09:18:30 +02:00
Jan de Mooij
20be2e7edb
Bug 1371215 part 1 - Use the memchr optimization on OS X too, as it's fast now. r=luke
2017-06-09 09:17:58 +02:00
Wes Kocher
1be06aea28
Merge m-c to autoland, a=merge
...
UPGRADE_NSS_RELEASE
MozReview-Commit-ID: ItWcUAUYyaj
--HG--
extra : amend_source : fc43f23f0e12d5f88d72be9526a953d8015e6975
2017-06-08 18:44:32 -07:00
Ehsan Akhgari
3615b687a6
Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug
2017-06-08 09:49:49 -04:00
Carsten "Tomcat" Book
b9d94b34d4
merge mozilla-inbound to mozilla-central a=merge
2017-06-08 14:43:56 +02:00
Carsten "Tomcat" Book
383edc0429
Backed out changeset 575e351a12af (bug 1361461) for causing frequent reftest assertion failures like Assertion failure: false (Ran out of memory while building cycle collector graph), at z:/build/build/src/xpcom/base/nsCycleCollector.cpp:929
...
--HG--
extra : rebase_source : d4b0d05b42656579e35efde2d676c2f8f0115299
2017-06-08 11:27:43 +02:00
Jon Coppeard
99a06afc6b
Bug 1370541 - Always assert that the atom is marked when setting a function's name r=sfink
2017-06-08 10:21:01 +01:00
Jon Coppeard
9879ff0e4b
Bug 1370869 - Don't allocate scope bindings data only to delete it immediately r=shu
2017-06-08 10:18:49 +01:00
Ehsan Akhgari
8e38408bd7
Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug
2017-06-07 21:49:03 -04:00
Ryan VanderMeulen
9b7a73b65a
Merge m-c to autoland. a=merge
...
UPGRADE_NSPR_RELEASE UPGRADE_NSS_RELEASE
--HG--
extra : amend_source : a59e53ba2f8db608f613f21ad6da2b5be8814aa4
2017-06-07 22:55:56 -04:00
Sebastian Hengst
481ca2cea0
Backed out changeset 47ce8dbb036e (bug 1356189) for no tests result for own test await-restricted-nested.js on Windows 7 VM opt. r=backout
2017-06-07 20:27:53 +02:00
Ehsan Akhgari
3cc0bd4b17
Backout bug 1361461 due to potentially introducing some intermittent reftest failures
2017-06-07 13:01:24 -04:00
André Bargull
d50d361001
Bug 1356189 - Ensure 'await' is always a restricted identifier when parsing modules. r=shu
2017-06-06 01:42:18 -07:00
André Bargull
72d1fbb476
Bug 1368963 - Avoid extra calls to GetPropertyKeys() in Object.freeze/seal/preventExtensions. r=jandem
2017-06-02 12:04:31 +02:00
Ehsan Akhgari
db983a3ae9
Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug
2017-06-07 10:57:09 -04:00
Jan de Mooij
2d0e498645
Bug 1370823 - Don't evict the nursery in NukeCrossCompartmentWrappers and RecomputeWrappers. r=jonco
2017-06-07 15:46:21 +02:00
André Bargull
ef5240082d
Bug 1364363: Remove the packed array check for Array.p.indexOf/lastIndexOf to fix a spec compliance issue. r=evilpie
...
--HG--
extra : rebase_source : 022040b2cf42cf0eb67040e4e5d36db886704125
2017-06-05 13:20:31 +02:00
Benjamin Bouvier
86411e9135
Bug 1370820: Allow disabling async stacks for the JS shell; r=jandem
...
MozReview-Commit-ID: 2mDd0r2PV2A
--HG--
extra : rebase_source : 718e836bab5420295a6220a3849f6c59b3934eb5
extra : histedit_source : 378dfb5a339ab93c8e1097a02fd6b6d110cfc6c9
2017-06-07 10:49:05 +02:00
Benjamin Bouvier
6c0a575bcf
Bug 1362357: Follow-up: add dummy values for PushedTLS and PushedExitReason on arm64/none; r=bustage
...
Some range checks were tautological because we were comparing
PushedTLS/PushedExitReason against 0, although they're uint32. Give them dummy
values to prevent these warnings from showing up.
MozReview-Commit-ID: 9JalPeYZzSl
--HG--
extra : histedit_source : 92a5e68985346095b9e2919a4483d1e5c5756851
2017-06-07 13:31:13 +02:00
Manish Goregaokar
b54d85dfda
Bug 1370734 - Whitelist ThreadSafeGetDefaultFontHelper; r=bustage
...
MozReview-Commit-ID: 96EmHaniGda
2017-06-07 16:33:19 -07:00
Manish Goregaokar
5f46f56cb9
Bug 1370734 - Fix hazards ; r=bustage
...
MozReview-Commit-ID: 1H4VwQ3Jdg6
2017-06-08 08:25:10 -07:00
Benjamin Bouvier
676c55f50d
Bug 1362357: wasm: Move exitReason to the wasm::Frame; r=luke
...
MozReview-Commit-ID: 9351D0DQVEf
--HG--
extra : rebase_source : dc1d27e24fa0c12eba3f699f493f75b0193c4b9b
extra : amend_source : 6ec242303ad225d8b50545eb4e68321b476394c4
2017-05-05 12:09:48 +02:00
Jan de Mooij
575b353a66
Bug 1363150 - Simplify the code for freezing dense elements. r=anba
2017-06-07 11:42:04 +02:00
Ted Campbell
f671bc9f7e
Bug 1365782 - Backout the backout of changeset 882d55c60444 because of cgc bustage because current bustage is worse than potential future risk a=bustage
...
MozReview-Commit-ID: BdjMzfJjez
2017-06-08 18:21:10 -07:00
Jan de Mooij
5feb5db5e7
Bug 1371097 - Change sRopeMatchThresholdRatioLog2 from 5 to 4 to flatten less eagerly. r=luke
2017-06-08 20:19:37 +02:00
André Bargull
735eb4e675
Bug 1370214 - Don't allocate RegExp objects during syntax parsing for RegExp literals. r=shu
2017-06-07 03:19:41 -07:00
Benjamin Bouvier
1e1d66cfc9
Bug 1371317: ARM simulator: don't assert when triggering a second interrupt; r=luke
...
MozReview-Commit-ID: CqmCkNFk93t
--HG--
extra : rebase_source : f6aada78431b547d8d7392d8b0adf70b493b423a
extra : histedit_source : 7f0b27e2a5621bc126a741157668d638ed8aac47
2017-06-08 18:12:39 +02:00
Ryan VanderMeulen
ed9030a41a
Backed out changeset 882d55c60444 (bug 1365782) to avoid adding risk to Beta55.
2017-06-08 13:17:52 -04:00
Jon Coppeard
6811f6b090
Bug 1368446 - Fix gray marking assertion failures by calling ExposeObjectToActiveJS in UncheckedUnwrap r=sfink
2017-06-07 09:51:26 +01:00
André Bargull
41a41095c2
Bug 1368626 - Avoid duplicate lookups when setting a new property. r=jandem
...
--HG--
extra : rebase_source : cf51f98fe011379a74545d4b6787ee1ef39ffb4e
2017-06-02 20:36:43 +02:00
André Bargull
46fea327c8
Bug 1370208 - Inline Boolean constructor when called as a function. r=nbp
...
--HG--
extra : rebase_source : dcfc345881550a8e4179da27baade79dccff5e0b
2017-06-05 16:26:24 +02:00
Boris Zbarsky
d6c61dbb66
Bug 1364816
part 4. Add a JS friend API for getting an jsid from a known-atom JSString*. r=jandem
2017-06-06 21:21:44 -04:00
André Bargull
1d80223f3d
Bug 1370195 - Use fewer array allocations when invoking bound functions with many arguments. r=till
2017-06-05 13:49:29 +02:00
André Bargull
0e26ff6ffa
Bug 1370194 - Prefer to use Array objects when performing array operations in Intl self-hosted code. r=till
2017-06-05 13:27:36 +02:00
André Bargull
14cefed850
Bug 1369762 - Don't atomize empty function names when retrieving the unresolved name of a bound function. r=till
2017-06-02 17:41:11 +02:00
André Bargull
6663e29a55
Bug 1369680 - Use HasOwnProperty when resolving lazy properties to avoid triggering proxy traps in the proto-chain. r=jandem
2017-06-02 16:11:42 +02:00
André Bargull
b2ce10de42
Bug 1369337 - Forcibly create length and @@iterator properties for arguments when redefining. r=evilpie
...
--HG--
extra : rebase_source : 5bd47ea33e4274b42443662aa6477b5678dea3df
2017-06-02 12:04:41 +02:00
André Bargull
3ec0f179de
Bug 1364979 - Don't use Latin-1 when encoding the export name for missing exports. r=jonco
2017-06-05 13:10:45 +02:00
André Bargull
760dd32599
Bug 1343363 - Check RegExp wasn't modified in RegExp.p.@@replace global elem-base optimized path. r=till
2017-06-05 13:23:01 +02:00
Sebastian Hengst
a2e96d0054
Backed out changeset 8adc00c59534 (bug 1369712) for crashes in xpcshell tests on Linux and OS X, e.g. in test_captive_portal_not_found.js @ JS::HeapObjectPostBarrier. r=backout
2017-06-06 15:30:02 +02:00
Jan de Mooij
493ab5efca
Bug 1368736 - Mark BaselineFrame as debuggee frame in HandleDebugTrap if the breakpoint is on JSOP_DEBUGAFTERYIELD. r=shu
2017-06-06 15:06:55 +02:00
Jan de Mooij
c42d719d38
Bug 1368576 - Fix addOsrValueTypeBarrier to use type from the TypeSet if it's more precise. r=nbp
2017-06-06 15:05:08 +02:00
Nicolas B. Pierron
975bc903fa
Bug 1369803 - Allow FinishIncrementalEncoding call even if StartIncrementalEncoding call failed. r=shu
2017-06-06 12:24:31 +00:00
Jon Coppeard
4474d8cea0
Bug 1369712 - Fix removing the gray roots tracer r=mccr8
2017-06-06 11:25:58 +01:00
Jon Coppeard
422260f4ea
Bug 1341367
- Make the sense of HashTable::Ptr::isValid match its name r=luke
2017-06-06 11:25:57 +01:00
Jon Coppeard
4a30be9019
Bug 1370252 - Fix spurious jit-tests failures with incremental zeal mode r=sfink
2017-06-06 11:25:57 +01:00
Jan de Mooij
9b39547583
Bug 1364346
part 3 - Optimize Array.prototype.unshift by taking advantage of shifted elements. r=anba
...
--HG--
extra : rebase_source : 793e3dbf21745b1f13661f4856c582a86987a493
2017-06-06 12:16:25 +02:00
Benjamin Bouvier
71b086f56b
Bug 1364520: Remove the jitTop optimization; r=jandem
...
MozReview-Commit-ID: 1ifOuh90QEK
--HG--
extra : rebase_source : 4609aefd9e92c9f438bb9e955ea6dadc2750fc19
2017-06-02 19:34:05 +02:00
Jon Coppeard
bcbfa5c7e9
Bug 1370069 - Fix several issues with incremental atom sweeping r=sfink
2017-06-06 09:46:15 +01:00
Nicholas Nethercote
1b418b1c18
Bug 1369644 - Remove use of |volatile| from ProfileEntry. r=mstange,shu,jseward,froydnj.
...
These annotations aren't doing anything useful. The important thing with
the PseudoStack is that, during pushes, the stack pointer incrementing happens
after the new entry is written, and this is ensured by the stack pointer being
Atomic.
The patch also improves the comments on PseudoStack.
--HG--
extra : rebase_source : 100f8a5e4b750c15fac66175550c4c284a141f16
2017-06-02 17:16:56 +10:00
Wes Kocher
5141530f17
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: EiG9icZCZ3x
2017-06-05 17:39:09 -07:00
Wes Kocher
3c05a4998a
Merge inbound to central, a=merge
...
MozReview-Commit-ID: Cb3YlCdVhQr
2017-06-05 17:34:09 -07:00
Shu-yu Guo
1e741430a3
Bug 1353356 - Add rematerialized frames to the table on JitActivation after rematerialization succeeds. (r=jandem)
2017-06-05 16:58:50 -07:00
Nick Fitzgerald
3da50d518b
Bug 1370381 - Remove non-JS Cargo.toml files when bundling SM tarballs; r=sfink
...
There are a bunch of invalid Cargo.toml files that some python stuff uses for
testing, but these cause errors out of cargo when we point to one of the SM
source tarballs as a git dependency. Easiest workaround is to not include any
non-SpiderMonkey Cargo.toml files in the source tarballs.
2017-06-05 16:29:56 -07:00
Tooru Fujisawa
cee4637db8
Bug 1368732 - Use StringReplaceString instead of String_replace in Intl. r=till
2017-06-01 01:54:18 +09:00
Tom Tromey
3a4419ea39
Bug 1369831 - fix "telementry" typo in js; r=billm
...
MozReview-Commit-ID: DxhNlSnvZZC
--HG--
extra : rebase_source : f4d93a9f4f257480c29004c481b494b10df8abe8
2017-06-02 12:49:56 -06:00
Jan de Mooij
76f4ddb420
Bug 1369963 - Fix bug1355573.js jit-test to properly check for OOM. r=me
2017-06-05 11:35:53 +02:00
Jan de Mooij
734d2d104e
Bug 1364346
part 2 - Rename unshiftElements to moveShiftedElements, tweak heuristics. r=anba
2017-06-05 11:27:25 +02:00
Kris Maglione
bd72f4a6ff
Bug 1366402: Use AutoMemMap helper in mozJSComponentLoader. r=mccr8
...
This helper is already being used in the script preloader, and encapsulates
all of the memory mapping and RAII logic used to do the same in the component
loader. Reusing it there allows us to remove a lot of redundant code.
This is applied on top of the patches for bug 989373 in order to avoid
conflicts.
MozReview-Commit-ID: AJ26qV4JLci
--HG--
extra : rebase_source : 88a338ef9a88ff0b775f3f31600f32892b932940
extra : amend_source : 8312eef5078b2782c872ae964c23c2adb54f5ef7
2017-05-20 12:20:35 -07:00
Ehsan Akhgari
3abec0f53d
Bug 1370100 - Make browser_dead_object.js correctly wait for the window to be destroyed instead of relying on the scheduling of the corresponding event; r=kmag
2017-06-04 21:42:09 -04:00
André Bargull
e9c1009c08
Bug 1357330 - Add test case. r=shu
2017-04-19 05:42:25 -07:00
André Bargull
965d9eff0e
Bug 1357330. r=shu
2017-04-18 07:07:13 -07:00
Kris Maglione
e51750a9c4
Bug 1322235: Part 6 - Replace AddonPolicyService with a stub implementation in ExtensionPolicyService. r=mixedpuppy,zombie
...
This replaces the JS policy service stubs with a pure C++ version which
directly makes policy decisions based on active WebExtensionPolicy objects.
This is the first step in a larger refactoring, which will remove the
ExtensionManagement module entirely, and replace the current add-on policy
service with direct, non-virtual access to native WebExtensionPolicy objects.
It will also be followed by related changes to migrate the content script and
extension page matching to native code, based on the existing MatchPattern and
WebExtensionPolicy bindings.
MozReview-Commit-ID: 2MpbmXZGiPZ
--HG--
extra : rebase_source : 8b268618164b45605143e858665e592de829a6fa
2017-06-03 17:12:14 -07:00
Nicholas Nethercote
2b5f064d4e
Bug 1369276 (part 2) - Convert ProfileEntry::Flags to Kind. r=shu.
...
There are three flags in ProfileEntry::Flags, which suggests there are 2**3 = 8
combinations. But there are only actually 4 valid combinations.
This patch converts the three flags to a single "kind" enum, which makes things
clearer. Note also that the patch moves the condition at the start of
AddPseudoEntry() to its callsite, for consistency with the earlier JS_OSR entry
kind check.
--HG--
extra : rebase_source : 0950769ee1530291860ef3be47d240df5939e871
2017-06-02 12:46:09 +10:00
Ehsan Akhgari
bcf998a848
Bug 1370101 - Make test_windowProxyDeadWrapper.html correctly wait for the window to be destroyed instead of relying on the scheduling of the corresponding event; r=kmag
2017-06-04 19:33:16 -04:00
Ehsan Akhgari
a621e63109
Bug 1368275 - Make test_nukeContentWindow.html correctly wait for the window to be destroyed instead of relying on the scheduling of the corresponding event; r=kmag
2017-06-03 12:20:27 -04:00
Jan de Mooij
53b79d09c3
Bug 1358135 part 2 - Preserve a Zone's JIT code also when it has Baseline code on the stack. r=bhackett
2017-06-03 17:30:02 +02:00
Wes Kocher
0d038d6513
Merge autoland to m-c a=merge
...
MozReview-Commit-ID: Fjt5XIDd0p6
2017-06-02 17:21:39 -07:00
Greg Mierzwinski
28d6f94bdb
Bug 1369410 - Enable JSVM code coverage collection on linux64-ccov. r=jmaher
...
This patch enables linux64-ccov to run JSVM code coverage collection at the same time GCOV code coverage is being collected. It uploads the code coverage that was created in a file called 'code-coverage-jsvm.zip'.
MozReview-Commit-ID: 4x5GrjRJRo4
--HG--
extra : rebase_source : 461eb6a0d6bf9f16a83899a1147c0f9cf2c02823
2017-06-02 09:57:45 -04:00
Jan de Mooij
31e118ed1f
Bug 1368570 - Fix js::FinishCompilation to handle OOM correctly. r=nbp
2017-06-02 18:42:06 +02:00
Jan de Mooij
8f33388e7a
Bug 1368735 - Fix GeneratorObject::suspend to allocate the array before changing generator state. r=jonco
2017-06-02 18:41:15 +02:00
Jan de Mooij
ab86f7bf5d
Bug 1368595 part 2 - Rewrite bug1355573.js jit-test to work around the harness not supporting error + allow-oom. r=jonco
2017-06-02 18:36:51 +02:00
Nick Fitzgerald
e700643daf
Bug 1369536 - Manually manage the js::vtune::VTuneMutex lifetime; r=jonco
...
We shouldn't be using types with constructors and/or destructors as static
variables because the time of construction/destruction is hard to determine,
which leads to bugs. Instead, we should manage these things manually from
JS_Init and JS_Shutdown.
2017-06-02 09:16:28 -07:00
Benjamin Bouvier
49989051ed
Bug 1369741: Rename wasm::MaybeActiveActivation to wasm::ActivationIfInnermost; r=luke
...
MozReview-Commit-ID: 569spEzEZuJ
--HG--
extra : rebase_source : dee532a6fe8dfd2645c6fc3bd7d925b2e7a9f53d
2017-06-02 16:10:44 +02:00