Commit Graph

58245 Commits

Author SHA1 Message Date
Xidorn Quan
bab46fee29 Bug 1326145 - Remove HAVE_CPP_AMBIGUITY_RESOLVING_USING. r=froydnj
MozReview-Commit-ID: FVDZjTJ4ZhA

--HG--
extra : rebase_source : 8767112e8969cd9a3c4c118a01bec6b174024a7f
2016-12-29 18:05:20 +11:00
Iris Hsiao
7e248d8cc9 Merge mozilla-central to autoland 2017-01-06 11:13:22 -05:00
Markus Stange
4bdc4ca0fb Bug 1323100 - Register most of the remaining threadfunc threads with the profiler. r=froydnj
As far as I can tell, this covers all the remaining threads which we start
using PR_CreateThread, except the ones that are created inside NSPR or NSS,
and except for the Shutdown Watchdog thread in nsTerminator.cpp and the
CacheIO thread. The Shutdown Watchdog thread stays alive past leak detection
during shutdown (by design), so we'd report leaks if we profiled it. The
CacheIO thread seems to stay alive past shutdown leak detection sometimes as
well.

This adds a AutoProfilerRegister stack class for easy registering and
unregistering. There are a few places where we still call
profiler_register_thread() and profiler_unregister_thread() manually, either
because registration happens conditionally, or because there is a variable that
gets put on the stack before the AutoProfilerRegister (e.g. a dynamically
generated thread name). AutoProfilerRegister needs to be the first object on
the stack because it uses its own `this` pointer as the stack top address.

MozReview-Commit-ID: 3vwhS55Yzt

--HG--
extra : rebase_source : 56dd27282e7bd09a7e7dc7ca09ccfe3a0198e7af
2017-01-05 16:34:26 +01:00
Benjamin Bouvier
aa46f91d69 Bug 1328911: Introduce resilient mode for wasm::BinaryToAst; r=luke
MozReview-Commit-ID: 3kPyoVPDBYk

--HG--
extra : rebase_source : e2000a29d0010c4a9671a291ab389e5d063c1ec4
2017-01-05 17:14:46 +01:00
Steve Fink
8ccd756578 Bug 1326134 - Report whether GC poisoning is enabled in profiles, r=jonco
--HG--
extra : rebase_source : 8b64acda00627b1ab9c8ba3666dc0dc4e51819d9
2016-12-28 17:12:23 -08:00
Steve Fink
39f806b533 Bug 1326343 - Do not compute with null Timestamp on OOM, r=jonco
--HG--
extra : rebase_source : f5226b9348a80eb34064f93ce9360d68f11913c9
2016-12-30 12:01:04 -08:00
Luke Wagner
085a76bd74 Bug 1326501 - Baldr: optimize getFuncName (r=bbouvier)
MozReview-Commit-ID: DXmL3URqxUC
2017-01-05 17:05:48 -06:00
Jason Orendorff
5d60d5ca87 Bug 1312001 - Scramble hash codes securely, to avoid leaking bits of object and symbol addresses.
MozReview-Commit-ID: yR1cIjrlPP

--HG--
extra : rebase_source : 871821e53eee5502cd255d52f02665f6845e3f09
2016-11-30 15:31:56 -06:00
Hannes Verschore
a4c83904d0 Bug 1312480, r=jandem 2017-01-05 19:33:09 +01:00
Jan de Mooij
91b032beba Bug 1326067 part 1 - Change Baseline SetProp IC to leave the RHS value on the stack instead of returning it. r=h4writer 2017-01-05 14:14:19 +01:00
Jan de Mooij
1495b2e5ac Bug 1328227 - Add payload register to availableRegs_ in useValueRegister. r=h4writer 2017-01-05 14:13:53 +01:00
Tooru Fujisawa
b9b4ce1ca0 Bug 1328134 - Clear pending exception when JS::FormatStackDump fails in StackDump. r=evilpie 2017-01-05 20:17:26 +09:00
Benjamin Bouvier
eb70d8c922 Bug 1328639: wasm: Simplify block-value popping in Ion compilation; r=luke
MozReview-Commit-ID: LRN3CWT91Lt

--HG--
extra : rebase_source : 493664cf29940f9c1c0c61ff807a6c9054271de4
extra : amend_source : 852c64d14c75c7353c73468a5ee9bc6241c17c40
2017-01-04 18:17:29 +01:00
Benjamin Bouvier
7901fac114 Bug 1328127: Fold br_table with all-same-successors into a goto in wasm; r=luke
MozReview-Commit-ID: 7DDNWYXKzSv

--HG--
extra : rebase_source : 7f84c6761bea7848bde119d1767ca0c56dba7c84
2017-01-04 18:20:07 +01:00
Hannes Verschore
b323594e9b Bug 1326213 - IonMonkey: Don't abort when trying to speculate on unstable proto, r=jandem 2017-01-05 10:25:15 +01:00
Hannes Verschore
17dcdf9c2c Bug 1328228: IonMonkey - Add extra help information trackopts in IONFLAGS, r=jandem 2017-01-05 10:22:17 +01:00
Hannes Verschore
642bdf9008 Bug 1328148: IonMonkey - Use MConcat for more cases, r=jandem 2017-01-05 10:22:16 +01:00
Hannes Verschore
54c8c2b1da Bug 1328252 - IonMonkey: Always unbox NewArray/NewObject cached optimizations, r=jandem 2017-01-05 10:22:15 +01:00
Tooru Fujisawa
00069dd84f Bug 1325606 - Return wrapped async function from caller property. r=jwalden 2017-01-05 17:09:23 +09:00
André Bargull
4956d8f41a Bug 1326453 - Part 5: Remove no longer used ListIterator implementation. r=jonco 2016-12-30 15:12:19 -08:00
André Bargull
385e5cfa47 Bug 1326453 - Part 4: Return @@toStringTag in [[OwnPropertyKeys]] trap for module namespace objects. r=jonco 2016-12-30 14:31:54 -08:00
André Bargull
eef3e8d274 Bug 1326453 - Part 3: Don't throw a TypeError when SetPrototypeOf for module namespace objects is called with null. r=jonco 2016-12-30 14:28:34 -08:00
André Bargull
575fe960af Bug 1326453 - Part 2: Change @@toStringTag for module namespace objects to non-configurable. r=jonco 2016-12-30 14:26:04 -08:00
André Bargull
b80d6e75d0 Bug 1326453 - Part 1: Remove @@iterator method from module namespace objects per ES2017. r=jonco 2016-12-30 14:24:48 -08:00
Daniel Näslund
6fdff8030c Bug 1316803 part 2 - optimize division for constant rhs. r=lth 2016-12-19 19:19:30 +01:00
Jeff Walden
2f327299fb Bug 1326454 - Add assertions to TokenStream::skipChars{,IgnoreEOL} verifying EOF isn't yet hit and that newlines aren't skipped, if appropriate. r=arai
--HG--
extra : rebase_source : d1e6ca3d465111d87f4e6d1ecdbdd011944b2500
2016-11-29 13:35:46 -08:00
Jeff Walden
306c6680e3 Bug 1326454 - Make TokenStream::skipChars{,IgnoreEOL} accept an unsigned integral number of chars to skip. r=arai
--HG--
extra : rebase_source : 1f823c6dbcd018372e7f4f3b6ee8612a22773cb8
2016-11-29 13:35:46 -08:00
Jeff Walden
f43d28abed Bug 1326454 - Make TokenStream::peekChar's signature fallible. r=arai
--HG--
extra : rebase_source : 30df9da521a9c139619b2e6f0f9f2a30d76f83b3
2016-11-22 12:32:44 -08:00
Jeff Walden
63a91f32ac Bug 1326454 - Rename TokenStream::getBracedUnicode to TokenStream::matchBracedUnicode and make its signature fallible. r=arai
--HG--
extra : rebase_source : 18eedfc991915a241132960cf42efece21330a7f
2016-11-29 13:35:46 -08:00
Jeff Walden
5279da4162 Bug 1326454 - Introduce TokenStream::warning that warns at the current offset. r=arai
--HG--
extra : rebase_source : 74f4f3d40726d93b5deaf41c827a0e9965ba1e50
2016-11-22 12:32:44 -08:00
Jeff Walden
baab0350fb Bug 1326454 - Introduce TokenStream::error that reports an error at the current offset. r=arai
--HG--
extra : rebase_source : 26c3db7d5021706cb29c97f93b79ad5385fd2d15
2016-11-22 12:32:44 -08:00
Jeff Walden
b1f099c68c Bug 1285960. r=sfink
--HG--
extra : rebase_source : 51edd4dca40eceb83bb70dea0bf870176ec4c7f9
2016-12-16 15:35:03 -05:00
Shu-yu Guo
8701148872 Bug 1319443 - Fix GlobalScopes XDR to encode global function bindings. (r=Waldo) 2017-01-04 15:15:00 -08:00
Tom Schuster
d08f86527e Bug 1328077 - Attach dense element hole IC even with zero dense elements. r=jandem,bhackett 2017-01-04 22:12:05 +01:00
Emanuel Hoogeveen
f3e78de716 Bug 1328355 - Don't unintentionally crash from the exception handler on Windows. r=jandem 2017-01-03 11:49:00 -05:00
Benjamin Bouvier
d43de884f1 Bug 1328151: Check for OOM in BinaryToAST initialization of result; r=luke
MozReview-Commit-ID: 3tnx4rS6rZc

--HG--
extra : amend_source : d3d4a59b4df0d4e4bb0a7eed171d33cea8c74973
2017-01-03 16:18:03 +01:00
Jessica Jong
4f5f57be29 Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local>. r=smaug,Waldo 2017-01-03 22:33:00 +01:00
Tom Schuster
e5006909b7 Bug 1328076 - Attach primitive IC for more properties. r=jandem 2017-01-04 12:07:58 +01:00
Tom Schuster
ee102bc0e9 Bug 1323190 - Remove Proxy friendapi. r=arai 2017-01-04 12:07:58 +01:00
Olli Pettay
d4f2be7cde Bug 1326507, rename Traverse to TraverseNative, r=mccr8
--HG--
extra : rebase_source : cb10292c2b9685855a6027a0377d10f168bbcbf6
2017-01-03 21:50:10 +02:00
Olli Pettay
0364dbc792 Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Tom Schuster
35cc48627d Bug 1317422 - Keep nicer code in JS_ResolveStandardClass. rs=Waldo 2017-01-04 00:26:49 +01:00
Tom Schuster
8c3f8e39a9 Bug 1317422 - Backout the global property propsal. r=Waldo 2017-01-04 00:26:49 +01:00
Emanuel Hoogeveen
e5801be263 Bug 1328222 - Ensure that the exception handler thread on OSX is terminated before we quit. r=jandem 2017-01-03 02:14:00 +01:00
Emanuel Hoogeveen
4e17150ba2 Bug 1326302 - Part 4: Guard against reentrancy when patching jumps as well. 2017-01-02 14:50:00 +01:00
Emanuel Hoogeveen
c6fb012f0a Bug 1326302 - Part 3: Guard against reentrancy in PageProtectingVector. r=jandem 2017-01-02 13:12:00 +01:00
Emanuel Hoogeveen
a7d77c812f Bug 1326302 - Part 2: Expose the ability to fully or partially disable protection and use it for WASM. r=jandem r=luke 2017-01-02 13:11:00 +01:00
Emanuel Hoogeveen
962851c95d Bug 1326302 - Part 1: Redesign PageProtectingVector for minimum overhead. r=jandem 2017-01-02 13:11:00 +01:00
Tom Schuster
2a8b766af3 Bug 1323190 - Attach Proxy GetElem IC. r=jandem 2017-01-03 13:09:58 +01:00
Tom Schuster
4a85614b87 Bug 1326589 - Correct CacheIR issue with uninitialized let and GetGName. r=jandem 2017-01-01 15:12:17 +01:00