Commit Graph

58270 Commits

Author SHA1 Message Date
Jon Coppeard
78644b3683 Bug 1323241 - Only report things as gray if gray marking state is valid r=sfink 2017-01-06 11:23:21 +00:00
Lars T Hansen
0c4812ce71 Bug 1316831 - wasm baseline, omit known-good bounds checks. r=luke
--HG--
extra : rebase_source : 901c6c4ab51d7b04bef01bd3b869ba7edc8fbbd4
extra : source : 26fda8717f8c85f4b3be14bbc5e506b2d4135676
extra : histedit_source : 3dd03635d81d477c43084adacd10ee2387cadd4e%2Cf063bbbbd5bf3192567d3bf38846b4018ce801b0
2017-01-09 08:15:07 +01:00
Nicholas Nethercote
2fde95af84 Bug 1324330 (part 4) - Remove some unused functions. r=mccr8.
--HG--
extra : rebase_source : 093a6ae13879deafc070ffa658d5822dc310cf88
2016-12-23 08:30:29 +11:00
Nicholas Nethercote
d7a51c9a2f Bug 1324330 (part 3) - Don't mix |Cant| and |Cannot| in function names in XPCWrappedNativeJSOps.cpp. r=mccr8.
Use |Cannot| consistently.

--HG--
extra : rebase_source : dfef428a88953a01dcaca866d82d6277ac779c8d
2016-12-23 08:30:27 +11:00
Nicholas Nethercote
47b78b17ae Bug 1324330 (part 2) - Make XPC_MAP_FLAGS non-optional when using xpc_map_end.h. r=mccr8.
I'd like to remove XPC_MAP_WANT_* altogether and use XPC_MAP_FLAGS for all the
nsIXPCScriptable flag setting, but I haven't worked out how to handle the
method definitions in xpc_map_end.h yet. In the meantime, it seems good to make
the flag setting more consistent and explicit.

In particular, the three "Module" classes have "#define XPC_MAP_WANT_CALL" and
"#define XPC_MAP_FLAGS nsIXPCScriptable::WANT_CALL" which both have the same
effect. The patch removes the latter, to make them consistent with other
classes.

--HG--
extra : rebase_source : 3119e895809bb14e63f61e4e440c84e16cc4c5f9
2016-12-23 08:30:22 +11:00
Nicholas Nethercote
dd6856ca4d Bug 1324330 (part 1) - Mark js::Class and related types as NONHEAP. r=mccr8.
--HG--
extra : rebase_source : 94d5d7fcc5719f59741c7b50750f5beceb6cb08a
2016-12-19 14:18:41 +11:00
André Bargull
f1745c546c Bug 843758 - Generate currency information for Intl with make_intl_data.py. r=Waldo
--HG--
extra : rebase_source : b7e4007e48a1aea21ef52f28a15e1b1358e239d7
2017-01-06 14:09:58 -08:00
Nathan Froyd
4ccf79d833 Bug 1329185 - remove check for __attribute__((always_inline)); r=mshal
We never use the result of this check, and every place that would care
about this just does the check via compiler preprocessor checks.
2017-01-07 11:23:42 -05:00
Ryan VanderMeulen
1e6f972917 Merge inbound to m-c. a=merge 2017-01-07 11:22:47 -05:00
Ryan VanderMeulen
f35d8f4f3b Backed out changeset 2a694bf4a9de (bug 1323241) for causing frequent GC crashes in CI. 2017-01-07 10:45:47 -05:00
Ryan VanderMeulen
e9ea578bba Backed out changesets 29bc945061a0 and 1c11ff13ba6c (bug 1324773) for causing frequent GC crashes in CI. 2017-01-07 10:45:39 -05:00
Jan de Mooij
bd6dbbe6b3 Bug 965992 part 3 - Add an is-object debug assert to GuardDOMExpandoMissingOrGuardShape. r=bz 2017-01-07 10:22:12 +01:00
Jan de Mooij
e876c90931 Bug 965992 part 2 - Add inline caches for getting DOM expando properties. r=bz,evilpie 2017-01-07 10:21:43 +01:00
Jan de Mooij
2899972b1e Bug 965992 part 1 - Rename some CacheIR instructions related to DOM proxies. r=bz,evilpie 2017-01-07 10:20:42 +01:00
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
David Major
9c47757934 Bug 1329018 - Part 2: Wasm: Move function validation to helper threads. r=luke
MozReview-Commit-ID: HA9WOoSjZFr

--HG--
extra : rebase_source : f086c17bd9c7cbaf01f95b9d477e26888f83987b
2017-01-06 17:15:48 -06:00
David Major
ce404f2d14 Bug 1329018 - Part 1: Wasm: Add plumbing for compile threads to report validation errors. r=luke
MozReview-Commit-ID: 2cS7skk5tdk

--HG--
extra : rebase_source : 24dd758202e5b15efc9a0bbb5aa7f115cee25683
2017-01-06 17:15:23 -06:00
Sebastian Hengst
9acd1ac77a Backed out changeset 996a1ee2414b (bug 843758) for failing spidermonkey test 11.1.1_20_c.js. r=backout 2017-01-06 16:57:18 +01:00
André Bargull
3799931122 Bug 1328587: Add @@toStringTag property to Intl prototypes per ECMA-402, 2nd edition. r=Waldo 2017-01-04 07:20:16 -08:00
Tom Schuster
30e83038c4 Bug 1323190 - Inline Proxy::get into JIT VM functions. r=jandem 2017-01-06 16:21:44 +01:00
André Bargull
07761c900b Bug 1328128 - Handle negative zero when resolving fraction digit options. r=Waldo 2017-01-05 14:12:43 -08:00
André Bargull
0840b95397 Bug 843758 - Generate currency information for Intl with make_intl_data.py. r=Waldo 2017-01-06 06:02:58 -08:00
Nathan Froyd
f6a73ed989 Bug 1315274 - rename mozilla::MakeRange to mozilla::IntegerRange; r=Waldo
MakeRange is just way too generic for this sort of thing.
2017-01-06 09:22:53 -05:00
Jon Coppeard
0e004c9366 Bug 1324773 - Fix test bustage r=me 2017-01-06 11:54:19 +00:00
Jon Coppeard
73e99c3caa Bug 1324773 - Sweep JSCompartment::varNames_ r=sfink a=abillings 2017-01-06 11:23:22 +00:00
Jon Coppeard
925658638d Bug 1323241 - Only report things as gray if gray marking state is valid r=sfink 2017-01-06 11:23:21 +00: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