Commit Graph

58302 Commits

Author SHA1 Message Date
Benjamin Bouvier
d93ef59ab0 Bug 1329774: Fix code generation for 64-bits integer left rotation on x86; r=h4writer
--HG--
extra : rebase_source : 984fb270ccf9ab3b2dcf5cf0415398d12ffb51ce
extra : amend_source : 19c0c9e3bafd2733778c39bba09f7352a8e38e3d
2017-01-10 16:16:41 +01:00
Jon Coppeard
956ef5d484 Bug 1324773 - Sweep JSCompartment::varNames_ r=sfink a=abillings
* * *
Bug 1324773 - Fix test bustage r=me
2017-01-06 11:23:22 +00:00
Carsten "Tomcat" Book
fbe86342ad Merge mozilla-central to mozilla-inbound 2017-01-10 12:21:12 +01:00
Carsten "Tomcat" Book
89882dc5f4 merge mozilla-inbound to mozilla-central a=merge 2017-01-10 12:11:31 +01:00
Jon Coppeard
dfc68f9e02 Bug 1311060 - Fix test bustage r=me 2017-01-10 11:08:07 +00:00
Jan de Mooij
adf3eefb3f Bug 1328834 - Check hasScript in IonBuilder::createThisScriptedSingleton. r=h4writer
--HG--
extra : rebase_source : e4fa16ca211728bc2b28a88887b8f3a9c3b9ca19
2017-01-10 11:52:59 +01:00
Jon Coppeard
ca898ea355 Bug 1325406 - Refactor rooting base class templates r=sfink r=mccr8 2017-01-10 10:12:14 +00:00
Jon Coppeard
cb3a0e0f43 Bug 1311060 - Check for inaccessible zone in shell schedulegc function r=bbouvier 2017-01-10 10:08:16 +00:00
Benjamin Bouvier
83b98d9e0d Bug 1329632: Add a null-check for empty filenames in wasm stack traces; r=luke
MozReview-Commit-ID: CZ8dxNwIKXd

--HG--
extra : rebase_source : a5b4e94401a95059a2af4b0b279d080302960882
extra : amend_source : fde11e69199b88ecc5db33d861d761b648ffb046
2017-01-09 14:57:36 +01:00
Wes Kocher
105aea2522 Merge m-c to inbound a=merge
MozReview-Commit-ID: G24aq5fbYNd
2017-01-09 16:44:58 -08:00
Wes Kocher
4f9d590133 Merge inbound to central, a=merge
MozReview-Commit-ID: 6jzg7wfFO2l
2017-01-09 16:34:44 -08:00
Wes Kocher
bcfed3d3e9 Backed out changeset 93e30ec70eab (bug 1312480) a=backout
MozReview-Commit-ID: ELwEPCxux27

--HG--
extra : amend_source : 6b8cdabf804b1eb1a2992de8e54fd6a82fb3a022
2017-01-09 12:25:07 -08:00
Hannes Verschore
a299e5e41c Bug 1328826 - IonMonkey: Speculate concatenation on baseline caches, r=jandem 2017-01-09 16:12:35 +01:00
Hannes Verschore
9c3613a9e5 Bug 1328228: Fix missing include, r=failures 2017-01-09 16:01:51 +01:00
Hannes Verschore
09f51a7a0d Bug 1328228: Fix unused variable, r=failures 2017-01-09 15:33:46 +01:00
Hannes Verschore
593cb74ae1 Bug 1328228: IonMonkey - Track optimizations for compares, r=shu 2017-01-09 15:05:39 +01:00
Hannes Verschore
cf910bd3b0 Bug 1328228: IonMonkey - Track optimizations for newarray and newobject, r=shu 2017-01-09 15:05:38 +01:00
Hannes Verschore
2963087fe4 Bug 1328228: IonMonkey - Split IONFLAGS=trackopts to IONFLAGS=trackopts-ext, r=shu 2017-01-09 15:05:37 +01:00
André Bargull
b3996f181c Bug 1290974 - Avoid exceeding max-int32 when computing the range in quicksort/partition. r=evilpie 2017-01-09 08:12:07 -08:00
Nicholas Nethercote
7fad269a06 Bug 1324330 (part 6) - Streamline nsIXPCScriptable flags. r=mccr8.
This patch adjusts the values so there are no skipped bits, and removes the
no-longer-used RESERVED flag.

--HG--
extra : rebase_source : 88a50110d66ad85c1277213afea7e08f7aa9538a
2016-12-23 08:30:45 +11:00
Nicholas Nethercote
c7018d9f7d Bug 1325542 - Remove XPCNativeScriptableFlags. r=mccr8.
WantFoo() and the similar methods remain, but they've been moved from
XPCNativeScriptableFlags to nsIXPCScriptable.

One consequence of this change is that in places where we used to get the flags
from an XPCNativeScriptableCreateInfo we now need a null check on the
nsIXPCScriptable. (This isn't true when getting flags from
XPCNativeScriptableInfo, however, because nsIXPCScriptable is always non-null
within that type.)

--HG--
extra : rebase_source : 3d1e1d1c313b4629bb2e337cc2fb7c0d1092ed99
2016-12-23 16:14:32 +11: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
Wes Kocher
5b20fb2bce Merge m-c to autoland, a=merge
MozReview-Commit-ID: 8DYKNuMdzFd
2017-01-09 16:39:02 -08: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
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
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