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

56460 Коммитов

Автор SHA1 Сообщение Дата
Eddy Bruel 1b409bc7be Bug 1294013 - Rename parseResumptionValue to processHandlerResult. r=jimb 2016-08-22 15:54:32 +02:00
Eddy Bruel 7b55a7b52d Bug 1294013 - Replace JSTrapStatus* with JSTrapStatus&. r=jimb 2016-08-22 15:52:28 +02:00
Jon Coppeard e3e08ba4b2 Bug 1296715 - Fix android bustage r=me 2016-08-22 12:41:06 +01:00
Heiher b4e4ac2868 Bug 1294606 - Part 3: Add tests for SignExtend. r=nbp
---
 .../jit-test/tests/ion/dce-with-rinstructions.js   | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)
2016-08-21 22:16:11 +08:00
Heiher 7a337d2603 Bug 1294606 - Part 2: Folds Lsh/Rsh same bits to SignExntend. r=nbp
---
 js/src/jit/CodeGenerator.cpp                       | 16 +++++++++
 js/src/jit/CodeGenerator.h                         |  1 +
 js/src/jit/Lowering.cpp                            | 13 ++++++++
 js/src/jit/Lowering.h                              |  1 +
 js/src/jit/MIR.cpp                                 | 27 +++++++++++++++
 js/src/jit/MIR.h                                   | 39 ++++++++++++++++++++++
 js/src/jit/MOpcodes.h                              |  1 +
 js/src/jit/MacroAssembler.h                        |  3 ++
 js/src/jit/Recover.cpp                             | 37 ++++++++++++++++++++
 js/src/jit/Recover.h                               | 12 +++++++
 js/src/jit/arm/MacroAssembler-arm-inl.h            | 12 +++++++
 js/src/jit/arm64/MacroAssembler-arm64-inl.h        | 12 +++++++
 .../mips-shared/MacroAssembler-mips-shared-inl.h   | 12 +++++++
 js/src/jit/shared/LIR-shared.h                     | 16 +++++++++
 js/src/jit/shared/LOpcodes-shared.h                |  1 +
 .../jit/x86-shared/MacroAssembler-x86-shared-inl.h | 12 +++++++
 js/src/vm/Interpreter-inl.h                        | 11 ++++++
 17 files changed, 226 insertions(+)
2016-08-21 22:16:10 +08:00
Heiher 246b59f85c Bug 1294606 - Part 1: Implement LIRGenerator::useByteOpRegisterAtStart. r=nbp
---
 js/src/jit/arm/Lowering-arm.cpp                 | 6 ++++++
 js/src/jit/arm/Lowering-arm.h                   | 1 +
 js/src/jit/arm64/Lowering-arm64.cpp             | 6 ++++++
 js/src/jit/arm64/Lowering-arm64.h               | 1 +
 js/src/jit/mips-shared/Lowering-mips-shared.cpp | 6 ++++++
 js/src/jit/mips-shared/Lowering-mips-shared.h   | 1 +
 js/src/jit/none/Lowering-none.h                 | 1 +
 js/src/jit/x64/Lowering-x64.cpp                 | 6 ++++++
 js/src/jit/x64/Lowering-x64.h                   | 1 +
 js/src/jit/x86/Lowering-x86.cpp                 | 6 ++++++
 js/src/jit/x86/Lowering-x86.h                   | 1 +
 11 files changed, 36 insertions(+)
2016-08-21 22:16:09 +08:00
Sebastian Hengst 55ccc927a5 Backed out changeset 325bdb8f8f80 (bug 1110928) 2016-08-21 12:27:51 +02:00
Andrew McCreight 0e61ad42e5 Bug 1110928, part 3 - Add a method to schedule the system zone for GC. r=terrence
MozReview-Commit-ID: 4L3iQMPWGNe
2016-08-19 15:26:56 -07:00
Bill McCloskey 3a7ee5574b Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-08-19 14:41:26 -07:00
Bill McCloskey 1613c2cbc9 Bug 1279086 - Allow multiple interrupt callbacks (r=dvander) 2016-08-19 14:40:52 -07:00
Luke Wagner 0e064004db Bug 1283924 - Baldr: handle cross-global typed arrays in JS API (r=till)
MozReview-Commit-ID: BzAG4h9o7ua

--HG--
extra : rebase_source : 288bec0533f4601c6bae12c6c09fe0520cc84848
2016-08-19 13:41:52 -05:00
Wes Kocher 3a31be9c17 Backed out 2 changesets (bug 1279086) for failures in browser_menu_item_01.js a=backout
Backed out changeset 00bb53b58e96 (bug 1279086)
Backed out changeset cff59fe2b933 (bug 1279086)
2016-08-19 12:31:55 -07:00
Tooru Fujisawa 5f9bd4abac Bug 1289051 - Add JS_ReportError*Latin1 variants. r=evilpie 2016-08-13 23:03:31 +09:00
Chris Manchester 76d8f148d9 Backed out changeset c0e6aae0b93d (bug 1294803) for breaking artifact builds.
MozReview-Commit-ID: BTrQMCJSCRn
2016-08-19 11:12:07 -07:00
Chris Manchester 65ba8ff0f6 Backed out changeset 7f6047b2bc09 (bug 1294803) for breaking artifact builds.
MozReview-Commit-ID: FdzqUJnaSQT
2016-08-19 11:12:07 -07:00
Terrence Cole 240896825f Bug 1290551 - Part 2: Assert that finishRoots actually unroots everything; r=jonco
--HG--
extra : rebase_source : 322bbaf46bb1dc1b14bef0a939a07702f478c01c
2016-08-05 14:13:35 -07:00
Terrence Cole 3ab082dab8 Bug 1290551 - Part 1: Move finishRoots adjacent to traceRoots; r=jonco
--HG--
extra : rebase_source : d67b41ec9318b36502e0c07c11faf65619c24c6a
2016-08-05 14:13:32 -07:00
Jon Coppeard 509ffe40c1 Bug 1293127 - Fix testcode to handle zeal builds r=me 2016-08-19 18:04:47 +01:00
Bill McCloskey 3799faa926 Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-08-19 09:59:40 -07:00
Bill McCloskey 95c5d71549 Bug 1279086 - Allow multiple interrupt callbacks (r=dvander) 2016-08-19 09:59:39 -07:00
Jon Coppeard a4026dfbb4 Bug 1293127 - Mark CCW keys that have nursery pointers explicitly rather than using the generic buffer r=terrence 2016-08-19 16:56:25 +01:00
Terrence Cole 73b768f849 Bug 1290550 - Fix markRuntime's interface; r=jonco 2016-07-28 09:42:17 -07:00
Jon Coppeard 35539866a9 Bug 1293239 - Revert nursery resizing heuristics r=terrence 2016-08-19 10:44:01 +01:00
Jon Coppeard d170af87c1 Bug 1293209 - Don't assert tables are empty if the embedding leaked JS GC things r=terrence 2016-08-19 10:44:01 +01:00
Iris Hsiao 67de9ad6e4 Backed out changeset 3172e3fa6e24 (bug 1294606) 2016-08-19 17:42:14 +08:00
Iris Hsiao e3f411bb25 Backed out changeset defd76119eda (bug 1294606) 2016-08-19 17:41:57 +08:00
Iris Hsiao 0cadff9393 Backed out changeset 4d05a40172ca (bug 1294606) for Spider Monkey ARM64 bustage 2016-08-19 17:41:45 +08:00
Heiher d8e57bddcc Bug 1294606 - Part 3: Add tests for SignExtend. r=nbp
---
 .../jit-test/tests/ion/dce-with-rinstructions.js   | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)
2016-08-19 17:07:52 +08:00
Heiher c8cef5ba11 Bug 1294606 - Part 2: Folds Lsh/Rsh same bits to SignExntend. r=nbp
---
 js/src/jit/CodeGenerator.cpp                       | 16 +++++++++
 js/src/jit/CodeGenerator.h                         |  1 +
 js/src/jit/Lowering.cpp                            | 13 ++++++++
 js/src/jit/Lowering.h                              |  1 +
 js/src/jit/MIR.cpp                                 | 27 +++++++++++++++
 js/src/jit/MIR.h                                   | 39 ++++++++++++++++++++++
 js/src/jit/MOpcodes.h                              |  1 +
 js/src/jit/MacroAssembler.h                        |  3 ++
 js/src/jit/Recover.cpp                             | 37 ++++++++++++++++++++
 js/src/jit/Recover.h                               | 12 +++++++
 js/src/jit/arm/MacroAssembler-arm-inl.h            | 12 +++++++
 js/src/jit/arm64/MacroAssembler-arm64-inl.h        | 12 +++++++
 .../mips-shared/MacroAssembler-mips-shared-inl.h   | 12 +++++++
 js/src/jit/shared/LIR-shared.h                     | 16 +++++++++
 js/src/jit/shared/LOpcodes-shared.h                |  1 +
 .../jit/x86-shared/MacroAssembler-x86-shared-inl.h | 12 +++++++
 js/src/vm/Interpreter-inl.h                        | 11 ++++++
 17 files changed, 226 insertions(+)
2016-08-19 17:07:47 +08:00
Heiher f5130bf88d Bug 1294606 - Part 1: Implement LIRGenerator::useByteOpRegisterAtStart. r=nbp
---
 js/src/jit/arm/Lowering-arm.cpp                 | 6 ++++++
 js/src/jit/arm/Lowering-arm.h                   | 1 +
 js/src/jit/arm64/Lowering-arm64.cpp             | 6 ++++++
 js/src/jit/arm64/Lowering-arm64.h               | 1 +
 js/src/jit/mips-shared/Lowering-mips-shared.cpp | 6 ++++++
 js/src/jit/mips-shared/Lowering-mips-shared.h   | 1 +
 js/src/jit/none/Lowering-none.h                 | 1 +
 js/src/jit/x64/Lowering-x64.cpp                 | 6 ++++++
 js/src/jit/x64/Lowering-x64.h                   | 1 +
 js/src/jit/x86/Lowering-x86.cpp                 | 6 ++++++
 js/src/jit/x86/Lowering-x86.h                   | 1 +
 11 files changed, 36 insertions(+)
2016-08-19 17:07:39 +08:00
Phil Ringnalda c953d529f4 Backed out 3 changesets (bug 1290551, bug 1290550) for Windows (at least) Marionette crashes in AssertNoRootsTracer::onChild
CLOSED TREE

Backed out changeset 3ffbd71ee977 (bug 1290551)
Backed out changeset 77bda0e9caba (bug 1290551)
Backed out changeset 3763a23b6353 (bug 1290550)
2016-08-18 19:30:33 -07:00
Nick Fitzgerald fd249acf72 Bug 1296399 - Make ProfileStringMap values be UniqueChars instead of raw char*. r=shu
There was a lot of manual management of the map's string values. By using
UniqueChars, everything happens automatically and at the right time in
destructors.

--HG--
extra : rebase_source : f4522c4cf5f67163726e0f1f8aca77e512e2fadd
2016-08-18 12:35:00 -04:00
Nick Fitzgerald 94052d5b73 Bug 1296399 - Make the js::SPSProfiler::strings a js::ExclusiveData. r=shu
The js::SPSProfiler::lock_ only existed to protect the js::SPSProfiler::strings
member[0], but it was not clear at all whether it protected all members or
what. Instead, let's wrap the strings member in a js::ExclusiveData so that
the *only* way to access it by taking the lock and so that it is clear what
members need locking.

And of course there were multiple places where the member wasn't getting locked
properly...

[0] See
http://searchfox.org/mozilla-central/diff/0df4a565cc0c7ce54d0f7628a87280a6dca140c4/js/src/vm/SPSProfiler.h#215
for the archaeology bits.

--HG--
extra : rebase_source : b157315e9975529a7553cb236980caa8acd48bf9
2016-08-18 12:35:00 -04:00
Nick Fitzgerald 2fb353111f Bug 1296399 - Make sure that the js::ProfileEntry::Flags fit in the type that they are used with. r=shu
--HG--
extra : rebase_source : 69e9c5e56ab7974c2fb28f95a9b9a0e1d75f0ae5
2016-08-18 12:35:00 -04:00
Shu-yu Guo 71d4ec50b6 Bug 1282741 - Fix assertion involving debug mode toggle cycles in debug mode OSR. r=jandem
--HG--
extra : rebase_source : f7141c3c69bea2d8cb5618c72e565c69deeaf369
2016-08-08 14:46:00 -04:00
Leo Gaspard eaa48acac4 Bug 1295835 - Address some compilation maybe-uninitialized warnings. r=luke
--HG--
extra : rebase_source : 7842fdd361939aba7248cdc463dd54e41a3162ea
2016-08-18 11:46:28 -07:00
Terrence Cole 2c1cb117fb Bug 1290551 - Part 2: Assert that finishRoots actually unroots everything; r=jonco
--HG--
extra : rebase_source : 1a153b6fc076746b3f51d07da80e0c2a53f6d5c9
2016-08-05 14:13:35 -07:00
Terrence Cole f190f914ef Bug 1290551 - Move finishRoots to RootMarking.cpp and rename markRuntime to reflect usage; r=jonco
--HG--
extra : rebase_source : 21d7d8ae0468e1226881ae74faba6cd2e013cfdf
2016-08-05 14:13:32 -07:00
Terrence Cole ff67363aa5 Bug 1290550 - Fix markRuntime's interface; r=jonco
--HG--
extra : rebase_source : 81703cda0c4740be0a8b7296f1ee12de68a08c9e
2016-07-28 09:42:17 -07:00
Steve Fink aafebe2348 Bug 1295751 - Stop running autoconf in autospider.py, r=glandium
MozReview-Commit-ID: 9COvbxsmRf2

--HG--
extra : rebase_source : 2d92101ec23fcb503ece8a8dba184fa390b67cf0
2016-08-16 12:31:41 -07:00
Mike Hommey 0a56fe18d4 Bug 1295751 - Make it possible to copy configure.in to configure. r=gps
MozReview-Commit-ID: 4Sjr7mWcMIN

--HG--
extra : rebase_source : 4c46a4853eaba6216751d71d3c507a431fd24d7e
2016-08-16 19:35:00 -07:00
Steve Fink 8b3378d2a8 Bug 1295717 - interpreter-only test runs should also disable the regex jit, r=shu
MozReview-Commit-ID: 7AllIx1FkgW

--HG--
extra : rebase_source : 3ddef0e6addf8aae2208ebb82cc4fd763f12cf48
2016-08-16 12:31:28 -07:00
Wes Kocher 55897634c1 Backed out 3 changesets (bug 1288870) for hazards a=backout
Backed out changeset 83bbd356da97 (bug 1288870)
Backed out changeset 4f0ab1a0d8dd (bug 1288870)
Backed out changeset 8d71aba5c1e7 (bug 1288870)
2016-08-18 16:50:13 -07:00
Andrew McCreight e5e0b12c27 Bug 1288870, part 3 - Remove the now-vestigial Mark code for XPCNativeInterface. r=billm
XPCNativeInterface::Mark(), Unmark() and IsMarked() don't do anything
any more, so anything that calls them can be deleted. This removes the
only use of XPCCallContext::CanGetInterface(), so delete that, too.

MozReview-Commit-ID: 4w3aPTVXNDI
2016-08-18 15:20:48 -07:00
Andrew McCreight f8d14c904a Bug 1288870, part 2 - Make XPCNativeInterface refcounted. r=billm
There are four classes that call Root() on XPCNativeInterface, and
thus keep interfaces alive. Each of these gets converted to use a
RefPtr:

1. XPCCallContext. This could be on some kind of hot path, but the
FindMemberCall involves various string operations and hashtable
lookups, so adding a single AddRef shouldn't matter. One weirdness
here is that the context only roots the interface when |mState >=
HAVE_NAME|. With a RefPtr<>, this requires nulling out
mInterface. Fortunately, in most cases where it moves from rooting to
non-rooting, it already does this. The one case it does not is in
SystemIsBeingShutDown(), so my patch adds that.

2. XPCNativeSet. This holds an array of interfaces in a weird
placement new array at the end of the object. I wasn't sure how a
non-POD class would interact with the way the array is handled with
casting, so I manually AddRef and Release things put into or removed
from the array.

3. AutoMarkingNativeInterfacePtr simply becomes RefPtr<>. This is the
bulk of the patch, in terms of number of lines changed.

4. Similarly, the one AutoMarkingNativeInterfacePtrArrayPtr becomes
nsTArray<RefPtr<>>. This is the last use of the auto marking array
class, so I deleted it.

Here are some other notes on what the patch does:

- XPCNativeInterfaces are created with placement new. This requires a
special version of refcounting that calls DestroyInstance, defined in
the previous patch. The GetNewOrUsed methods used to explicitly call
DestroyInstance(), but with refcounting this is no longer needed.

- The Mark() etc. methods are gutted so they don't do anything and
mMarked is removed because it is no longer used. The methods will be
cleaned up in later patches in this bug.

- Interfaces are removed from mIID2NativeInterfaceMap in the dtor
instead of during sweeping, requiring an extra hash table lookup.

- All of the methods that can create a new interface (NewInstance,
GetISupports, GetNewOrUsed) now return an already_AddRefed<>, which
gives some static checking that we don't accidentally fail to hold
onto a newly created interface.

MozReview-Commit-ID: CrlH1ENAzvr
2016-08-18 15:20:48 -07:00
Shu-yu Guo 94e75db5b5 Bug 1295775 - Suppress sampling during compaction. (r=djvj) 2016-08-18 15:24:48 -07:00
Tom Schuster e8296f82f1 Bug 1296324 - Remove logically empty DirectProxyHandler.cpp. r=jandem 2016-08-18 18:00:59 +02:00
Terrence Cole 1432ea6638 Bug 1296484 - Automatically run a CC if COMPARTMENT_REVIVED GC ends mostly gray; r=jonco,r=mccr8
--HG--
extra : rebase_source : 26aa07342c0b286d772422401bd7d5dd4efbb2fa
2016-08-18 13:30:32 -07:00
Luke Wagner ce850ee396 Bug 1283924 - Don't report error for failure to start async task during shutdown (r=till)
MozReview-Commit-ID: GmDoAxVe6Jl

--HG--
extra : rebase_source : fe08e031a3641cde20af97934882c2948875ec22
2016-08-25 10:26:41 -05:00
Luke Wagner a6b437f810 Bug 1283924 - Store a UniquePtr in the PromiseTaskPtrVector (r=till)
MozReview-Commit-ID: 8qw64nxWrPu

--HG--
extra : rebase_source : 5a4de3bc5baf293ea78b574e89c53c061f229dc0
2016-08-25 10:26:34 -05:00
Wes Kocher 1465871242 Backed out 1 changesets (bug 1295034) for spidermonkey failures a=backout
Backed out changeset 024e7dc7a219 (bug 1295034)
2016-08-25 13:19:48 -07:00
Sumit Tiwari 0f1e872d3f Bug 1295034 - Assertion failure when sorting TypedArrays constructed under JIT; r=mrrrgn 2016-08-25 12:21:51 -07:00
Nathan Froyd 82b3f6d3c5 Bug 1297486 - mark xpc::NonVoidStringToJsval as an ordinary inline function instead of MOZ_ALWAYS_INLINE; r=bz
This change has a negligible impact on benchmarks, and saves a lot of
space (550K+ on x86-64 Linux).
2016-08-25 20:33:01 -04:00
Till Schneidereit 4855eb2784 Bug 1293285 - Ignore reentrant calls to the JS shell's drainJobQueue function. r=efaust 2016-08-25 16:39:40 +02:00
Tom Schuster 92024846c1 Bug 1114580 - Define getBuiltinClass on Xray. r=peterv 2016-08-18 10:59:36 +02:00
Luke Wagner 6b009b1299 Bug 1283924 - Baldr: dispatch WebAssembly.compile tasks to a helper thread (r=till)
MozReview-Commit-ID: Ll4zmDi7JuS
2016-08-17 17:06:24 -05:00
Luke Wagner e55478f5d4 Bug 1283924 - Add JSAPI for dispatching from helper threads back to a JSContext's owner thread (r=till)
MozReview-Commit-ID: AULowZJ3zXJ
2016-08-17 17:05:49 -05:00
Chris Manchester 872c57fe84 Bug 1294803 - Move BUILD_CTYPES to Python configure. r=glandium
MozReview-Commit-ID: 3TlgdpNDLZW
2016-08-17 15:02:31 -07:00
Chris Manchester 269e8590e8 Bug 1294803 - Move MOZ_SYSTEM_FFI to moz.configure in preparation for moving libffi to our build system. r=glandium
This patch introduces a small change in behavior: we now unconditionally
require libffi > 3.0.9 when using system ffi, rather than accepting 3.0.9
when using GCC, as 3.0.10 was released 5 years ago, and should be widely
available.


MozReview-Commit-ID: DtSDPoZSPcx
2016-08-17 15:02:31 -07:00
Chris Manchester b0b84a1928 Bug 1240134 - Incorporate the interfaces.xpt from downloaded artifacts instead of building XPIDL during an artifact build. r=glandium
MozReview-Commit-ID: 8oEyS1xLOwV
2016-08-17 15:02:31 -07:00
Steve Fink eaf061e379 Bug 1240984 - Remove the same-data/change-data distinction when detaching ArrayBuffers, r=Waldo
--HG--
extra : rebase_source : b5f8ce4be8efa10f45faa7503f9f08f7aa059b05
2016-07-19 16:19:46 -07:00
Steve Fink 352c38a321 Bug 1240984 - Remove dummy ArrayBufferContents backstop, r=Waldo
--HG--
extra : rebase_source : ac3a7e8d21f47f056956c5339c8cc4f9dc3fcd36
extra : intermediate-source : 11de53329deb91bd355f6b3d62b6be32a0f40bd7
extra : source : 694c87cbc37ae55cd49123324f842669baee7760
2016-07-28 22:03:03 -07:00
Iris Hsiao f9b93d730f Bug 1294013 - [jsdbg2] Disentangle parsing and checking of resumption values Part 2. r=jimb
CLOSED TREE
2016-08-17 21:07:28 +08:00
Eddy Bruel 6d0ac1efa2 Bug 1294013 - Replace parseResumptionValueHelper with processResumptionValue in handleUncaughtException. r=jimb 2016-08-17 20:18:57 +08:00
Eddy Bruel aa37c5c999 Bug 1294013 - Factor out processResumptionValue. r=jimb 2016-08-17 20:18:54 +08:00
Eddy Bruel 19be1a2432 Bug 1294013 - Factor out CheckResumptionValue. r=jimb 2016-08-17 20:18:52 +08:00
Eddy Bruel ab86c4dcea Bug 1294013 - [jsdbg2] Disentangle parsing and checking of resumption values. r=jimb
CLOSED TREE
2016-08-11 10:50:00 +08:00
Iris Hsiao 19389cc679 Backed out changeset 8ead64ff09e8 (bug 1294013) 2016-08-17 18:50:40 +08:00
Iris Hsiao 82b995f603 Backed out changeset 9eec5a814230 (bug 1294013) 2016-08-17 18:50:34 +08:00
Iris Hsiao 91d9cf2da1 Backed out changeset 33283d086876 (bug 1294013) 2016-08-17 18:50:29 +08:00
Iris Hsiao da330ea42e Backed out changeset 0289f779f30b (bug 1294013) 2016-08-17 18:50:24 +08:00
Iris Hsiao ccea2b0905 Backed out changeset d14511be496e (bug 1294013) for Windows build bustage 2016-08-17 18:50:18 +08:00
Jon Coppeard 56d2b77b31 Bug 1295027 - Fix spurious rooting hazard r=me 2016-08-17 11:02:25 +01:00
Eddy Bruel 7ec3a9741b Bug 1294013 - Remove callHook from parseResumptionValue(Helper). r=jimb 2016-08-17 11:45:59 +02:00
Eddy Bruel 162cd6ab9b Bug 1294013 - Replace parseResumptionValueHelper with processResumptionValue in handleUncaughtException. r=jimb 2016-08-17 11:44:44 +02:00
Eddy Bruel 2bf9548b9c Bug 1294013 - Factor out processResumptionValue. r=jimb 2016-08-17 11:42:45 +02:00
Eddy Bruel ec711a007e Bug 1294013 - Factor out CheckResumptionValue. r=jimb 2016-08-17 11:40:35 +02:00
Eddy Bruel b734093774 Bug 1294013 - Factor out ParseResumptionValue. r=jimb 2016-08-17 11:39:05 +02:00
Jon Coppeard 0465f26bed Bug 1295035 - Check for failure when allocating chunks r=terrence 2016-08-17 09:41:29 +01:00
Jon Coppeard 630dc42a23 Bug 1295027 - Only mark objects for pretenuring after end of trace session r=terrence 2016-08-17 09:41:29 +01:00
Jon Coppeard 65a78fdeb7 Bug 1295551 - Sweep dictionary mode objects after minor GC r=terrence 2016-08-17 09:41:29 +01:00
Andrea Marchesini 3e180e7c40 Bug 1264053 - MessagePort should support transferable objects in multi-e10s - part 3, r=me 2016-08-17 09:30:48 +02:00
Andrea Marchesini 248823da76 Bug 1264053 - MessagePort should support transferable objects in multi-e10s - part 2, r=sfink 2016-08-17 07:54:00 +02:00
Andrea Marchesini a183983968 Bug 1264053 - MessagePort should support transferable objects in multi-e10s, r=sfink, r=smaug, r=jorendorff, r=janv 2016-07-21 15:29:42 +02:00
Bob Clary faa4e6f42c Bug 1295138 - remove expected assertion from test_chrometoSource.xul, r=nfroyd 2016-08-16 22:26:40 -07:00
Wes Kocher c84ec3b3f3 Merge m-c to inbound, a=merge 2016-08-16 22:06:58 -07:00
Wes Kocher 48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Arthur Edelstein 215601494b Bug 1174386 - Make workers inherit the default Intl locale from the main thread, rather than using a bogus fallback value. r=jwalden, r=baku
--HG--
extra : rebase_source : 09f66db9914cdf865388669082f3efaca37ce558
2016-08-08 13:33:39 -07:00
Steve Fink 108eb395a7 Bug 1288555 - Fix structured cloning. r=Waldo
--HG--
extra : rebase_source : 44e3cb604aadd0b5e72dabd4d9db8fa672c386f1
2016-07-21 13:06:27 -07:00
Eric Faust 6f767d965f Bug 1282746. r=Waldo
--HG--
extra : rebase_source : b48d2dd3538b79673206ba1c51a4d293b06429b8
2016-08-16 09:28:26 -04:00
Sander Mathijs van Veen faa27f3b85 Bug 1295031 - Pass direct = true only if we have enough space for the forwarding pointer. r=jandem
--HG--
extra : rebase_source : 6940838a5f490c6b128e3cfe333c0b4eb05480e6
2016-08-16 09:25:01 -04:00
Jon Coppeard 1fc6ff6493 Bug 1294469 - Shrink the nursery if we run out of memory r=terrence 2016-08-16 10:30:18 +01:00
Jon Coppeard 5682261e70 Bug 1294566 - Clear the eval cache after compacting GC r=terrence 2016-08-16 10:30:18 +01:00
Towkir Ahmed 63867da04a Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes

--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00
Steve Fink cfe23d1b52 Bug 1295343 - Fix a strict aliasing warning in js::WeakMap. The resulting code will additionally fail to compile if you instantiate it with an invalid key type.
--HG--
extra : rebase_source : 5466eec299bbbae550e8fdca32e44c45ef45b695
2016-08-05 20:52:18 -07:00
Wes Kocher 88bc8189f9 Merge m-c to autoland, a=merge 2016-08-15 14:54:25 -07:00
Jon Coppeard c4a2d108b8 Bug 1294241 - Fix compartment mismatch tracking promise rejections in the shell r=till 2016-08-15 11:17:34 +01:00
Igor 175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Yury Delendik 0a78eeae37 Bug 1294550 - Change AllFrameIter to return wasm frames. r=luke
MozReview-Commit-ID: 3MUp93mNxGU

--HG--
extra : rebase_source : 191a2abd2f30aec1cb5efeee13dd5c1612728813
2016-08-12 14:44:18 -05:00
Wes Kocher e9097643d5 Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
Jan de Mooij 536f87ca97 Bug 1294404 - Merge PerThreadDataFriendFields and ContextFriendFields, clean up APIs. r=terrence,bz 2016-08-12 11:39:16 +02:00
Heiher d1eb5b4c7b Bug 1294367 - IonMonkey: MIPS: Move result after overflow checking passed. r=arai
---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp  | 4 ++--
 js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
2016-08-12 16:08:40 +08:00
Heiher 90d9b8ce1d Bug 1294367 - IonMonkey: MIPS: Move as_lui into logical instructions section. r=hwj
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
2016-08-12 16:08:35 +08:00
Heiher 0aa02836dd Bug 1294367 - IonMonkey: MIPS: Cleanup unused function ma_mult. r=hwj
---
 js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 7 -------
 js/src/jit/mips-shared/MacroAssembler-mips-shared.h   | 1 -
 2 files changed, 8 deletions(-)
2016-08-12 16:08:30 +08:00
Ms2ger 78f1853c94 Bug 1293981 - Move --enable-more-deterministic to moz.configure. r=chmanchester 2016-08-10 13:06:55 +02:00
Ms2ger dc662f1b94 Bug 1293981 - Move --enable-perf to moz.configure. r=chmanchester 2016-08-10 13:06:49 +02:00
Ms2ger a7c2d8106c Bug 1293981 - Move --enable-gc-trace to moz.configure. r=chmanchester 2016-08-10 13:06:40 +02:00
Jinank Jain e968660309 Bug 637400 - Check that the output of all JITFLAGS tests is the same. r=terrence 2016-08-11 14:59:06 -04:00
Sumit Tiwari sumi29@gmail.com d3b6824d49 Bug 1290566 - RadixSort must not access buffer directly through properties; r=mrrrgn
--HG--
extra : rebase_source : 61a605a3a3002c6a4c8bb814aefbbab3860408df
extra : amend_source : 77f1eefdaa03439894fef15320bef119a73149b7
2016-08-10 22:38:50 -07:00
Wes Kocher 4dbee5a214 Backed out changeset 83860b1448ec (bug 637400) for frequent rootanalysis failures a=backout 2016-08-11 09:16:44 -07:00
Jon Coppeard 17304689a2 Bug 1291292 - Use dynamic chunk allocation for the nursery r=terrence 2016-08-11 17:14:56 +01:00
Jon Coppeard 7acfb399ba Bug 1291292 - Split out separate methods for allocating / recycling chunks r=terrence 2016-08-11 17:14:56 +01:00
Jon Coppeard 9e69a74446 Bug 1291292 - Refactoring to move ChunkTrailer out of ChunkInfo r=terrence 2016-08-11 17:14:56 +01:00
Jon Coppeard 31b63af33d Bug 1291292 - Use chunk location word for nursery test in JIT code r=jandem 2016-08-11 17:14:56 +01:00
Jon Coppeard 4d37e5f20d Bug 1291292 - Use an enum class for the chunk location values r=terrence 2016-08-11 17:14:56 +01:00
Jan de Mooij b066365085 Bug 1292892 part 7 - Remove unnecessary JSContext arguments from IPC classes. r=bz 2016-08-11 14:39:23 +02:00
Jan de Mooij c33bac8363 Bug 1292892 part 5 - Replace most nsContentUtils::RootingCx calls with dom::RootingCx. r=bz,terrence 2016-08-11 14:39:23 +02:00
Jan de Mooij 4ec9b6fc7e Bug 1292892 part 4 - Pass RootingContext to ModuleEntry. r=bz 2016-08-11 14:39:22 +02:00
Jan de Mooij da9820d563 Bug 1292892 part 3 - Pass RootingContext to ScriptErrorEvent, DispatchScriptErrorEvent. r=bz 2016-08-11 14:39:22 +02:00
Jan de Mooij 5a6befce76 Bug 1292892 part 2 - Some RootingContext cleanup. r=bz,terrence 2016-08-11 14:39:22 +02:00
Jan de Mooij 0ad12515f4 Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru 2016-08-11 14:39:22 +02:00
Jon Coppeard 9e5cf920d2 Bug 1292564 - Fix OOM handling while constructing DebugScopes r=terrence 2016-08-11 10:41:07 +01:00
Hannes Verschore 5a814013ac Bug 1290453 - Show debugger job list when there are no jitflags and also show the wasm-baseline config, r=sfink 2016-08-11 14:25:15 +02:00
Hannes Verschore 4dd21dd0ff Bug 1292563 - Wasm Baseline Compiler: Make sure input and shift doesn't overlap in shift instructions, r=nbp 2016-08-11 14:25:13 +02:00
Tom Schuster e9bed0b38f Bug 1293995 - Remove proxy OwnPropertyKeys error with duplicate keys. r=Waldo 2016-08-11 14:16:38 +02:00
Hannes Verschore 9d47e7f519 Bug 1289054 - Backout revision 5b6fd86e965e (part 25), r=backout 2016-08-11 13:24:52 +02:00
Hannes Verschore ac31a1b84c Bug 1290450 - IonMonkey: Fix register allocator to support multiple reuse definitions, r=bhackett 2016-08-11 13:24:45 +02:00
Jon Coppeard 58ec9d0b4a Backed out changeset 3d8a4df99f0f (bug 1292564) for rooting hazards 2016-08-11 11:29:15 +01:00
Jon Coppeard 5afbfc2708 Bug 1292564 - Fix OOM handling while constructing DebugScopes r=terrence 2016-08-11 10:41:07 +01:00
Jon Coppeard 5e361d2da5 Bug 1293262 - Refactor pretenuring after minor GC and add telemetry r=terrence 2016-08-11 10:41:06 +01:00
Jon Coppeard c44bec4756 Bug 1293239 - Improve nursery resizing heuristics r=terrence 2016-08-11 10:41:06 +01:00
Oriol a7275c6f7f Bug 1291011 - When inspecting an object, do not trim property names except when displaying them. r=jimb
Make proxyTarget and proxyHandler methods of Debugger.Object consider that the value of
[[ProxyTarget]] and [[ProxyHandler]] can be null in revoked scripted proxies.
2016-08-10 18:32:00 +02:00
Jinank Jain 3466f64f1a Bug 637400 - Check that the output of all JITFLAGS tests is the same. r=terrence 2016-08-10 16:25:04 -04:00
Heiher e9abc3b15a Bug 1294321 - IonMonkey: MIPS: Import Loongson optimizations to ma_ss and ma_sd baseindex. r=arai
---
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)
2016-08-11 15:50:03 +08:00
Nicholas Nethercote 4d2f91d5f5 Bug 1293117 (part 6) - Fix a comment and return type in XPCComponents.cpp. r=froydnj.
The comment is wrong. NS_METHOD is the appropriate thing to use here.

--HG--
extra : rebase_source : 68ada96c01f7941d5266298356ba5f493bcda67c
2016-08-09 14:03:12 +10:00
Nicholas Nethercote e0229c761e Bug 1295053 (part 5) - Remove an unnecessary use of NS_CALLBACK in ClassInfoData. r=froydnj.
--HG--
extra : rebase_source : 6b14b91e8cd4c056e40148064b396a55c6f451a3
2016-08-16 07:56:26 +10:00
Andrew McCreight b42d29f1f8 Bug 1288817, part 3 - Stop calling XPCNativeScriptableInfo::Mark() from various places because it doesn't do anything. r=billm
MozReview-Commit-ID: IcjcFti2k7A
2016-08-16 14:29:51 -07:00
Andrew McCreight 323130b5ec Bug 1288817, part 2 - Remove marking methods from XPCNativeScriptableShared and XPCNativeScriptableFlags. r=billm
Nothing depends on the value of the mark bit now.

MozReview-Commit-ID: 9k06XdtR9KB
2016-08-16 14:29:51 -07:00
Andrew McCreight 821b59184e Bug 1288817, part 1 - Make XPCNativeScriptableShared refcounted. r=billm
This adds a heap allocation in
XPCNativeScriptableSharedMap::GetNewOrUsed() on the fast
path. Hopefully that code is not hot enough for it to matter. I could
work around this if needed, but it would be ugly.

mNativeScriptableSharedMap has a weak pointer to
XPCNativeScriptableShared. I moved this removal from
XPCJSRuntime::FinalizeCallback() to the dtor.

There are two types of scriptable: one is a dummy one created in
GetNewOrUsed() to do a lookup, and the other is a fully filled out
one. The dummy one is not added to the hashtable, and may have had its
name stolen if we created a new scriptable. The latter makes it so
that you crash if you try to look it up in the hashtable anyways, so
this patch only looks up fully filled out scriptables.

This patch also removes MOZ_COUNT_CTOR/DTOR because they are not
needed for refcounted classes.

Stop destroying mScriptableInfo in XPCWrappedNative's
SystemIsBeingShutDown(), because that will end up destroying
XPCNativeScriptableShared, while their js::ClassOps are still in use
by JS objects. This matches the existing behavior, which does not
sweep these ScriptableShared during shutdown. (This came up in opt
xpcshell tests.)

MozReview-Commit-ID: GeG0pAYqXpR
2016-08-16 14:29:51 -07:00
Luke Wagner 1fc30f1294 Bug 1283924 - Baldr: add initial main-thread WebAssembly.compile (r=till)
MozReview-Commit-ID: 1ndd7aUF246

--HG--
extra : rebase_source : c46e234a66e4808cd88d72053182d96246159166
2016-08-16 16:20:46 -05:00
Luke Wagner dcbcdc16d8 Bug 1283924 - Baldr: tidy how ModuleKind is set (r=sunfish)
MozReview-Commit-ID: 1pZf96RncII

--HG--
extra : rebase_source : a7304a5beb102008c23a5879d99f12e2b099311f
2016-08-16 16:20:46 -05:00
Luke Wagner 6f3f4fb97a Bug 1283924 - Add NewLatin1StringZ (r=jandem)
MozReview-Commit-ID: FSJuXAunBni

--HG--
extra : rebase_source : 95d42b15c8b95afc4579deff67683f0091836136
2016-08-16 16:20:46 -05:00
Jinank Jain eb044fd113 Bug 1290676 - Call InsertionSort when |denseLen < 24| in MergeSort. r=mrrrgn
--HG--
extra : rebase_source : fb647e2f9d660c5070f265c18fb194a40d7cb843
2016-08-08 11:38:47 -04:00
Jinank Jain 8df70af0cd Bug 1294466 - Check that the output of all JITFLAGS is the same on jit-tests. r=terrence
--HG--
extra : rebase_source : ead38b2f9b4c01f31d0eefe930d132f657fed05d
2016-08-15 13:04:57 -04:00
Michael Smith 7a21ca42a2 Bug 1294844 - groupOf shell function should use getGroup(cx) to handle lazy groups properly. r=shu
--HG--
extra : rebase_source : b40220a32310be7527f66f25af3d5f33a973b6ea
2016-08-12 14:09:39 -07:00
Emanuel Hoogeveen 52b34d1867 Bug 1271165 - Part 5: Make AssemblerBuffers use the new alloc policy. r=jandem 2016-08-12 07:38:00 -04:00
Emanuel Hoogeveen 8f67432641 Bug 1271165 - Part 3: Create and hook up an AllocPolicy for JSAPI. r=jandem 2016-08-12 07:37:00 -04:00
Michael Smith bebb5eeaca Bug 1287161 - Move TraceLogger VM events into generateVMWrapper. r=hv1989
--HG--
extra : rebase_source : 9a417868453113bbc38fece397c3e53a0454a081
2016-08-05 16:53:31 -07:00
Michael Smith ac3438c9bb Bug 1287161 - Add names to all VM FunctionInfo; remove unknown name constructor. r=hv1989
--HG--
extra : rebase_source : d6182bf41a8516cb263a462fa5bd95ce7b5ee326
2016-08-05 15:58:32 -07:00
Wes Kocher 565cdb97f5 Backed out changeset 3fbb8651a171 (bug 1121938) for breaking encrypted-media-syntax.html CLOSED TREE 2016-08-10 13:17:39 -07:00
André Bargull 878648c8cf Bug 1121938 - Implement TypedArray.prototype.toString and .toLocaleString. r=waldo, r=froydnj 2016-07-29 09:04:06 -07:00
Ehsan Akhgari d10c483558 Bug 1293801 - Add a JS_IsInitialized() API; r=sfink
This is needed so that SpiderNode can support both being in charge of
initializing SpiderMonkey and allowing its embedder to do that.
2016-08-10 11:50:51 -04:00
Sander Mathijs van Veen 006894c1ba Bug 1292858 - Assertion failure: (detail::IsInBounds<From, To>(aFrom)), at dist/include/mozilla/Casting.h:237 .r=jandem 2016-08-10 16:58:31 +02:00
Michael Smith d38937cf6d Bug 1292659: Add js-shell option to disable CacheIR stubs. r=efaust 2016-07-22 17:57:17 -07:00
Michael Smith 4298aefe5c Bug 1291990 - Add groupOf shell function and group info to DumpObject. r=efaust 2016-08-03 20:24:09 -07:00
Michael Smith f4b99c1c45 Bug 1290322 - Sync up BaselineScript::New parameter order. r=efaust 2016-07-28 17:39:59 -07:00
Shih-Chiang Chien a8326d97ea Bug 1288600 - reject promise with NotFoundError while no device, and NotAllowedError while canceled by user. r=smaug.
MozReview-Commit-ID: ArQHhdIpQjg
2016-08-09 09:58:14 +08:00
Carsten "Tomcat" Book 4f6b9572f5 Merge mozilla-central to mozilla-inbound 2016-08-10 16:02:57 +02:00
Carsten "Tomcat" Book 553a2da922 merge mozilla-inbound to mozilla-central a=merge 2016-08-10 15:54:26 +02:00
Tooru Fujisawa fd6bb53cea Bug 1293551 - Part 2: Add debug-only function to dump Promise allocation site and resolution site. r=till 2016-08-10 22:26:08 +09:00
Tooru Fujisawa aad6e47f0d Bug 1293551 - Part 1: Add js::BuildUTF8StackString function. r=fitzgen 2016-08-10 22:26:08 +09:00
Tooru Fujisawa bd1fd2e729 Bug 1016936 - Part 4: Add test for IteratorNext with non-object returned by iterator.next(). r=jorendorff 2016-08-10 22:26:08 +09:00
Tooru Fujisawa 453cda5798 Bug 1016936 - Part 3: Support JSOP_CHECKISOBJ in Ion. r=jandem 2016-08-10 22:26:07 +09:00
Tooru Fujisawa 726a539a34 Bug 1016936 - Part 2: Support JSOP_CHECKISOBJ in baseline. r=jandem 2016-08-10 22:26:07 +09:00
Tooru Fujisawa 142095d2ef Bug 1016936 - Part 1: Throw if the value returned by iterator.next() is not an object. r=jorendorff 2016-08-10 22:26:07 +09:00
Eddy Bruel 974151839a Bug 1271650 - Add GC typedefs for commonly used debugger types. r=fitzgen 2016-08-10 14:24:50 +02:00
Eddy Bruel 2330c2ae38 Bug 1271650 - DebuggerFrameVector should be a GCVector<DebuggerFrame*>. r=fitzgen 2016-08-10 14:23:36 +02:00
Heiher 6497612dd6 Bug 1293606 - IonMonkey: MIPS: Import Loongson optimizations to ma_load and ma_store baseindex. r=arai
---
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp | 110 +++++++++++++++++++++
 1 file changed, 110 insertions(+)
2016-08-10 14:18:22 +08:00
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Mike Hommey 77ee4f3ce4 Bug 1292463 - Move MOZ_C{,XX}_SUPPORTS_WARNING to python configure. r=chmanchester 2016-08-10 10:50:01 +09:00
Mike Hommey 4585ac7815 Bug 1292463 - Move --enable-warnings-as-errors to python configure. r=chmanchester 2016-08-10 10:49:54 +09:00
Nick Fitzgerald b26d2ef244 Bug 1293456 - Make js::Zone::usedByExclusiveThread atomic; r=jimb
The usedByExclusiveThread member is asserted against both on and off main thread
in at least js::ExclusiveContext::setCompartment and maybe other places. As
such, it should be atomic to protect against data races.
2016-08-09 16:33:39 -07:00
Nick Fitzgerald dea6f2236e Bug 1293419 - Make the trace logger use js::Thread instead of PRThread; r=terrence
This also introduces a hasher for js::Thread::Id.
2016-08-09 16:33:39 -07:00
Nick Fitzgerald 4a00e77409 Bug 1293396 - Make the js shell's worker threads a js::Thread instead of a PRThread; r=terrence 2016-08-09 16:33:39 -07:00
Nick Fitzgerald e0707d9ca9 Bug 1290589 - Part 1: Thread AutoLockForExclusiveAccess params through compartment setting functions as proof of lock holding; r=terrence 2016-08-09 16:33:38 -07:00
Nick Fitzgerald 40f7a426d3 Bug 1290589 - Part 0: Remove JSRuntime's exclusiveAccessOwner and *CanLock assertions; r=terrence
PTHREAD_MUTEX_ERRORCHECK gives us this error checking against reentrancy and
unlocking an unlocked lock or another thread's lock already, so it isn't
needed. This also makes the *CanLock assertions no-ops.

In the future, it would be nice to introduce ordering checks against inversions.
2016-08-09 16:33:38 -07:00
Dan Gohman 95d7524476 Bug 1293313 - IonMonkey: Handle non-canonical NaNs in constant folding. r=luke 2016-08-09 15:35:55 -07:00
Tom Schuster 0aa1f8a13a Bug 1171586 - Remove regress-476427.js test. r=arai 2016-08-09 23:16:48 +02:00
Luke Wagner 3f0b63f537 Bug 1293312 - Baldr: handle big offsets in unaligned loads/stores (r=sunfish)
MozReview-Commit-ID: 6szRIg3LrjI

--HG--
extra : rebase_source : 02820500d81339f3ceb1c26304c7ad8fd41300f4
2016-08-08 21:44:36 -05:00
Jon Coppeard 30cadf6976 Bug 1292664 - Improve GC state assertion in JitcodeGlobalTable r=terrence
--HG--
extra : rebase_source : 98f9142b15a4685ce7dadfd1741437852d7c4145
2016-08-09 10:27:00 +01:00
Jon Coppeard 5bdb3ddba7 Bug 1292529 - Fix assertion used by GCPtr destructor to not assume referent is still allocated r=terrence
--HG--
extra : rebase_source : 08e0aa0d95f6a25818a16f30c453d7be60ae4ef0
2016-08-09 10:26:00 +01:00
Jon Coppeard eecd67a0ff Bug 1293262 - Always pre-tenure objects after minor GC r=terrence
--HG--
extra : rebase_source : 899e56975eb9c2e0c73e8510e2b4a2a9c284247f
2016-08-09 10:23:01 +01:00
Jon Coppeard 03687f37c9 Bug 1293260 - Improve ObjectGroup hash in TenureCountCache in 64 bit builds r=terrence
--HG--
extra : rebase_source : adba3718d1a646b1446c12f16f969068aae0907d
2016-08-09 10:22:21 +01:00
Jeff Walden 5a875fc573 Backed out changeset c3f06ba15fda -- worker setup isn't happening quite as early as it was assumed to occur, so we have impermissible cross-thread happenings occurring sometimes. r=three-to-five-oranges-per-push-per-philor 2016-08-08 19:43:15 -07:00
Luke Wagner 312d869101 Bug 1284155 - Baldr: improve tracing of wasm::Table (r=terrence)
MozReview-Commit-ID: CPMOmVGNFZb

--HG--
extra : rebase_source : cff0f4924cf5ddb81aa794bc4cfea8c62fe03f25
2016-08-08 08:53:07 -05:00
Jeff Walden bedc4de0a4 Bug 1291076 - Reorder Intl initialization to be both OOM-safe *and* smaller. r=sfink 2016-08-01 17:24:04 -07:00
Andrew McCreight b22f612021 Bug 1289137 - Make XPCNativeSet::NewInstance() take an nsTArray argument. r=billm
I could clean up ArrayAutoMarkingPtr more, but it is going to be
removed entirely in bug 1288870.

MozReview-Commit-ID: Jyjc2ZfvF3i

--HG--
extra : rebase_source : d7954ab821722b26fe5fc4f5ddc319dd824c6879
2016-07-27 16:36:48 -07:00
Eddy Bruel 569162ecf7 Bug 1291685 - Fix regression caused by bug 1271650. r=jimb 2016-08-14 09:54:20 +02:00
Eddy Bruel e71cf33c06 Bug 1271650 - Implement a C++ interface for DebuggerFrame.eval(WithBindings). r=jimb 2016-08-14 09:49:58 +02:00
Eddy Bruel e430a1e3bd Bug 1271650 - Move EvaluateInEnv and DebuggerGenericEval. r=jimb 2016-08-14 09:49:54 +02:00
Eddy Bruel d125232b98 Bug 1271650 - DebuggerGenericEval should return both trap status and value. r=jimb 2016-08-14 09:49:09 +02:00
Sander Mathijs van Veen a53ae2d4c6 Bug 1293258 - AddressSanitizer: attempting double-free on 0x614000342640 [@ __interceptor_free] or Crash [@ jemalloc_crash] with TypedArray. r=jandem
--HG--
extra : amend_source : 686366337724968374c1a981e1031a02b7ede964
2016-08-12 21:38:45 -04:00
Wes Kocher b1e2d2ad52 Merge m-c to inbound, a=merge 2016-08-12 16:29:24 -07:00
Nathan Froyd 0a6a801dc2 Bug 1294537 - introduce a non-null-checking placement operator new; r=sunfish,nbp
The default placement operator new is defined to always require that its
result be null-checked.  A sufficiently smart compiler can remove this
check, but not all compilers are sufficiently smart.  Better to have a
custom placement operator new that will remove null checks in a way
defined by the standard.
2016-08-12 22:43:49 -04:00
Till Schneidereit 02dfa23824 Bug 1291324 - Call mozilla::TimeStamp::ProcessCreation in JS_Init to ensure getting Promise timestamps is infallible. r=jonco
We already call PRMJ_NowInit for similar reasons.
2016-08-12 17:42:48 +02:00
Luke Wagner 0a3549dc38 Bug 1291757 - Baldr: followup fix for NPOTB --disable-ion bustage (r=bustage)
MozReview-Commit-ID: 6yZXv0KYIxj
2016-08-12 10:08:59 -05:00
Wes Kocher 02224536e4 Merge m-c to autoland, a=merge 2016-08-10 16:56:26 -07:00
Mike Hommey a918e97bfa Bug 1293837 - Move HAVE_64BIT_BUILD test to python configure. r=chmanchester
Also, now that we're using modern C++11 compilers, we can just rely on
static_assert, instead of the pile of macros used in the autoconf test.

--HG--
extra : rebase_source : 85d507da653d07e6527a971082277486e3502ea2
2016-08-10 09:00:23 +09:00
Jeff Walden f316e4cdc9 Bug 1291077 - Remove a use of JS_strdup from Intl.cpp. r=sfink 2014-07-21 19:09:36 -04:00