Граф коммитов

58490 Коммитов

Автор SHA1 Сообщение Дата
Luke Wagner 793b2e02f4 Bug 1332772 - Baldr: tweak memory/table limits (r=bbouvier)
MozReview-Commit-ID: D0rC1yws224

--HG--
extra : rebase_source : ac61acd4f1d4cbb5281753a9fef9ac7ac12ca147
2017-01-23 08:22:49 -06:00
Lars T Hansen b89689a603 Bug 1283121 - Wasm ARM: Throw on trapping unaligned access, do not hang. r=bbouvier
--HG--
extra : rebase_source : 2b5a852cf99d3027f0211ce4bf590a2409728519
2017-01-23 09:46:08 +01:00
Terrence Cole 16cb680db2 Bug 1205909 - Remove the now-unused portions of IsNullTaggedPointer r=sfink 2015-09-17 17:21:19 -07:00
Nicholas Nethercote bf48aecf29 Bug 1332172 - Remove XPC_MAP_WANT_*. r=mccr8.
nsIXPCScriptable flags handling in xpc_map_end.h is a bit of a mess.

- Half the flags relate to whether various functions are defined (PreCreate,
  GetProperty, etc). These are set using the XPC_MAP_WANT_* macros;
  for each one xpc_map_end.h  inserts the corresponding flag using the
  preprocessor (see XPC_MAP_CLASSNAME::GetScriptableFlags()).

- The other half of the flags relate to other things (IS_GLOBAL_OBJECT,
  DONT_REFLECT_INTERFACE_NAMES, etc). These are set using the XPC_MAP_FLAGS
  macro.

Having two similar but different mechanisms to set the flags for a class is
confusing. (Indeed, until recently we had some classes where a single flag was
redundantly specified via both mechanisms.) Note also that the classes done in
dom/base/nsIDOMClassInfo.h also specify all the flags in a single value,
similar to how XPC_MAP_FLAGS works.

This patch removes the XPC_MAP_WANT_* macros. All flags are now set
via XPC_MAP_FLAGS. This is a significant simplification to xpc_map_end.h and
all the places that use it.

The downside of this change is that I had to change the flag constants from
class constants (i.e. nsIXPCScriptable::FOO) to macros (i.e.
NSIXPCSCRIPTABLE_FOO) because they need to be used in #if statements like this
in xpc_map_end.h:

  #if !((XPC_MAP_FLAGS) & NSIXPCSCRIPTABLE_WANT_PRECREATE)

and you can't use a '::'-qualified name inside a #if. I think this downside is
outweighed by the simplification described above.

Overall the patch removes 80 lines of code.

--HG--
extra : rebase_source : 6d5c341d0deba8f1529d81c17bb8819e09620b05
2017-01-23 13:33:58 +11:00
Jan de Mooij 4caa9c00f1 Bug 1326067 part 7 - Fix type update code to use the unboxed object instead of the UnboxedExpandoObject. r=bhackett 2017-01-22 12:55:33 +01:00
Phil Ringnalda 74f10163fe Merge m-i to m-c, a=merge 2017-01-21 15:24:42 -08:00
Jan de Mooij 891c6d2663 Bug 1326067 part 6 - Fix EmitStubGuardFailure to not clobber registers on ARM/MIPS. r=evilpie 2017-01-21 17:40:45 +01:00
Jan de Mooij 8f2ad1c342 Bug 1332593 - Optimize lookups of data properties on WindowProxies. r=evilpie 2017-01-21 13:19:27 +01:00
Tooru Fujisawa 210c42241d Bug 1320408 - Part 14: Change some GlobalObject methods to static method. r=jandem 2017-01-21 17:25:45 +09:00
Tooru Fujisawa f897bf4cfc Bug 1320408 - Part 13: Change DebugEnvironmentProxy::getMaybeSentinelValue to static method. r=jandem 2017-01-21 17:25:45 +09:00
Tooru Fujisawa 21375cb30b Bug 1320408 - Part 12: Change JSScript::sourceData to static method. r=jandem 2017-01-21 17:25:45 +09:00
Tooru Fujisawa b1b192d1ae Bug 1320408 - Part 11: Remove JSContext* parameter from JSScript::ensureNonLazyCanonicalFunction. r=jandem 2017-01-21 17:25:45 +09:00
Tooru Fujisawa cbdbd45e26 Bug 1320408 - Part 10: Change LazyScript::functionDelazifying to static method. r=jandem 2017-01-21 17:25:45 +09:00
Tooru Fujisawa 650159b47e Bug 1320408 - Part 9: Change JSObject::setFlags and depending methods to static method. r=jandem 2017-01-21 17:25:44 +09:00
Tooru Fujisawa f8eec01658 Bug 1320408 - Part 8: Change JSObject::reportNotConfigurable and JSObject::reportNotExtensible to static method. r=jandem 2017-01-21 17:25:44 +09:00
Phil Ringnalda 72dfd3bd3f Merge m-c to m-i 2017-01-20 19:16:11 -08:00
Phil Ringnalda 68b37a46e8 Merge m-i to m-c, a=merge 2017-01-20 19:00:04 -08:00
Wes Kocher eff114e84c Backed out 4 changesets (bug 1325299) for frequent Win7VM failures in browser_addonPerformanceAlerts.js a=backout
Backed out changeset cac5baad14a1 (bug 1325299)
Backed out changeset 933d06e4b567 (bug 1325299)
Backed out changeset c168221313d6 (bug 1325299)
Backed out changeset dcf71e5e5fc3 (bug 1325299)

MozReview-Commit-ID: DLAtTjf0iPB
2017-01-20 12:46:34 -08:00
Boris Zbarsky 2daa8920fe Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
2017-01-13 10:41:03 -05:00
Boris Zbarsky d274f30b35 Bug 851892 part 11. Convert CSSImportRule to WebIDL. r=peterv,heycam,mccr8
Note that the .media PutForwards is a new feature coming along for the ride now
that we're using the spec IDL.
2017-01-13 10:41:03 -05:00
Carsten "Tomcat" Book 8ec9e87587 Merge mozilla-central to autoland 2017-01-20 15:44:30 +01:00
Nicolas B. Pierron 4eca59f4cb Bug 1329665 - Use fallible allocator in FlowAliasAnalysis::saveStoreDependency. r=h4writer 2017-01-20 11:16:11 +00:00
Lars T Hansen 6d7b1e9cef Bug 1312446 - Enable SharedArrayBuffer and Atomics by default. r=shu
--HG--
extra : rebase_source : 308016a3820017d790d7a77d8fc25e1388f04df4
extra : amend_source : 1fc3635840cd1a1021f6f3f9d6491c381a122dc9
2017-01-19 17:22:47 +01:00
Jan de Mooij 268fff29b8 Bug 1326067 part 4 - Port Baseline TypedObject SetProp stub to CacheIR. r=evilpie 2017-01-20 09:58:02 +01:00
Yury Delendik c7ae107dc6 Bug 1331064 - Ignore wasm onExceptionUnwind events in JSTRAP_ERROR state. r=luke
MozReview-Commit-ID: BU8YzfFLqc1

--HG--
extra : rebase_source : 33349153d605ecfc8a6e08ae2066b80ca28c4681
2017-01-18 14:53:33 -06:00
Phil Ringnalda 6f55fab2bf Merge m-i to m-c, a=merge 2017-01-19 22:04:52 -08:00
John Paul Adrian Glaubitz b179235c38 Bug 1329194 - js:jit: Use PowerPC atomic operations on SH. r=jandem 2017-01-20 09:12:33 +09:00
Luke Wagner b46f682453 Bug 1332312 - remove JS_DISABLE_SLOW_SCRIPT_SIGNALS (r=bbouvier)
MozReview-Commit-ID: 6uyBGnbAimG

--HG--
extra : rebase_source : 5a676d3cd6584b859eced2fdcced77e08f0d0aa6
2017-01-19 14:06:24 -06:00
Carsten "Tomcat" Book 3b3ce27e84 Merge mozilla-central to mozilla-inbound 2017-01-19 16:35:21 +01:00
Carsten "Tomcat" Book 709bd29d0a merge mozilla-inbound to mozilla-central a=merge 2017-01-19 16:05:22 +01:00
Lars T Hansen 3073c139c5 Bug 1330942 - move MemoryAccessDesc::isUnaligned to the ARM/MIPS platform layer. r=luke
--HG--
extra : rebase_source : 4a4629350101f9384a5818d78d8e8a30d9e2c052
2017-01-19 12:45:44 +01:00
Lars T Hansen c534370525 Bug 1329096 - Wasm baseline, remove the label pool and use NonAssertingLabel instead. r=luke
--HG--
extra : rebase_source : 58e3343e6c57d7fea2227ef5977f43ea4640a08d
2017-01-18 20:11:32 +01:00
Lars T Hansen 1b3b6a4622 Bug 1316814 - wasm baseline, use the iterator's control stack. r=luke
--HG--
extra : rebase_source : e7e6200a3664c1ea7a3ba01d5718d505950672aa
2017-01-18 19:58:26 +01:00
Lars T Hansen 4bfa06af89 Bug 1316814 - Split wasm iterator's readEnd and popEnd. p=sunfish, r=luke
--HG--
extra : rebase_source : 2d78b17be893be405c8cc103203c18827dfc5b29
2017-01-18 19:55:10 +01:00
Wes Kocher 336f27142f Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3pEpsd3DljH
2017-01-19 16:47:25 -08:00
Mark Banner 16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Masatoshi Kimura 9929e7d3d2 Bug 1325299 - Don't explicitly set PSAPI_VERSION. r=glandium
WINVER=0x0601 implies PSAPI_VERSION=2. We should not mix PSAPI_VERSION.

MozReview-Commit-ID: Ckxel4JNW2x

--HG--
extra : rebase_source : 932c67a3cae063fe4b0c5fec9048e67ce6286ad3
2016-12-30 01:29:52 +09:00
Masatoshi Kimura 0bf2578311 Bug 1325299 - Bump _WIN32_IE to _WIN32_IE_IE80. r=glandium
MozReview-Commit-ID: 8GfbAme5W0C

--HG--
extra : rebase_source : 5734fc748af22829901275a2123a02f5d9b154b0
2016-12-30 01:29:22 +09:00
Nicholas Nethercote b1100b7e94 Bug 1330904 - Remove XPCNativeScriptableCreateInfo. r=mccr8.
XPCNativeScriptableCreateInfo is now a very thin wrapper around
nsIXPCScriptable. Removing it simplifies things quite a bit.

Note especially the change to GatherScriptableCreateInfo(), which is a
confusing function. Previously its fourth argument was never touched it was
called, but it did have a return value. Now the fourth argument is touched and
effectively replaces that return value, and the function now returns void.
* * *
Bug 1330904 - fixups. r=mccr8.

I will fold this into the previous patch before landing.

--HG--
extra : rebase_source : 22e7fd0c44dd7c4174f8edf3e1d3ae362bf95757
2017-01-13 11:26:02 +11:00
Boris Zbarsky 3293a4cd98 Bug 1330759 part 3. Add a "stringbuffer we own" mode to DOMString. r=froydnj
We're going to need it because we're going to add a consumer that cannot in fact
promise that its stringbuffer reference will outlive the DOMString.
2017-01-18 22:20:14 -05:00
Boris Zbarsky ced1c6138f Bug 1330759 part 2. Fix XPCConvert::JSData2Native to not share an external string stringbuffer if it would create a non-null-terminated string. r=froydnj 2017-01-18 22:20:14 -05:00
Shu-yu Guo 6982c31973 Bug 1331585 - Allow falsy "done" values for IteratorClose due to exception during array destructuring. (r=arai) 2017-01-18 18:33:45 -08:00
Dan Gohman faa9b11f04 Bug 1324032 - BaldrMonkey: Require non-fallthrough instructions to be followed by end or else r=luke 2017-01-18 10:42:44 -08:00
Sean Stangl 64a4ab480c Bug 1324910 - Remove unnecessary assertion. r=luke
--HG--
extra : rebase_source : 3bbd17b6b0783c1ec259d8affd8ecfd7ace48081
2017-01-18 13:11:00 -05:00
Kevin Gibbons f12563c61d Bug 1332052 - Test framework for Reflect.parse now checks undefined. r=evilpie 2017-01-18 22:28:03 +01:00
Masatoshi Kimura d09192e3c9 Bug 1325299 - Bump WINVER to 0x0601. r=glandium
MozReview-Commit-ID: 7mUzIACQJkT

--HG--
extra : rebase_source : 0ba1023812b518f31cadfdbff2d89cb1c700ea4e
2016-12-10 12:04:34 +09:00
Nicholas Nethercote 12647a7223 Bug 1332577 (part 7) - Rename mozilla_get_pseudo_stack() as profiler_get_pseudo_stack(). r=mstange.
This makes it consistent with other profiler functions.

--HG--
extra : rebase_source : 1e52acdc448691b8859bb147a0c70b198b432fe2
2017-01-20 15:07:05 +11:00
Ryan VanderMeulen 8ea9bfe6fc Backed out changeset 209d492c3ec5 (bug 1332594) for jit-test failures on a CLOSED TREE. 2017-01-20 18:29:30 -05:00
Emanuel Hoogeveen f6645c7c90 Bug 1332594 - Check for poison and other corruption during realloc. r=jandem 2017-01-20 08:05:00 -05:00
Sebastian Hengst e533169d2c Backed out changeset eab8ccda41b8 (bug 851892) 2017-01-20 19:30:19 +01:00