Commit Graph

56106 Commits

Author SHA1 Message Date
Andrew McCreight
e806f57820 Bug 1289136 - Fifth argument to XPCConvert::NativeInterface2JSObject() is always null. r=gabor 2016-07-27 10:11:40 -07:00
Bobby Holley
a4d1001c60 Bug 1289617 - Add an opt-out for bindgen in the SpiderMonkey DEBUG checker. r=sfink 2016-07-27 09:41:48 -07:00
Matthew Wein
33de9c036e Bug 1285063 - Part 1: Add a helper to XPCOMUtils to iterate over entries in a category. r=kmag
MozReview-Commit-ID: 3mjrPrRuLej

--HG--
extra : rebase_source : 7b7dad1a4bab958a590c24d97f564e34b3355633
2016-07-11 17:33:06 -07:00
Till Schneidereit
0f21372d5b Bug 1289040 - Fix malformed test. r=me 2016-07-27 17:51:17 +02:00
Boris Zbarsky
5b840d9b96 Bug 1288791 part 2. Rename WrapNativeParent to FindAssociatedGlobal and update it to actually do that. r=bkelly 2016-07-27 11:05:36 -04:00
Till Schneidereit
ba785233be Bug 1289040 - Properly handle non-wrapped Promise hook functions in UnwrappedPerformPromiseThen. r=efaust 2016-07-27 16:59:59 +02:00
Till Schneidereit
79052e5d92 Bug 1288382 - Don't try to add non-Promise objects to the list of dependent promises that's only used for debugging. r=efaust 2016-07-27 16:59:18 +02:00
Carsten "Tomcat" Book
7293066753 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
Mike Hommey
1f9624559e Bug 1289294 - Move MT detection to python configure. r=chmanchester
--HG--
extra : rebase_source : c84ade9a0db9aca2f2e64b8a3424fe14dd19a924
2016-07-26 15:15:08 +09:00
Jim Blandy
002186dad9 Bug 1282518 - Propagate return values from RematerializedFrames to BaselineFrames. r=shu 2016-07-22 14:19:48 -07:00
Mike Hommey
8398056155 Bug 1289291 - Move Windows SDK detection to python configure. r=chmanchester
At the same time, autodetect the SDK if WINDOWSSDKDIR is not given.

--HG--
extra : rebase_source : 4ee98e2105b607bab5050127f23354e9b291a246
2016-07-22 19:10:04 +09:00
Mike Hommey
1b9c70450b Bug 1289289 - Move --with-windows-version to python configure. r=chmanchester
Also, don't set the MOZ_WINSDK_TARGETVER define anymore, as it's unused.

--HG--
extra : rebase_source : a6aa1458985d6c158abdc7cd7926b73990f4df2a
2016-07-22 17:08:53 +09:00
Benjamin Bouvier
6f037c3aa7 Bug 1286517: Allow any expression in ElemSegments offset initializers; r=luke
MozReview-Commit-ID: KIfET7uiPZF

--HG--
extra : rebase_source : 6329ed8b4572bcc8d0d38d5feda011b0b82ca348
2016-07-25 19:50:26 +02:00
Benjamin Bouvier
bcbc873b13 Bug 1286517: Implement text-to-binary for Globals; r=luke
MozReview-Commit-ID: ajyuriWJK5

--HG--
extra : rebase_source : e9c33a0e729ebc3dda24c18fe5fe3a3db019e30d
2016-07-25 18:10:58 +02:00
Benjamin Bouvier
3bb9e21ec3 Bug 1286517: Implement Global section in WebAssembly; r=luke
MozReview-Commit-ID: aD6rBQ3e57

--HG--
extra : rebase_source : 6987461ccfee07a5f494745fcb02cbac825def95
2016-07-25 19:50:20 +02:00
Benjamin Bouvier
8839c5fde7 Bug 1286517: Implement codegen for i64 globals on x64; r=luke
MozReview-Commit-ID: IYgd60IZhBs

--HG--
extra : rebase_source : 33136af695975f7860554b400202f556267f4a3a
2016-07-22 14:30:12 +02:00
Benjamin Bouvier
b4f8b1aae8 Bug 1286517: Rename {Load/Store}Global to {Get,Set}Global in wasm bytecode; r=luke
MozReview-Commit-ID: 5BGgPC487xm

--HG--
extra : rebase_source : 3cf3e73a0113a94e11b8ba8f2df0cfd23acfbb10
2016-07-22 14:29:17 +02:00
Nicolas B. Pierron
ab3ab6c2aa Bug 1289025 - Ensure enough ballast space in MakeMRegExpHoistable. r=arai 2016-07-26 13:00:16 +00:00
Heiher
639f4a2429 Bug 1289262 - IonMonkey: MIPS64: Don't clobbers the scratch registers in ma_addTestOverflow/ma_subTestOverflow. r=arai
---
 js/src/jit/mips64/MacroAssembler-mips64.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
2016-07-27 13:23:17 +08:00
Heiher
399ac7e63e Bug 1289261 - IonMonkey: MIPS: Use conditional move in minMaxDouble/Float32. r=arai
---
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp | 52 ++++++++++++----------
 1 file changed, 28 insertions(+), 24 deletions(-)
2016-07-27 13:23:16 +08:00
Heiher
67e31960f4 Bug 1289263 - Baldr: MIPS64: Fix compile errors in loadAsmJSHeapRegisterFromGlobalData. r=luke
---
 js/src/jit/mips64/MacroAssembler-mips64.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2016-07-27 13:23:15 +08:00
Carsten "Tomcat" Book
574d0d452b merge mozilla-inbound to mozilla-central a=merge 2016-07-26 11:55:54 +02:00
Andrew McCreight
ec20330bad Bug 1288823, part 7 - Fix XPCNativeScriptableInfo ctor arguments. r=mrbkap 2016-07-25 16:32:56 -07:00
Andrew McCreight
3a21c61e93 Bug 1288823, part 6 - Remove unused methods from XPCNativeScriptableInfo and XPCWrappedNativeProto. r=mrbkap 2016-07-25 16:32:56 -07:00
Andrew McCreight
f71885f593 Bug 1288823, part 5 - Remove the unused XPCWrappedNativeProto::mClassInfoFlags. r=mrbkap 2016-07-25 16:32:56 -07:00
Andrew McCreight
9f3f1c7a9b Bug 1288823, part 4 - Mark things delete in XPConnect. r=mrbkap 2016-07-25 16:32:56 -07:00
Andrew McCreight
f8d74765b2 Bug 1288823, part 3 - Mark more classes final in xpcprivate.h. r=mrbkap 2016-07-25 16:32:56 -07:00
Andrew McCreight
192238e71d Bug 1288823, part 2 - Remove unused #defines from xpcprivate.h. r=mrbkap 2016-07-25 16:32:56 -07:00
Andrew McCreight
7e800a8998 Bug 1288823, part 1 - Use doSweep more consistently in XPCJSRuntime::FinalizeCallback. r=mrbkap 2016-07-25 16:32:55 -07:00
Nick Fitzgerald
4e81593ca0 Bug 1289073 - Convert from double to unsigned before checking that the max frames is greater than zero; r=jimb 2016-07-25 15:07:22 -07:00
Nick Fitzgerald
57f0aea91b Bug 1289058 - Null check principals before holding them in JS::FirstSubsumedFrame; r=jimb 2016-07-25 15:07:22 -07:00
Mike Hommey
02e5baaf74 Bug 1289246 - Do not hardcode mt.exe as the Manifest Tool. r=chmanchester
Configure uses the value of the MT environment variable before falling back
to mt(.exe), but the build system was completely ignoring the MT
environment variable.

--HG--
extra : rebase_source : 8c9b43aeb08493ae5bd6d6361f4f18f097ea0553
2016-07-22 15:56:26 +09:00
Andi-Bogdan Postelnicu
cd8204fb3b Bug 1289064 - eliminate null check on |iid| in XPCConvert::NativeInterface2JSObject. r=bholley
MozReview-Commit-ID: EtiVWiHlYx5

--HG--
extra : rebase_source : 4dcd94c19f0b7f68787658e8937b2535fe37b39f
2016-07-25 13:13:19 +03:00
Carsten "Tomcat" Book
b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Chris Peterson
1408fa9074 Bug 1288925 - Replace JS_ALIGNAS() polyfill with alignas(). r=sfink 2016-07-25 01:14:04 -07:00
Benjamin Bouvier
feab551c2f Bug 1289080: Don't allow call_indirect without a table and memory accesses without memory; r=luke
MozReview-Commit-ID: DkuyBiGsaxs

--HG--
extra : rebase_source : d051b7e8c9e7c32ba60a6e37bb4c6dc98dc36ef9
2016-07-25 14:54:50 +02:00
Jakob Stoklund Olesen
8525095859 Bug 1279312 - Remove SymbolicAddress::StackLimit. r=luke
This symbolic address is not used any longer. It has been replaced by the
stackLimit entry in the TlsData struct.
2016-07-25 07:57:36 -07:00
Jakob Stoklund Olesen
fa3211efd0 Bug 1279312 - Use WasmTlsReg in baseline Wasm compiler. r=lth
Allocate an additional slot in localInfo_ and use it to save the incoming TLS
pointer. When setting up arguments for a function call, get the TLS pointer from
that local slot. Also preserve the TLS pointer register by reloading it before
returning.

This makes the Baseline ABI compatible with the Ion ABI.
2016-07-25 07:57:36 -07:00
Jakob Stoklund Olesen
ee4080cea7 Bug 1279312 - Handle call-preserved registers in register allocator. r=bhackett
- Add a virtual isCallPreserved() method to LNode which allows a call
  instruction to indicate that it preserves the values of some registers. Use
  this hook in BacktrackingAllocator when processing a call instruction.

- Add a preservesTlsReg() property to MAsmJSCall and use this to implement the
  LAsmJSCall::isCallPreserved() method.

- Mark intra-module WebAssembly calls as preserving the TLS pointer register.

This change allows the backtracking register allocator to leave the TLS pointer
register alone in small functions that don't need it for something else. There
are probably more improvements to be done if we need to split the live range of
the TLS pointer register. For example, BacktrackingAllocator::splitAcrossCalls()
will still split that live range at all calls.
2016-07-25 07:57:36 -07:00
Jakob Stoklund Olesen
31633a4c4d Bug 1279312 - Preserve TLS pointer register across calls. r=bbouvier
WebAssembly functions take a TLS pointer argument and now ensure that the
WasmTlsReg register has the same value when they return.

This is not yet exploited by the register allocator which still thinks that all
registers are clobbered by function calls.
2016-07-25 07:57:36 -07:00
Jakob Stoklund Olesen
b600088345 Bug 1279312 - Use TLS pointer for the stack limit check. r=luke
Get the stack limit from TlsData::stackLimit instead of
SymbolicAddress::StackLimit. Since the TLS pointer register is available at
every function prologue, the over-recursion check is the same cost as using the
statically linked address.
2016-07-25 07:57:36 -07:00
Jakob Stoklund Olesen
6b0c6f166b Bug 1279312 - Pass a TLS pointer hidden argument to WebAssembly functions. r=luke
WebAssembly functions now expect to be passed a hidden argument in WasmTlsReg
which is a pointer to a TlsData struct.

Temporarily allocate a TlsData instance in the wasm::Instance itself. When wasm
supports multithreading, we will need to allocate a TlsData instance per thread
per module instance.

This patch generates code to pass the TLS pointer to WebAssembly functions,
preserving it through intra-module calls. The pointer is not used for anything
yet, and the the TLS pointer register is not currently preserved across function
calls.
2016-07-25 07:57:35 -07:00
Jan de Mooij
c7e88a5ad8 Bug 1286795 part 6 - Replace JS_NewRuntime/JS_DestroyRuntime with JS_NewContext/JS_DestroyContext. r=luke,bz 2016-07-23 19:54:19 +02:00
Jan de Mooij
e0ae8a8c5a Bug 1286795 part 5 - Change some classes to take JSContext instead of JSRuntime. r=terrence 2016-07-23 19:53:03 +02:00
Jan de Mooij
fd0edec3bf Bug 1286795 part 4 - Change some callbacks to take JSContext instead of JSRuntime. r=terrence 2016-07-23 19:52:47 +02:00
Jan de Mooij
0770a8d8b4 Bug 1286795 part 3 - Change UbiNode APIs to take JSContext instead of JSRuntime. r=fitzgen 2016-07-23 19:52:25 +02:00
Jan de Mooij
8073c28728 Bug 1286795 part 2 - Change JS_RequestInterruptCallback to take JSContext instead of JSRuntime. r=luke 2016-07-23 19:52:20 +02:00
Jan de Mooij
1b710973b8 Bug 1286795 part 1 - Change more GC APIs to take JSContext instead of JSRuntime. r=terrence 2016-07-23 19:51:23 +02:00
Chris Peterson
b0efbe0ef8 Bug 1288603 - Remove NumericLimits.h because all platforms have numeric_limits<char16_t>. r=froydnj 2016-07-22 22:05:45 -07:00
Ryan VanderMeulen
3b625b3b98 Bug 1282257 - Fix include ordering to make the style checker happy. r=bustage 2016-07-22 17:08:29 -04:00
Boris Zbarsky
c0fdb1ba69 Bug 1157127. When reusing the global of an initial about:blank for a new document, clear out its XBL scope when we change the global's principal. r=bholley 2016-07-22 16:19:52 -04:00
Boris Zbarsky
ab51033732 Bug 1288581 part 2. Stop messing with the ExpandoAndGeneration's expando in CC code, since it's now traced by the reflector proxy. r=smaug 2016-07-22 16:19:52 -04:00
Jinank Jain
3822028a8a Bug 1284441 - Remove unnecessary cast from ExpressionDecompiler::decompilePC. r=arai 2016-07-21 18:12:49 -04:00
Oriol
3f8f83a0a1 Bug 1282257 - Create accessor properties in Debugger.Object.prototype to expose the target and the handler of a proxy object. r=jimb 2016-07-22 10:50:00 -04:00
Oriol
1c9ae94a7e Bug 1288515 - Rename GetScriptedProxyHandlerObject to ScriptedProxyHandler::handlerObject and make it public. r=jimb 2016-07-22 10:39:00 -04:00
Terrence Cole
c3a5940060 No Bug - Fix up some function names that appear in comments; r=meow
--HG--
extra : rebase_source : c71365b5b3aeb504318ad4720e76b3d0b75b50b9
2016-07-22 10:50:26 -07:00
Terrence Cole
66620d7847 Bug 1288566 - Include all possible states in StateName; r=jonco
--HG--
extra : rebase_source : 3e10b55fef34b5d9641c431f1818d08278e34554
2016-07-22 10:32:05 -07:00
Luke Wagner
04fe291d25 Bug 1288222 - Baldr: match signature types structurally (r=bbouvier)
MozReview-Commit-ID: 7Noq2TBkKmB

--HG--
extra : rebase_source : 89201ad63cdd369437b7c2c251d6c9e65e9c2ece
2016-07-21 21:19:49 -05:00
Luke Wagner
fc7d4e3d39 Bug 1288222 - Baldr: factor out common global access code (r=bbouvier)
MozReview-Commit-ID: 5NOGyihk8s

--HG--
extra : rebase_source : 622fa7961d494a252ef2a7c5c04959904965ce96
2016-07-20 12:56:53 -05:00
Luke Wagner
f58ed6912f Bug 1288564 - Baldr: change HeapPtr to ReadBarriered in WeakCache (r=terrence)
MozReview-Commit-ID: 722L1GFAo6c

--HG--
extra : rebase_source : 867c492d7114bad15414c6b671888f0ad263e478
2016-07-21 19:26:42 -05:00
Jon Coppeard
45cd7b63bf Bug 1288716 - Fix jit-test handling of --tbpl argument r=bbouvier 2016-07-22 13:57:20 +01:00
Jon Coppeard
d8659edc52 Bug 1275448 - Don't crash on shutdown due to non-empty type descriptors set if we leak r=sfink 2016-07-22 13:57:10 +01:00
Jon Coppeard
09944b17dd Bug 1288427 - Remove the base shapes update phase of compacting GC r=terrence 2016-07-22 13:57:10 +01:00
Jon Coppeard
960b895487 Bug 1285305 - Add comments explaining compacting GC update phases r=sfink 2016-07-22 13:57:10 +01:00
Carsten "Tomcat" Book
8b6316ec5f Merge mozilla-central to mozilla-inbound 2016-07-22 11:59:06 +02:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book
c7846e126c Backed out changeset 16aa7041c009 (bug 1287107) for causing xpcshell and mac tests 2016-07-22 11:30:23 +02:00
Andrew McCreight
623b56a3f1 Bug 1287143 - Remove the window argument to SpecialPowers.exactGC(). r=jmaher
Cu.forceCC() is the same as DOMWindowUtils.cycleCollect(), but does
not require a window.
2016-07-19 13:13:00 +08:00
Nick Fitzgerald
ea16cfab73 Bug 1280818 part 1 - Add the ability to capture the stack until the first non-self-hosted frame with the given principals; r=bz,jimb
Before this commit, one could either capture all stack frames (by passing
maxFrameCount = 0) or a maximum of N frames (by passing maxFrameCount = N). This
commit introduces the ability to capture the first frame (by default ignoring
self hosted frames) with some target principals. This new option required
replacing the `unsigned maxFrameCount` parameter with the introduction of a new
sum type to describe the stack capturing behavior:

  StackCapture = AllFrames
               | MaxFrames(unsigned n)
               | FirstSubsumedFrame(JSPrincipals* p, bool ignoreSelfHosted)

This is obviously more wordy in C++ than we'd like, but does make the stack
capturing more explicit rather than relying on the sentinal 0 to stand in for
infinity.
2016-07-21 23:40:59 -04:00
Eric Faust
8e556231ed Bug 1277034 - Ensure that OOM message is properly flushed to stderr. (r=terrence, a=KWierso) 2016-07-21 16:21:20 -07:00
Ryan VanderMeulen
76cac2b034 Backed out changeset 8f3feee73843 (bug 1279992) for browser_pdfjs_main.js crashes on a CLOSED TREE. 2016-07-21 14:41:49 -04:00
Fabrice Desré
f5b619fb28 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : d0c19fcda5c72ecdce3b0d0bbbafa5a7954d7a4c
2016-03-03 09:58:47 -08:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Till Schneidereit
98a17b460b Bug 911216 - Fix crashes caused by not properly handling not having an object at all as the target promise in EnqueuePromiseReactionJob, on a CLOSED TREE. r=bustage 2016-07-21 13:36:33 +02:00
Till Schneidereit
f8bc4fae19 Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-21 12:06:30 +02:00
Eddy Bruel
807cc5dc91 Bug 1271650 - Implement a C++ interface for DebuggerFrame.isLive. r=fitzgen 2016-07-20 13:50:04 +02:00
Jon Coppeard
cfae91b7c1 Bug 1287869 - Add zeal mode to check nursery integrity r=terrence 2016-07-21 09:58:48 +01:00
Eddy Bruel
03730443d5 Bug 1271650 - DebuggerFrame::referent should be a static method. r=jimb 2016-07-20 13:44:13 +02:00
Till Schneidereit
0d6052d16c Bug 1287334 - Properly handle non-Promise objects as dependent promise objects in js::EnqueuePromiseReactionJob. r=efaust 2016-07-21 10:29:00 +02:00
Chris Peterson
224290062c Bug 1277106 - Part 3: Expand MOZ_UTF16() characters to u'' char16_t literals. r=luke 2016-07-20 22:03:48 -07:00
Chris Peterson
b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Iris Hsiao
c2fcf15e25 Backed out changeset f2cf760a4668 (bug 1240984) for XPCShell failures 2016-07-21 11:14:49 +08:00
Steve Fink
381cbd207b Bug 1264403 - Check for JS_DEBUG/DEBUG mismatch at compile time, r=jorendorff
MozReview-Commit-ID: FLzuWvrIbAG

--HG--
extra : rebase_source : dcdbf9bc4b03a1dc733fa17ccb804977a2204118
extra : amend_source : 6496deea557cbcd6acafe1ab3e79f3a691840f23
extra : histedit_source : efb59bef77fa4489c91d4eef05bba48f70ce8e55
2016-07-20 18:49:38 -07:00
Steve Fink
038fda516d Bug 1264403 - Check for DEBUG mismatch between compiled code and library at runtime, r=Waldo
MozReview-Commit-ID: G40Dad5k8vb

--HG--
extra : rebase_source : 2ca8ef3c7ba044bbb38736018f0a35d6866419d0
extra : histedit_source : b4b35cfb5ed07cf36dfb95e15986b15f4c37f4ab
2016-07-20 18:25:02 -07:00
Heiher
3a11fedd8c Bug 1287349 - wasm: MIPS64: Implement LoadI64 in Codegen. r=bbouvier
---
 js/src/jit/mips64/CodeGenerator-mips64.cpp | 29 +++++++++++++++++++++++++++++
 js/src/jit/mips64/CodeGenerator-mips64.h   |  1 +
 2 files changed, 30 insertions(+)
2016-07-21 09:23:57 +08:00
Heiher
ad8fab5cfd Bug 1287349 - wasm: MIPS: Implement WasmBoundsCheck/Load/Store in Codegen. r=luke
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 130 +++++++++++++++++++++
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h |   3 +
 2 files changed, 133 insertions(+)
2016-07-21 09:23:56 +08:00
Heiher
fe68761b42 Bug 1287349 - wasm: MIPS: Fix WasmBoundsCheck/Load/Store in Lowering. r=luke
---
 js/src/jit/mips-shared/Lowering-mips-shared.cpp | 49 ++++++++-----------------
 1 file changed, 16 insertions(+), 33 deletions(-)
2016-07-21 09:23:55 +08:00
Heiher
59aa6dcf38 Bug 1287349 - wasm: Add a temp register ptrCopy to LWasmLoadI64. r=bbouvier
---
 js/src/jit/shared/LIR-shared.h | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
2016-07-21 09:23:54 +08:00
Wes Kocher
80eb19aa4f Backed out changeset ff1ffc083571 (bug 1287334) for spidermonkey bustage 2016-07-20 18:01:13 -07:00
Steve Fink
8dabe9a4da Bug 1240984 - Remove dummy ArrayBufferContents backstop, r=Waldo
MozReview-Commit-ID: h4oF04rDZn

--HG--
extra : rebase_source : f1186c2c37c222e747b951207b0ed02a31a2639d
2016-03-09 14:39:35 -08:00
Dimo
0e12359ca9 Bug 1282618 - Baldr: Implement a simple redundant bounds check elimination pass r=sunfish,bbouvier 2016-07-20 13:52:54 -07:00
Steve Fink
5c3ccb71c2 Bug 1288241 - Fix compilation failure for msan build due to missing include, r=fitzgen
MozReview-Commit-ID: LPrPaS1tbdB

--HG--
extra : rebase_source : 6310385f3a62d752da874649df4fb907d9a425ee
2016-07-20 13:41:36 -07:00
Till Schneidereit
32781798ba Bug 1287334 - Properly handle non-Promise objects as dependent promise objects in js::EnqueuePromiseReactionJob. r=efaust 2016-07-21 00:35:14 +02:00
Wes Kocher
39bf9cdc6e Backed out 2 changesets (bug 1286517) for SM(arm) bustage CLOSED TREE
Backed out changeset f4f17f746d10 (bug 1286517)
Backed out changeset aa1eab6436ba (bug 1286517)
2016-07-20 12:28:22 -07:00
Wes Kocher
2f160622c6 Backed out changeset 539b9c11ee64 (bug 1286009) for xpcshell bustage CLOSED TREE 2016-07-20 11:04:05 -07:00
Benjamin Bouvier
ed6626caf2 Bug 1286517: Fix assertion in ARM's codegen; r=luke over irc;
MozReview-Commit-ID: H2d8T3ZVqqy

--HG--
extra : rebase_source : 3d281ffd395a8a5f55f41e5d16584c007d77a44e
2016-07-20 19:47:13 +02:00
Aaron Klotz
cca20d7ddd Bug 1285356: Fix blocklist initialization regressions; r=bsmedberg
MozReview-Commit-ID: AlWyzVhtPLL

--HG--
extra : rebase_source : 865aff712f83a567c16b81f4512e072a04f7c6df
2016-07-07 17:00:23 -06:00
Andrew McCreight
d294fad895 Bug 1280591 - Check if gray roots are valid when we add them. r=terrence 2016-07-20 10:41:24 -07:00
Benjamin Bouvier
eb4fb58bdc Bug 1286517: Rename AsmJS{Load,Store}GlobalVar to Wasm{Load,Store}GlobalVar; r=luke
MozReview-Commit-ID: E7vPsXm1WDs

--HG--
extra : rebase_source : fe1d7e145352b0ba445e4633a1e9c3507eef28f7
extra : histedit_source : def439dcbda77437fdf9cbc0f76e4d9d18e52379
2016-07-13 16:44:43 +02:00
Till Schneidereit
1677159f2c Bug 1287335 - Properly handle failure to unwrap cross-compartment wrappers in Promise-related DebuggerObject accessors. r=fitzgen
--HG--
extra : amend_source : 761b9a74a61b84becd9746dbcc255414a7eeb245
2016-07-20 04:58:00 -04:00
Yury Delendik
0b9a99a0bc Bug 1285976 - Add a map of generated WebAssembly source to its binary format. r=luke, r=shu
MozReview-Commit-ID: DWPIwLsVFgk

--HG--
extra : transplant_source : %05%FB%23%E9%B0%89%9A%09%3F%C8%C9%800%FD%1D_%81I9%AA
2016-07-19 16:01:38 -05:00
Nicolas B. Pierron
97d3593afc Bug 1286009 - Distinguish failure reasons of JS_{En,De}codeScript. r=luke 2016-07-20 13:20:49 +00:00
Christoph Kerschbaumer
9ec95d3d9d Bug 471020 - Implement X-Content-Type-Options: nosniff. r=dveditz,bz,mcmanus 2016-07-20 12:22:27 +02:00
Nicolas B. Pierron
8eb3d73a81 Bug 1287416 - Ensure we have enough ballast space in IonBuilder::inlineConstantStringSplitString. r=h4writer 2016-07-20 09:56:49 +00:00
Carsten "Tomcat" Book
8428cd56e3 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
Carsten "Tomcat" Book
8f4e975cd5 Backed out changeset b5000cae87e9 (bug 1282257) for bustage 2016-07-20 08:01:37 +02:00
Till Schneidereit
039b26daeb Bug 1287401 - Enter the callback's compartment before running it in the JS shell's ForwardingPromiseRejectionTrackerCallback. r=jandem
--HG--
extra : rebase_source : a362babba535da1a8f5c861cfbe233f4ed0d42c5
2016-07-19 03:13:00 +02:00
Oriol
cd540457fa Bug 1282257 - Create accessor properties in Debugger.Object.prototype to expose the target and the handler of a proxy object. r=jimb
--HG--
extra : rebase_source : e321ee817cee8c2f05103249ce9fad9762aa8643
2016-07-19 15:00:00 +02:00
Tooru Fujisawa
c4b04df7cb Bug 1287522 - Apply ToString in correct order in RegExp.prototype.toString. r=evilpie 2016-07-20 14:11:35 +09:00
Tooru Fujisawa
177afe670c Bug 1287521 - Call ToUint32(limit) before ToString(separator) in String.prototype.split. r=till 2016-07-20 14:11:35 +09:00
Tooru Fujisawa
035175890b Bug 1157277 - Part 3: Update String.prototype.{toLowerCase,toUpperCase,toLocaleLowerCase,toLocaleUpperCase} to work on code points. r=till 2016-07-20 14:11:35 +09:00
Tooru Fujisawa
8f916449f4 Bug 1157277 - Part 2: Add functions to handle non-BMP ToLowerCase/ToUpperCase. r=till 2016-07-20 14:11:35 +09:00
Tooru Fujisawa
eaf8e288e1 Bug 1157277 - Part 1: Generate macros for non-BMP lowercase/uppercase/folding with make_unicode.py. r=till 2016-07-20 14:11:35 +09:00
Xidorn Quan
76db18facb Bug 1284406 part 3 - Export ICU headers in include/unicode. r=glandium
MozReview-Commit-ID: FuwAgEGjhxm

--HG--
extra : source : c07ceab42b47b18a1e8d436e7c888bdd113575fa
2016-07-20 15:00:13 +10:00
Xidorn Quan
173dc1aa41 Bug 1284406 part 2 - Avoid including ICU header when Intl API is disabled. r=Waldo
MozReview-Commit-ID: IirLcgh8s89

--HG--
extra : source : 5385c9f8d274ae0625fe2ed5ae11be3016639ea2
2016-07-20 15:00:13 +10:00
Andi-Bogdan Postelnicu
3187c6542a Bug 1287776 - eliminate assignment from MOZ_ASSERT in EnsureContentXBLScope. r=bholley
MozReview-Commit-ID: 47a4XSAiQRP

--HG--
extra : rebase_source : e1a2b1732d598ee577c0f541d4fc5ceb961dc68f
2016-07-19 21:57:37 +03:00
Ehsan Akhgari
36b7d9bfd1 Bug 1277135 - Add an rval argument to JS::CloneAndExecuteScript(); r=jorendorff 2016-07-19 19:40:51 -04:00
Luke Wagner
c7232efb25 Bug 1284155 - Baldr: add support for same-instance Table imports (r=bbouvier)
MozReview-Commit-ID: DMMtDimNiAt

--HG--
extra : rebase_source : dba9107260d5f2f697f95e05258a8a5b76f88faa
2016-07-19 15:49:31 -05:00
Luke Wagner
27473ec09d Bug 1284155 - Baldr: add Table.set support for the same-instance case (r=bbouvier)
MozReview-Commit-ID: 4QclLRTJ7KZ

--HG--
extra : rebase_source : 285aacb6749567a4499d458f97fe916c2ef23fc7
2016-07-19 15:23:11 -05:00
Fabrice Desré
7846da76d6 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : 20f6f0235667530c21aca4889b5d33e39c2d1a48
2016-03-03 09:58:47 -08:00
Terrence Cole
d39bbfbbab Bug 1119537 - Make decommit a proper GC phase; r=jonco
--HG--
extra : rebase_source : 849c51f66694fa0d58f92d076d1b8bc59b29289b
2016-02-26 08:03:30 -08:00
Terrence Cole
7cf17460c7 Bug 1251463 - Remove ShrinkGCBuffers; r=jonco,r=mccr8
--HG--
extra : rebase_source : e185ec4d3a043bb7227fdc0a296a14811741cf17
2016-02-25 15:52:59 -08:00
Sander Mathijs van Veen
935ac235b1 Bug 1279992 - Inline constructor of typed arrays with non-compile-time known size. r=jandem, r=Waldo
--HG--
extra : rebase_source : e5deaa00e3045c51e1ede8afc8e80fd7be12c87b
2016-07-21 07:57:00 -04:00
Eddy Bruel
f21d4036bf Bug 1271650 - Implement a C++ interface for DebuggerFrame.getImplementation. r=jimb 2016-07-20 14:03:57 +02:00
Eddy Bruel
c26a8fb3e5 Bug 1271650 - Implement a C++ interface for DebuggerFrame.getType. r=jimb 2016-07-20 14:03:19 +02:00
Eddy Bruel
e34ec9b2e4 Bug 1271650 - Implement a C++ interface for DebuggerFrame.getOlder. r=fitzgen 2016-07-20 13:55:17 +02:00
Eddy Bruel
b4a353e101 Bug 1271650 - Implement a C++ interface for DebuggerFrame.getOffset. r=fitzgen 2016-07-20 13:53:10 +02:00
Benjamin Bouvier
f8024aec29 Bug 1286517: Rename AsmJS{Load,Store}GlobalVar to Wasm{Load,Store}GlobalVar; r=luke
MozReview-Commit-ID: E7vPsXm1WDs

--HG--
extra : rebase_source : 4b54ac9d022cf1998261f604b9985a19aa1eed27
2016-07-20 19:47:13 +02:00
Carsten "Tomcat" Book
336c76b079 Merge mozilla-central to mozilla-inbound 2016-08-04 16:07:29 +02:00
Jason Orendorff
95f629abd2 Bug 1283167 - Remove MOZ_SELFHOSTEDJS. r=till.
MozReview-Commit-ID: 6AqQsiNe6zN

--HG--
extra : rebase_source : fec3572110c273594acc9624c1abb9219d9f68d7
2016-06-29 17:45:59 -05:00
Jason Orendorff
68532909f6 Passing tests for bug 1062349, which was independently fixed by Jeff Walden in bug 888969. no_r=test.
MozReview-Commit-ID: EjCXBLT9Xqa

--HG--
extra : rebase_source : 56936f2c935f0e6997da2b199d5bd1dcb9cd8a00
2016-06-24 17:19:21 -05:00
Jason Orendorff
591065e815 Bug 1265693 - OOM bug in ToAtom<NoGC>(). r=jcoppeard.
MozReview-Commit-ID: 8fAwOBOXIDq

--HG--
extra : rebase_source : 2990132362b207d347d57f3d1c34752f5b927624
2016-04-19 10:52:28 -05:00
Benjamin Bouvier
7a2dbab746 Bug 1292126: Re-enable wasm test cases disabled; r=lth
MozReview-Commit-ID: 6QnI9M9QSJs

--HG--
extra : rebase_source : b097e79dcf445e09440694a42b07070bb329532e
extra : amend_source : 88b86fd50e29aa8c31064c1c1d7d6dc6b6110430
2016-08-04 13:22:23 +02:00
Benjamin Bouvier
411f8ee487 Bug 1291293: Don't take the same register twice in i64 mod/umod on x86/ARM; r=h4writer
MozReview-Commit-ID: 6D2hMvnzCJM

--HG--
extra : rebase_source : 02a163c527b025a1c220de015e426edeeadd900a
extra : amend_source : 0470411c52775f79af1b1cf344bca42f51726dc7
2016-08-03 22:02:27 +02:00
Jon Coppeard
b9e20956f0 Bug 1291478 - Add virtual destructor to CustomAutoRooter to slience compiler warnings r=terrence 2016-08-04 10:48:54 +01:00
Jon Coppeard
b9fabf29e0 Bug 1291646 - Remove unused field from nursery r=terrence 2016-08-04 10:39:21 +01:00
Sander Mathijs van Veen
441e387a39 Bug 1287485 - Display comments inside dumped assembly code (-D flag) r=nbp
--HG--
extra : rebase_source : 986b06d0b2b9d416aad4581996937feb1db5f096
2016-08-02 01:34:00 +02:00
Luke Wagner
043c7d716a Bug 1291476 - Baldr: add Instance-to-WasmInstanceObject edge (r=terrence)
MozReview-Commit-ID: EgX6342KaHJ
2016-08-03 08:30:42 -05:00
André Bargull
c99d32d2ec Bug 1288772 - Move String.fromCodePoint to native code. r=evilpie 2016-07-25 11:55:12 -07:00
Sander Mathijs van Veen
3a459555e4 Bug 1287482 - Add a property name to GetPropertyPolymorphic[VT] opcode. r=nbp 2016-08-02 01:45:00 +02:00
Jon Coppeard
3f47f7f4b8 Bug 1287410 - Check state of module returned by HostResolveImportedModule r=shu 2016-08-02 10:38:02 +01:00
Jon Coppeard
c9bd13abb0 Bug 1287410 - Add more fine-grained module state r=shu 2016-08-02 10:37:26 +01:00
Jon Coppeard
7c272adaa9 Bug 1287406 - Fix exporting an arrow function as the default export r=shu 2016-08-02 10:35:16 +01:00
Jon Coppeard
a608f3180b Bug 1281168 - Make hashing ObjectGroupCompartment::NewEntry fallible r=terrence 2016-08-02 10:26:25 +01:00
Mike Hommey
620b77568c Bug 1289638 - Set WINDOWSSDKDIR for "autospider" builds. r=gps
autospider builds set VSPATH before sourcing
build/win*/mozconfig.vs-latest, so VSWINPATH was never set. Furthermore,
the way it sets variables for the build system relies on the variable
going through and export from mk_add_options, which
mk_export_correct_style conveniently does for us.
2016-08-02 13:17:08 +09:00
Nicholas Nethercote
dfd6bcad07 Bug 1288985 - Fix a leak in an error path in makeTypedArrayWithTemplate. r=bbouvier.
--HG--
extra : rebase_source : 78d8ad516c566eb259f4896fb070e9db12f32229
2016-08-02 11:21:22 +10:00
Heiher
496c5babac Bug 1290811 - Baldr: MIPS64: Fix CodeGenerator::visitAsmSelectI64. r=h4writer
---
 js/src/jit/mips64/CodeGenerator-mips64.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
2016-08-02 10:44:36 +08:00
Nick Fitzgerald
3193a87fdb Bug 1290317 - Switch the SharedImmutableStringsCache jsapi-test over to js::Thread instead of PRThread; r=terrence 2016-08-01 18:39:44 -07:00
Nick Fitzgerald
d0802e7ec1 Bug 1290287 - Make js::HelperThread::thread a js::Thread instead of a PRThread; r=terrence
This ended up boiling more of the ocean than I'd hoped for, but the resulting
code is much nicer.
2016-08-01 18:39:44 -07:00
Nick Fitzgerald
50bd012aa3 Bug 1290240 - Switch GCHelperState::thread to js::Thread::Id instead of PRThread*; r=terrence 2016-08-01 18:39:44 -07:00
Nick Fitzgerald
395b1382d7 Bug 1290220 - Switch the simulators over to js::Thread instead of PRThread; r=terrence 2016-08-01 18:39:44 -07:00
Nick Fitzgerald
7c44548415 Bug 1290156 - Remove the DEBUG-only lockOwner member from vixl::Simulator; r=terrence
The checks that the `lockOwner` member was used for are redundant now that
`js::Mutex` uses `PTHREAD_MUTEX_ERRORCHECK` in `DEBUG` builds.
2016-08-01 18:39:44 -07:00
Nick Fitzgerald
9f15a50ddf Bug 1290156 - Remove the DEBUG-only lockOwner member from GlobalHelperThreadState; r=terrence
The checks that the `lockOwner` member was used for are now redundant given that
`js::Mutex` uses `PTHREAD_MUTEX_ERRORCHECK` in `DEBUG` builds.

In methods where we asserted `isLocked()`, we now pass in an
`AutoLockHelperThreadState` reference for compile-time proof of lock
holding. This is mostly a mechanical change.
2016-08-01 18:39:44 -07:00
Nick Fitzgerald
7862c33d73 Bug 1290156 - Remove the GCRuntime DEBUG-only lockOwner field; r=terrence
The checks that the `lockOwner` member was used for are redundant now that
`js::Mutex` uses `PTHREAD_MUTEX_ERRORCHECK` in `DEBUG` builds.
2016-08-01 18:39:43 -07:00
Wes Kocher
72e10cf5a6 Backed out 3 changesets (bug 1290156) for 10.10 debug cpp test failures CLOSED TREE
Backed out changeset 41096329fbed (bug 1290156)
Backed out changeset 1bc0a14de00a (bug 1290156)
Backed out changeset 573529c879ad (bug 1290156)

--HG--
extra : amend_source : 94942e2cb4247e7adfd7f447b4c7ebd7857b183d
2016-08-01 14:45:43 -07:00
Wes Kocher
669f56ca65 Backed out changeset e834808ca14b (bug 1290220) for 10.10 debug cpp test failures CLOSED TREE 2016-08-01 14:45:07 -07:00
Wes Kocher
1909229bf2 Backed out changeset 072392a96295 (bug 1290240) for 10.10 debug cpp test failures CLOSED TREE 2016-08-01 14:45:00 -07:00
Wes Kocher
e4da1cddc9 Backed out changeset 14c1777276fe (bug 1290287) for 10.10 debug cpp test failures CLOSED TREE 2016-08-01 14:44:55 -07:00
Wes Kocher
69aa0df793 Backed out changeset effd2a452de9 (bug 1290317) for 10.10 debug cpp test failures CLOSED TREE 2016-08-01 14:44:48 -07:00
Terrence Cole
ce3be76a23 Bug 1290513 - Remove unused |existing| parameter from the Value variant of wrap; r=jonco 2016-07-29 09:55:56 -07:00
Nick Fitzgerald
302ed5bcd2 Bug 1290317 - Make js::Thread::Id::operator== const; r=terrence 2016-08-01 11:05:27 -07:00
Benjamin Bouvier
8050202620 Bug 1290931: Don't use the exponential operator in tests; r=till
MozReview-Commit-ID: HTUmcNj7SEZ

--HG--
extra : rebase_source : ab1b8b8f920cc572c531bf88e65915727981f474
extra : histedit_source : d36841a715e1cfa89d8aa4aaaba4e71635382bf1
2016-08-01 18:48:20 +02:00
Nick Fitzgerald
a866a6dfb4 Bug 1290317 - Switch the SharedImmutableStringsCache jsapi-test over to js::Thread instead of PRThread; r=terrence 2016-08-01 09:45:31 -07:00
Nick Fitzgerald
05196a8f61 Bug 1290287 - Make js::HelperThread::thread a js::Thread instead of a PRThread; r=terrence
This ended up boiling more of the ocean than I'd hoped for, but the resulting
code is much nicer.
2016-08-01 09:45:31 -07:00
Nick Fitzgerald
df7546016f Bug 1290240 - Switch GCHelperState::thread to js::Thread::Id instead of PRThread*; r=terrence 2016-08-01 09:45:31 -07:00
Nick Fitzgerald
8ae2b63edc Bug 1290220 - Switch the simulators over to js::Thread instead of PRThread; r=terrence 2016-08-01 09:45:31 -07:00
Nick Fitzgerald
24273d1567 Bug 1290156 - Remove the DEBUG-only lockOwner member from vixl::Simulator; r=terrence
The checks that the `lockOwner` member was used for are redundant now that
`js::Mutex` uses `PTHREAD_MUTEX_ERRORCHECK` in `DEBUG` builds.
2016-08-01 09:45:31 -07:00
Nick Fitzgerald
c1758acb8f Bug 1290156 - Remove the DEBUG-only lockOwner member from GlobalHelperThreadState; r=terrence
The checks that the `lockOwner` member was used for are now redundant given that
`js::Mutex` uses `PTHREAD_MUTEX_ERRORCHECK` in `DEBUG` builds.

In methods where we asserted `isLocked()`, we now pass in an
`AutoLockHelperThreadState` reference for compile-time proof of lock
holding. This is mostly a mechanical change.
2016-08-01 09:45:30 -07:00
Nick Fitzgerald
8a87105b23 Bug 1290156 - Remove the GCRuntime DEBUG-only lockOwner field; r=terrence
The checks that the `lockOwner` member was used for are redundant now that
`js::Mutex` uses `PTHREAD_MUTEX_ERRORCHECK` in `DEBUG` builds.
2016-08-01 09:45:30 -07:00
Till Schneidereit
a84585fe7f Bug 911216 - Fix non-Nightly bustage on inbound. r=me 2016-08-01 17:59:31 +02:00
Luke Wagner
2485316dfe Bug 1288483 - Baldr: allow multiple Instances per WasmActivation (r=bbouvier)
MozReview-Commit-ID: DvplYBmzPil
2016-08-01 08:28:20 -05:00
Luke Wagner
7d52d9f022 Bug 1288483 - Baldr: extract new wasm::Code type (r=bbouvier)
MozReview-Commit-ID: LZnndgZcIyZ
2016-08-01 08:28:19 -05:00
Luke Wagner
e313fdbdc6 Bug 1288483 - Baldr: pass Instance* explicitly instead of using TLS (r=bbouvier)
MozReview-Commit-ID: I0uhO4nSK1m
2016-08-01 08:28:14 -05:00
Luke Wagner
27c41bdd59 Bug 1284155 - Baldr: trace all wasm instances in a compartment if it is active (r=terrence)
MozReview-Commit-ID: 7cmoYooeML2
2016-07-25 10:37:46 -07:00
Luke Wagner
00d15505bb Bug 1288483 - Baldr: replace the mutable WasmActivation* in global data with an immutable JSContext* (r=bbouvier)
MozReview-Commit-ID: ESQ5RhdlcLA
2016-08-01 08:26:40 -05:00
Luke Wagner
82b5e995b8 Bug 1288483 - Baldr: add wasm::Compartment and use to replace Instance::activation() (r=bbouvier)
MozReview-Commit-ID: 56gTmUeYo2R
2016-07-21 22:02:23 -05:00
Luke Wagner
66e3f29564 Bug 1288483 - Baldr: stop using activation global pointer in JIT exit stub (r=h4writer)
MozReview-Commit-ID: KpHJ2ijMn8x
2016-07-21 21:19:49 -05:00
Benjamin Bouvier
697420f1d3 Bug 1279876: Test cases; r=lth
This also renames basic-conversions to conversions, still the basic prefix
doesn't have any particular meaning.

MozReview-Commit-ID: 2RpzNhq5yvx

--HG--
rename : js/src/jit-test/tests/wasm/basic-conversion.js => js/src/jit-test/tests/wasm/conversion.js
extra : rebase_source : 84e002462022c72aa24e77083b85f1de60078a53
2016-07-27 14:17:01 +02:00
Benjamin Bouvier
ef212eb425 Bug 1279876: Implement correct semantics of TruncateToInt32 in the wasm baseline compiler; r=lth
MozReview-Commit-ID: 4Z4siWyw1xG

--HG--
extra : rebase_source : f27f4cbcd96cf5c99b2d867586fa8bde3f659f51
2016-08-01 13:02:47 +02:00
Benjamin Bouvier
951cfcbfc4 Bug 1279876: Refactor wasmTruncateToInt32 methods into the masm; r=lth
MozReview-Commit-ID: 1qWFdFR7cQq

--HG--
extra : rebase_source : a75c4f62f9bccf4e5fedb74260423b3ee47b1bf9
2016-08-01 12:56:15 +02:00
Benjamin Bouvier
981682b0b7 Bug 1290402: Bump MaxTableElems; r=luke
MozReview-Commit-ID: 5CK8u4HhIlp

--HG--
extra : rebase_source : 70255578231eda3c0116ed32b78e9342189b7b9b
2016-07-29 11:10:39 +02:00
Jon Coppeard
50ae9ac951 Bug 1290469 - Use fallible hashing for SavedFrame r=terrence 2016-08-01 09:56:25 +01:00
Jon Coppeard
e110894730 Bug 1259347 - Add telemetry for nursery size r=terrence 2016-08-01 09:55:06 +01:00
Wei-Cheng Pan
d4d6f8ed60 Bug 1249698 - Use parent stack instead of vanished child stack. r=billm
MozReview-Commit-ID: LaX5K1uPZo9

--HG--
extra : transplant_source : 7o%A6C%21%D1H1%C3%3Dn%E6%5E%B4%E5%D6%A3%21E%A6
2016-07-26 18:30:42 +08:00
Terrence Cole
b95b9ea26a Bug 1263771 - Sweep the InnerViewTable with WeakCache; r=sfink
--HG--
extra : rebase_source : 2e075b47cefdc9a191b72d1f4f15d16fd6d9ec45
2015-12-21 16:20:42 -08:00
Terrence Cole
b8be00dd83 Bug 1287399 - Allow the pre-barrier verifier to work in the presence of OMT parsing; r=jonco
--HG--
extra : rebase_source : 4983f6ef29dd4479d215169be85b481328e48784
2016-07-19 10:49:39 -07:00
Heiher
38212560dd Bug 1287355 - OdinMonkey: MIPS: Remove temp register allocation on AsmJSLoadFuncPtr. r=luke
---
 js/src/jit/mips-shared/LIR-mips-shared.h        | 15 ---------------
 js/src/jit/mips-shared/Lowering-mips-shared.cpp |  6 ------
 js/src/jit/mips-shared/Lowering-mips-shared.h   |  1 -
 3 files changed, 22 deletions(-)
2016-07-19 23:43:41 +08:00
Heiher
fd7f51ff80 Bug 1287351 - OdinMonkey: MIPS: Implement many simple operations in the MacroAssembler. r=lth
---
 js/src/jit/MacroAssembler.h                        |  56 +++----
 .../mips-shared/MacroAssembler-mips-shared-inl.h   | 177 +++++++++++++++++++++
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp |   7 +
 3 files changed, 212 insertions(+), 28 deletions(-)
2016-07-19 23:43:40 +08:00
Heiher
dfc7553d21 Bug 1287351 - IonMonkey: MIPS: Expose max and min in the MacroAssembler + move code. r=lth
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 87 +++------------------
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp | 90 ++++++++++++++++++++++
 .../jit/mips-shared/MacroAssembler-mips-shared.h   |  5 ++
 3 files changed, 105 insertions(+), 77 deletions(-)
2016-07-19 23:43:39 +08:00
Heiher
b7fdb50a58 Bug 1287349 - OdinMonkey: MIPS: Implement WasmBoundsCheck/Load/Store and semantics. r=luke
---
 js/src/jit/mips-shared/Lowering-mips-shared.cpp | 69 +++++++++++++++++++++++++
 js/src/jit/mips-shared/Lowering-mips-shared.h   |  3 ++
 2 files changed, 72 insertions(+)
2016-07-19 23:43:38 +08:00
Heiher
edaafdfb65 Bug 1287349 - IonMonkey: MIPS: Implement SupportsUnalignedAccesses. r=luke
---
 js/src/jit/mips-shared/Assembler-mips-shared.h | 3 +++
 1 file changed, 3 insertions(+)
2016-07-19 23:43:37 +08:00
Heiher
edda13ceb1 Bug 1287356 - IonMonkey: MIPS: Implement MacroAssembler::outOfLineTruncateSlow. r=lth
---
 js/src/jit/MacroAssembler.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
2016-07-19 23:43:36 +08:00
Eddy Bruel
ab46042853 Bug 1279129 - Should schedule delazification for Debugger when relazifying scripts. r=jandem 2016-07-19 17:41:32 +02:00
Carsten "Tomcat" Book
ca457776f8 merge mozilla-inbound to mozilla-central a=merge 2016-07-18 17:07:59 +02:00
Carsten "Tomcat" Book
779d97cbaf Backed out changeset a80fdfc128b0 (bug 911216) for high crash-rate on developers - RyanVM request 2016-07-18 16:14:59 +02:00
Jon Coppeard
cb5a6b4341 Bug 1286504 - Print totals at the end when profiling the nursery r=sfink 2016-07-18 09:55:09 +01:00
Carsten "Tomcat" Book
a0992595d6 merge mozilla-inbound to mozilla-central a=merge 2016-07-17 10:08:08 +02:00
Ehsan Akhgari
798ed1be3c Bug 1278089 - Add JS APIs for determining whether a function is bound and getting the target; r=jorendorff 2016-07-16 22:37:42 -04:00
Wes Kocher
ad9620b862 Merge m-c to autoland a=merge 2016-07-15 17:01:59 -07:00
Terrence Cole
c31f0a3dfe Bug 1286244 - Allow OMT parse to work when the pre-barrier verifier is running; r=sfink 2016-07-14 12:29:23 -07:00
Boris Zbarsky
c100c511bf Bug 933378 part 4. Change the ErrorResult destructor to suppress the exception, after asserting that it's already suppressed. r=bkelly 2016-07-15 22:35:13 -04:00
Boris Zbarsky
de3dccf7da Bug 933378 part 2. Introduce a FastErrorResult class that bindings can use internally instead of ErrorResult. r=bkelly 2016-07-15 22:35:13 -04:00
Till Schneidereit
859867a8a9 Bug 1242662 - Don't emit opening paren for decompiled bound function. r=jandem 2016-07-16 15:40:13 +02:00
Till Schneidereit
3a9eed06fe Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02:00
Till Schneidereit
7203e85f42 Bug 911216 - Part 29: Don't unwrap in JS::IsPromiseObject and JS::GetPromiseState. r=efaust 2016-07-16 12:00:41 +02:00
Till Schneidereit
a649a91853 Bug 911216 - Part 28: Second round of fixes for Promise accessors on Debugger.Object.prototype. r=ejpbruel 2016-07-16 12:00:41 +02:00
Xidorn Quan
30788d7d8b Backed out 4 changeset (bug 1284406) for build bustage on CLOSED TREE
--HG--
extra : amend_source : 9ad3b754789e60fe021f5b1989d7063cea8ca457
extra : histedit_source : 66c8b4fc923335e88a4593fd900c6c2cf57f6123%2C0f634c3c453a5d922de0e4e66dac69deec9f729c
2016-07-16 12:27:45 +10:00
Xidorn Quan
c057fa523a Bug 1284406 followup 2 - Add back ICU flags in js/src/moz.build for system ICU to fix bustage on CLOSED TREE.
MozReview-Commit-ID: 5EVTg5nlSEQ
2016-07-16 12:14:00 +10:00
Xidorn Quan
badc65b78f Bug 1284406 followup - Remove ICU includes from js/src/moz.build to fix the bustage.
MozReview-Commit-ID: 6TOalJoRqXH
2016-07-16 11:59:37 +10:00
Luke Wagner
be263565b4 Bug 1276029 - Add subset of prio.h to PosixNSPR.h so PRFileDesc can be used in SpiderMonkey (r=terrence)
MozReview-Commit-ID: JhNhUcg3eC0

--HG--
extra : rebase_source : 43f5cebebdd4ef889ec71b57f7dd4109c72fa187
2016-07-15 12:26:40 -05:00
Luke Wagner
b9795bc3cb Bug 1276029 - Baldr: provide alternative path that provides build-id (r=bbouvier)
MozReview-Commit-ID: DEUOVJAnZx2

--HG--
extra : rebase_source : 114d94fedd8674957a70534e5fa5ae0db7b00e75
2016-07-15 12:26:40 -05:00
Luke Wagner
70d041e484 Bug 1276029 - Baldr: use process-wide signal-handling-support query (r=bbouvier)
MozReview-Commit-ID: 3bS2f00Xcu

--HG--
extra : rebase_source : 28522b8a179e8528999ea0c3bd55abf3509d4b1e
2016-07-15 12:26:40 -05:00
Luke Wagner
9c830edcb0 Bug 1276029 - Baldr: change wasm::Compile to take ShareableBytes (r=bbouvier)
MozReview-Commit-ID: FvYx5JTfCXw

--HG--
extra : rebase_source : c60dfdfcdcefe3ae97e57e0c194342a430d62969
2016-07-15 12:26:40 -05:00
Luke Wagner
6c0f538c1a Bug 1276029 - Baldr: make Module RefCounted (r=bbouvier)
MozReview-Commit-ID: LCmRSVNaDHD

--HG--
extra : rebase_source : 01933eba9bd0ebf4e1885bb0fa1ecc70d8168ee7
2016-07-15 12:26:40 -05:00
Jeff Walden
31cd6cfe1f Bug 1282047 - Trim a loop limit from 5e5 to 1e5 so as to hopefully not time out on cgc builds. r=red, a=KWierso 2016-07-15 16:15:55 -07:00
Leo Gaspard
071a03c90c Bug 1286711 - Warn the user when no tests have run, before the TypeError. r=sstangl, a=KWierso 2016-07-15 14:34:01 -07:00
Jeff Walden
ddadb5f80b Bug 1282047 - Do a recursion check in Proxy::isArray to deal with proxies whose isArray trap recursively consumes too much stack. r=efaust over IRL
--HG--
extra : rebase_source : a442452df1dfa3d6c8e4c530fd6955dcddfb2cb3
2016-07-15 14:25:11 -07:00
Nathan Hakkakzadeh
a0ff39704a Bug 1100925 - Changed old-configure.in to detect mingw32-make as a priority. r=gps
This is what we want on msys2 installations, since it is compliant and
installable with the package manager.

MozReview-Commit-ID: ARMcpJmbk2
***
Bug 1100925 - Have JS subconfigure recognize mingw32-make as a valid GMAKE. r?gps

MozReview-Commit-ID: Gg8FcgW7BHM

--HG--
extra : rebase_source : 5bd779812e52b8ce29ca078b41e2c12e1950de09
2016-06-23 13:58:14 -07:00
Nicholas Nethercote
2ebfc5116b Bug 1197973 - Use MOZ_MUST_USE in AutoJSAPI. r=bz. 2016-07-14 13:18:11 +10:00
Carsten "Tomcat" Book
4bb09b24d7 Backed out changeset f1c5f34ad31b (bug 1279992) for memory leaks
--HG--
extra : rebase_source : 18440be1dfba7d2abe160e7329aba1d741471c07
2016-07-14 14:46:33 +02:00
Jon Coppeard
2f4cfa307f Bug 1286506 - Be more cautious about shrinking the nursery r=terrence 2016-07-14 13:10:55 +01:00
Jon Coppeard
c7887e5263 Bug 1212356 - Make IsAboutToBeFinalized check for finalization by incremental GC even within a minor GC r=terrence 2016-07-14 13:10:53 +01:00
Lars T Hansen
8715f94ef1 Bug 1277008 - Wasm baseline: x86 support. r=bbouvier
--HG--
extra : rebase_source : 0124cc0dee5b0cf154ffc30310b655203ae90c66
extra : histedit_source : 7765ba975ae04bb89d9a1ee5df2f07a0681f99c3
2016-07-14 10:48:59 +02:00
Lars T Hansen
65e9024f0b Bug 1286767 - fix --disable-ion builds. r=me
--HG--
extra : rebase_source : 1604dc6d30cb0519bb7d1c3002b074d2fbd15300
extra : histedit_source : cb8ea27ef150d8132f921ee27b224018f821e550
2016-07-14 09:33:44 +02:00
Sander Mathijs van Veen
6ca0ebaaf7 Bug 1279992 - Inline constructor of typed arrays with non-compile-time known size r=jandem,Waldo 2016-07-13 14:22:00 +02:00
Jan de Mooij
8602af1c93 Bug 1285186 - Fix abortGC to enqueue pending parse tasks. r=jonco
--HG--
extra : rebase_source : c044217efdfa163434aa3d1da37684a280a7bbe9
2016-07-14 09:03:22 +02:00
Jan de Mooij
e851bc4de5 Bug 1285227 - Use DummyPreserveWrapperCallback for evalInWorker as well. r=terrence
--HG--
extra : rebase_source : f6270073a018857542f08499a881cbed574898d7
2016-07-14 09:02:36 +02:00
Luke Wagner
016eb0d060 Bug 1284155 - Baldr: add Table.prototype.length getter (r=bbouvier)
MozReview-Commit-ID: 9sXwZMOyGge

--HG--
extra : rebase_source : dff5cf095bc249ddc25b1ee2dba2097671884540
2016-07-13 12:34:44 -05:00
Luke Wagner
3450e6c004 Bug 1284155 - Baldr: add Table exports (r=bbouvier)
MozReview-Commit-ID: 4RVN5vi2ZQC

--HG--
extra : rebase_source : 39118e95455995521b1902013937b76d79dab5f1
2016-07-13 12:34:44 -05:00
Luke Wagner
3c2b9e1f36 Bug 1284155 - Baldr: refactor/rename exports to be more symmetric with imports (r=bbouvier)
MozReview-Commit-ID: F5VNVHiXwtY

--HG--
extra : rebase_source : eca0db4c4fb595f928f2e9c7e4187fed2fae5ef2
2016-07-13 12:34:44 -05:00
Wes Kocher
23ad7ef04f Backed out changeset dcb7835534e2 (bug 1277008) for jit test failures a=backout 2016-07-13 11:24:02 -07:00
Luke Wagner
495668a0bc Bug 1284155 - Baldr: check element segment function is in range (r=bbouvier)
MozReview-Commit-ID: HN6JkdGAAMs
2016-07-13 09:41:07 -05:00
Lars T Hansen
34f3c37654 Bug 1277008 - Wasm baseline: x86 support. r=bbouvier
--HG--
extra : rebase_source : 019a8906c06ede3a2a14265e4885fe91ab23b017
extra : histedit_source : 4771423b8391681294e9b8a7aa9c7d5e5d72d830
2016-07-13 12:29:26 +02:00
Nicolas B. Pierron
cd1f5c0400 Bug 1286462 - Ensure we have enough ballast space in TypeAnalyzer::specializeValidFloatOps. r=bbouvier 2016-07-13 13:13:51 +00:00
Carsten "Tomcat" Book
bd2bb91cfe Backed out changeset 4197ec30757a (bug 1279992) for frequent memory leaks
--HG--
extra : rebase_source : 89f1b2bd7f4f26ed7a9d9e3c9cbb4821a25e7e7b
2016-07-13 15:03:51 +02:00
Nicolas B. Pierron
3529c652e9 Bug 1285218 - Check for OOM while creating MOsrValue. r=h4writer 2016-07-13 12:21:40 +00:00
Nicolas B. Pierron
08c21398e5 Bug 1285217 - Handle OOM in IonBuilder::testNotDefinedProperty. r=jandem 2016-07-13 10:15:20 +00:00
Jon Coppeard
17af524d85 Bug 1260785 - Make hashcode generation fallible for cell pointers that can be moved by GC r=terrence 2016-07-13 10:20:00 +01:00
Jon Coppeard
9800e39e70 Bug 1284486 - Disallow returying ModuleDeclarationInstantiation after error r=shu 2016-07-13 10:20:00 +01:00
Benjamin Bouvier
1c24a823c1 Bug 1285972: Baldr: Implement wasm start section; r=luke
MozReview-Commit-ID: 6MUGChcJ040

--HG--
extra : amend_source : 55252e7d0059426217729417e9016230413fb45f
2016-07-11 16:02:14 +02:00
Carsten "Tomcat" Book
2fb495c645 Backed out changeset 1b3a45aebcaf (bug 1258972) for landing with wrong bugnumber 2016-07-13 10:15:48 +02:00
Nick Fitzgerald
41cca25d10 Bug 1286108 - Do not provide construction methods for JS::ubi::TracerConcrete[WithCompartment]; r=jimb
These are supposed to be helper base classes that should not be instantiated
directly, so we shouldn't let it be possible to Concrete<T>::construct() them.

--HG--
extra : rebase_source : 1a136d2c9eee11c7bd5b0c96e596a43454aefcfa
2016-07-12 07:49:00 +02:00
Benjamin Bouvier
4e932ce22a Bug 1258972: Baldr: Implement wasm start section; r=luke
MozReview-Commit-ID: 6MUGChcJ040

--HG--
extra : rebase_source : 65514f12ea84ca92f8a36f7cafd09d2081b93fd1
2016-07-11 16:02:14 +02:00
Sander Mathijs van Veen
69c13dbafb Bug 1279992 - Inline constructor of typed arrays with non-compile-time known size r=jandem,Waldo 2016-07-12 13:48:00 +02:00
Kit Cambridge
edd0c6d29f Back out 2 changesets (bug 1174386) for mochitest and xpcshell bustage.
Backed out changeset 71634609bbaf (bug 1174386)
Backed out changeset 9726b95aadf6 (bug 1174386)

MozReview-Commit-ID: CBB0CFQSjQu
2016-07-13 09:41:34 +02:00
Carsten "Tomcat" Book
23ed88ef86 Backed out changeset 010d92da655d (bug 1280591) for frequent assertion failures 2016-07-13 09:38:29 +02:00
Carsten "Tomcat" Book
0dd9cf8167 Backed out changeset 37aed188b674 (bug 1174386) unexpected pass in 576878.xhtml 2016-07-13 09:24:09 +02:00
Kit Cambridge
6bb5701fc8 Back out 2 changesets (bug 1174386) for mochitest and xpcshell bustage.
Backed out changeset 71634609bbaf (bug 1174386)
Backed out changeset 9726b95aadf6 (bug 1174386)

MozReview-Commit-ID: CBB0CFQSjQu

--HG--
extra : amend_source : 612af0b1385f6f2cfdcae3918b03ab297f1f7d78
2016-07-12 21:33:29 -07:00
Rajinder Yadav
0fa260063e Bug 1286114 - Do not allocate NaN and Infinity strings in num_toFixed_impl. r=arai 2016-07-12 03:58:00 +09:00
Tooru Fujisawa
676a8282ad Bug 1283058 - Part 3: Remove JSREPORT_STRICT_MODE_ERROR and JSREPORT_IS_STRICT_MODE_ERROR. r=jwalden 2016-07-13 11:32:51 +09:00