Commit Graph

56185 Commits

Author SHA1 Message Date
Luke Wagner
9ba6432be7 Bug 1284155 - Baldr: allow cross-element Table elements (r=bbouvier)
MozReview-Commit-ID: 3xalhzMAeJp
2016-08-05 15:39:57 -05:00
Luke Wagner
555b22b818 Bug 1288944 - Baldr: change to and from callee's TLS at indirect callsite (r=bbouvier)
MozReview-Commit-ID: Tdi4D9tVxV
2016-08-05 15:39:57 -05:00
Luke Wagner
2d35f7cc8d Bug 1288944 - Baldr: fuse the WasmTableObject InstanceVector into the Table's array (r=bbouvier)
MozReview-Commit-ID: BdP4hd2WX2S
2016-08-05 15:39:56 -05:00
Luke Wagner
6c3c3d31ea Bug 1288944 - Baldr: factor out indirect/import call code into MacroAssembler (r=bbouvier)
MozReview-Commit-ID: 45BErNBV8ai
2016-08-05 15:39:56 -05:00
Luke Wagner
74c0757489 Bug 1288944 - Baldr: factor out MWasmCall::Callee and TableDesc (r=bbouvier)
MozReview-Commit-ID: 39hlX5PBW9M
2016-08-05 15:39:56 -05:00
Luke Wagner
4240fe4e0a Bug 1288944 - Baldr: remove unnecessary temp register reservation in import calls (r=jolesen)
MozReview-Commit-ID: 82NVyx8kIVY
2016-08-05 15:39:56 -05:00
Luke Wagner
89f174a8c9 Bug 1288944 - Baldr: change how wasm::Instance is traced (r=terrence)
MozReview-Commit-ID: 2re3vhJ7MIG
2016-08-05 15:39:56 -05:00
Luke Wagner
b953aecfc9 Bug 1284155 - Baldr: tidy table instantiation logic (r=bbouvier)
MozReview-Commit-ID: Dsqqm9ws4Lc
2016-08-05 15:39:56 -05:00
Luke Wagner
7a456f1fe3 Bug 1284155 - Baldr: tidy instantiation logic (r=bbouvier)
MozReview-Commit-ID: I2QHpa5au4
2016-08-05 15:39:56 -05:00
Luke Wagner
00930043b9 Bug 1291757 - Baldr: fold MAsmJSLoadFuncPtr into MWasmCall (r=sunfish)
MozReview-Commit-ID: 4Zq6wXb7Uk7
2016-08-05 15:39:56 -05:00
Terrence Cole
0e4a5ec501 Bug 1283634 - Assert that no gray objects get passed into JSAPI; r=jonco,r=bz
--HG--
extra : rebase_source : dc96a8d1b055531e3d6129b886597ea00f84fa43
2016-07-21 12:18:51 -07:00
Nick Fitzgerald
c87cef6692 Bug 1291064 - Make js::HelperThread use js::ThisThread::SetName instead of PR_SetCurrentThreadName; r=terrence 2016-08-05 09:25:18 -07:00
Nicolas B. Pierron
cb7fcbf7af Bug 1287411 - Ensure we have enough ballast space in jit::PropertyReadOnPrototypeNeedsTypeBarrier. r=jandem 2016-08-05 15:09:26 +00:00
Carsten "Tomcat" Book
a826042a1d Merge mozilla-central to mozilla-inbound 2016-08-05 12:03:44 +02:00
Carsten "Tomcat" Book
cf611bec79 merge mozilla-inboudn to mozilla-central a=merge 2016-08-05 12:01:14 +02:00
Ms2ger
d6bc8f10b9 Bug 1292088 - Remove ENABLE_METHODJIT_SPEW / JS_METHODJIT_SPEW; r=glandium
Neither is used anywhere else in the repository.
2016-08-05 11:44:15 +02:00
Jon Coppeard
57fa63483d Bug 1259347 - Fix nursery telemetry to report committed size rather than max size r=terrence 2016-08-05 10:16:42 +01:00
Heiher
94b1da6b55 Bug 1292040 - Baldr: MIPS: Fix load HeapReg and GlobalReg from TlsData. r=luke
---
 js/src/asmjs/WasmStubs.cpp                | 12 ++++++++----
 js/src/jit/mips64/MacroAssembler-mips64.h |  2 +-
 2 files changed, 9 insertions(+), 5 deletions(-)
2016-08-05 09:04:02 +08:00
Mike Hommey
9712b25c12 Bug 1292080 - Don't set NSINSTALL_BIN from old-configure. r=gps
The only use of this variable is to override NSINSTALL, and its value is
the same as NSINSTALL_PY.

While here, remove the outdated NSINSTALL_NATIVECMD that was used for
pymake.

--HG--
extra : rebase_source : b871fbb409836a17cb8d71cd1e5ddc9d5ad3f49f
2016-08-04 17:55:54 +09:00
Mike Hommey
1cd034b955 Bug 1292066 - Move GNU make detection to python configure. r=chmanchester
Nothing is using MAKE in old-configure, and it was not AC_SUBST'ed, so
we don't need to set it when it's not set in the environment already.

--HG--
extra : rebase_source : 9a525517808db87add72989ab9f43a135c0cc776
2016-08-04 17:27:05 +09:00
Mike Hommey
6df9c96b3e Bug 1292059 - Remove now useless compiler checks in compiler-opts.m4. r=chmanchester
Since bug 1259382, CC and CXX are always set, so we can stop
falling back to cl on Windows, and clang on OSX in compiler-opts.m4.

Also, we were actively rejecting GCC on OSX because it was based on
GCC 4.2 and known to be broken, but that test predates our requirement
for more recent versions of GCC, which would fail configure anyways.
So just remove that GCC test. Building with a modern GCC from macports
or wherever might actually work anyways.

Finally, remove target bit-width mismatch with the compiler as it's
handled in python configure since bug 1288313.

--HG--
extra : rebase_source : 9968028cc4e9c197b72136037a7298be10cc139a
2016-08-04 17:11:52 +09:00
Andrew McCreight
d2be3b7515 Bug 1292289, part 1 - Stop unnecessarily using xpcprivate in XPCWrapper.h. r=mrbkap
This file is included in caps/, but it only uses generic JS things,
aside from a macro.

AccessCheck.cpp was bootlegging xpcprivate.h.

MozReview-Commit-ID: C6fGOFxsTvg

--HG--
extra : rebase_source : bd5e7bf9010acf83ccab8ce6cce77a557ad76196
2016-08-04 11:14:35 -07:00
Luke Wagner
3adfcd58c9 Bug 1284155 - Baldr: make direct calls for wasm->wasm imports (r=bbouvier)
MozReview-Commit-ID: 4p3SZiuoAq0
2016-08-04 12:50:41 -05:00
Luke Wagner
0a6927911a Bug 1288944 - Baldr: mark all calls as preserving the TLS reg (r=jolesen)
MozReview-Commit-ID: 3WcKCPGRaFv

--HG--
extra : rebase_source : 96e8382d137c1a65570d97e0ba4401c6c1dfb45c
2016-08-04 11:44:35 -05:00
Luke Wagner
c874b985e3 Bug 1288944 - Baldr: preserve TLS and pinned regs at call_import (r=jolesen)
MozReview-Commit-ID: HnxKRxAXmlg

--HG--
extra : rebase_source : 9157c19b2c6ea64a2f9931daac263f86d05d9e07
2016-08-04 11:43:48 -05:00
Luke Wagner
dabbd6a76c Bug 1288944 - Baldr: rename CallArgs to CallCompileState and FuncImportExit to FuncImportTls (r=bbouvier)
MozReview-Commit-ID: KeAIle47zpV

--HG--
extra : rebase_source : f2fb55e83e4527bef9714f2af10eb8c9210958b4
2016-08-04 11:43:33 -05:00
Luke Wagner
6127abeb31 Bug 1288944 - Baldr: optimize JIT exit (r=bbouvier)
MozReview-Commit-ID: Dm8TUpWB55H

--HG--
extra : rebase_source : 4288fa4939c426a469b20258893bc8e50e4bbe21
2016-08-04 11:28:20 -05:00
Luke Wagner
b9fee3a322 Bug 1292190 - Baldr: fix include dependencies (r=bbouvier)
MozReview-Commit-ID: BAte5sedqaS

--HG--
extra : rebase_source : 182416a9af4551fd2caca589f2e154be1ec288fc
2016-08-04 11:27:24 -05:00
Luke Wagner
bde9632738 Bug 1291757 - Baldr: fold loading of import into call op (r=sunfish)
MozReview-Commit-ID: FsJ1YRXQRpF

--HG--
extra : rebase_source : 6ffcd3a48275cfd8258e763c0f973ad959186821
2016-08-03 18:37:26 -05:00
Luke Wagner
aaacb6c169 Bug 1291757 - Baldr: rename AsmJSCall to WasmCall (r=jolesen)
MozReview-Commit-ID: AVh5ypBH89Q

--HG--
extra : rebase_source : 2028cd59b323c17e7f865832e5f24c8aa31c4d39
2016-08-03 18:37:21 -05:00
Luke Wagner
301649a627 Bug 1291757 - Baldr: note that i64 calls also preserve WasmTlsReg (r=jolesen)
MozReview-Commit-ID: 1r6rZkCzDCt

--HG--
extra : rebase_source : 4940f1f9a4878c89446d4ac9070daf68f59269ba
2016-08-03 18:37:15 -05:00
Sander Mathijs van Veen
7ae289f36a Bug 1279992 - Inline constructor of typed arrays with non-compile-time known size r=jandem,Waldo 2016-08-04 07:42:00 +02:00
Eric Faust
b5d42cb013 Bug 1199296 - Don't allow method definitions to be legacy generators. (r=shu, r=evilpie, r=jaws) 2016-07-11 14:45:00 -07:00
Carsten "Tomcat" Book
389a3e0817 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoAppShell.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/GeckoLayerClient.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/LayerRenderer.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/PanningPerfAPI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/PanningPerfAPI.java
2016-08-04 15:55:50 +02:00
Tooru Fujisawa
6a2df0c986 Bug 1285465 - Do not throw when callStack is empty. r=jwalden 2016-08-04 14:52:43 +09:00
Morgan Phillips
f4a7b6af4c bug 1230490 - Allow 16 bit character codes 2/2; r=evilpie
--HG--
extra : amend_source : 22584adc7bb7af089bd15aca109177955679559c
2016-08-02 16:33:58 -07:00
Morgan Phillips
6482267db5 bug 1230490 - Allow 16 bit character codes 1/2; r=evilpie 2016-08-03 12:11:38 -07:00
Boris Zbarsky
19c582af6e Bug 1278583 part 2. Change the value passed to JS::OrdinaryHasInstance to be a HandleValue, not MutableHandleValue. r=jandem 2016-08-03 18:32:06 -07:00
Boris Zbarsky
e7c46c6242 Bug 1278583 part 1. Expose a JS::OrdinaryHasInstance. r=jandem 2016-08-03 18:32:06 -07:00
Luke Wagner
0ef9be8b0e Bug 1291887 - Odin: don't forget to check for dead code in builtin call (r=jolesen)
MozReview-Commit-ID: G31jUIOF0Zp

--HG--
extra : rebase_source : 3a7625db10198798477aa4b8acbe9ecc72a2a48e
2016-08-03 18:19:17 -05:00
Eric Faust
9aa2b4c179 Bug 1290752 - Re-disallow method calls in self-hosted code. (r=till) 2016-08-03 15:24:08 -07:00
Alexandre Lissy
0af5b943b6 Bug 1284674 - Remove NUWA r=cyu
MozReview-Commit-ID: GyMRNzOBKw6

--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Tom Schuster
0a0e3b7174 Bug 1251364 - Use more snprintf_literal in the JS engine. r=terrence 2016-08-03 14:37:31 +02:00
Nicolas B. Pierron
b4fb936f80 Bug 1289926 - Ensure enough ballast space while allocating each constant under inlineConstantStringSplitString. r=h4writer 2016-08-03 12:27:16 +00:00
Benjamin Bouvier
2dae1411b6 Bug 1248555: Baseline fixes for handling custom NaN payloads; r=lth
MozReview-Commit-ID: FOXuJgKDS17

--HG--
extra : amend_source : 218cdaa13dc663f1a19736d69c34c2fb5f39fa06
2016-07-27 17:50:47 +02:00
Benjamin Bouvier
33c5779ed7 Bug 1248555: Changes to the ARM simulator; r=sunfish
MozReview-Commit-ID: HrQrszFCBWC

--HG--
extra : amend_source : ff3aa913e2ffcd7c5b425b0d0fd94dc2638230ba
2016-08-02 14:09:23 +02:00
Benjamin Bouvier
18e49ff665 Backed out changeset 3e7e914abf3d for landing with the wrong bug number;
MozReview-Commit-ID: 6kJyZWaluKF
2016-08-03 12:17:57 +02:00
Benjamin Bouvier
7fe7d589eb Backed out changeset 08cbf5bdf4f4 for landing with the wrong bug number;
MozReview-Commit-ID: 1xN0v0mphe
2016-08-03 12:17:40 +02:00
Benjamin Bouvier
83323511b7 Bug 1284855: Baseline fixes for handling custom NaN payloads; r=lth
MozReview-Commit-ID: FOXuJgKDS17

--HG--
extra : rebase_source : 626a2aa6543ec3748fc1cf6cec72018183d9dcaf
extra : histedit_source : 9dbd840f907adc4a91e59cc191119af7f5855f38
2016-07-27 17:50:47 +02:00
Benjamin Bouvier
56f730c7b9 Bug 1248555: Baldr: implement custom NaN payload semantics; r=sunfish
MozReview-Commit-ID: Fp41hQ9yYf6

--HG--
extra : rebase_source : 1c0508e81c6be0696024ad1fcf7f33fef7504254
extra : histedit_source : 1fd5118b430a5303e0559031c2d92e659b849eb3
2016-05-31 16:13:12 +02:00
Benjamin Bouvier
f7fca98be1 Bug 1248555: Baldr: Add support for testing NaN custom payloads; r=luke
MozReview-Commit-ID: AXqqmfg55ZS

--HG--
extra : rebase_source : ce5d1646eb14ccf042a2f5c3ddec8772076ece3c
extra : histedit_source : f6f0c2d0d0940bab1354e06aec559fc96cd32b1f
2016-08-02 15:23:53 +02:00
Benjamin Bouvier
92321a1bc5 Bug 1248555: Return floating-point values by out-param rather than by value; r=sunfish
This is done to workaround the fact that the x87 stack is used for returning
floating-point values, even with -msse2 -mfpmath=sse. WebAssembly wants to
support uncanonicalized NaNs with custom payloads, including NaNs which may
have the signaling bit set. So this change is needed to allow passing around
sNaN in C++.

MozReview-Commit-ID: 4QRQtyRHhZW

--HG--
extra : rebase_source : 1cbe9f748ea7780dbaf2a6720359fbbf074ced21
extra : histedit_source : 5ae140d5813a03efe29cc3b2f19d50bf4d2263a7
2016-08-01 18:41:10 +02:00
Benjamin Bouvier
ccdc2a6699 Bug 1249555: Changes to the ARM simulator; r=sunfish
MozReview-Commit-ID: HrQrszFCBWC

--HG--
extra : rebase_source : 7229143efaffd10123e8c90d74a8dcd3506927e8
extra : histedit_source : 340f21b33b687c6f33db97040f52d65519bbe605
2016-08-02 14:09:23 +02:00
Tooru Fujisawa
36ab545d49 Bug 1290422 - Part 2: Add AutoMessageArgs RAII class to automatically free allocated args buffer. r=jwalden 2016-08-03 18:09:42 +09:00
Tooru Fujisawa
ad44dc986e Bug 1290422 - Part 1: Remove JSErrorReport.messageArgs. r=jwalden 2016-08-03 18:09:42 +09:00
Tooru Fujisawa
f9e30f8e42 Bug 1284099 - Part 2: Assert nsIScriptError.*Flags constants match to JSREPORT_*. r=baku 2016-08-03 18:09:42 +09:00
Tooru Fujisawa
b550522b60 Bug 1284099 - Part 1: Add JSREPORT_USER_1 for user-defined flag in JSErrorReport.flags. r=jwalden 2016-08-03 18:09:42 +09:00
Cameron McCormack
e6a3498cde Bug 1288038 - Make fallible nsBaseHashtable::Put use fallible nsTHashtable::PutEntry. r=froydnj r=sfink
MozReview-Commit-ID: 8N32oU4V5zh
2016-08-03 09:18:35 +08:00
Steve Fink
d74c5f5085 Bug 1288596. Drop msan max-errors down to 6, since that is what has been observed on try. r=woof!
DONTBUILD

--HG--
extra : amend_source : fb2476b5268f0f1332003aed7a8c4c3c0c2982e3
2016-08-02 14:13:13 -07:00
Steve Fink
ba7d50071f Bug 1288596 - Run reftest condition line with --no-baseline, r=terrence
--HG--
extra : rebase_source : bea03df0b9aa2b97c7cfc83ad2979e18f30cabe1
2016-08-01 17:55:11 -07:00
Steve Fink
36c7a405b5 Bug 1288596 - Make SM(msan) ignore test failures and only look at msan errors, r=terrence
If msan detects any errors while running an individual test, it controls the exit code. There is no way to pass through the test's usual exit code. In order to allow msan jobs to be treated as successful as long as they don't exceed a maximum error count, we ignore the test failures and just accumulate msan errors.

It would be vastly better to have msan keep going on an error, but doing that (via -mllvm -msan-keep-going) triggers a clang bug that hangs the compile during register allocation.

--HG--
extra : rebase_source : a6aee81e6a0351f2b608dfae87b788a1796521a4
extra : amend_source : 3dd34cdfc920830db7b7da3bcac70fbe3c3ad8b1
2016-08-01 15:49:33 -07:00
Steve Fink
bc1904b9c0 Bug 1288596 - Add error limits to tsan and msan, r=terrence
--HG--
extra : rebase_source : b4af996b905299c46389d00a4b16e8fed143e283
2016-07-29 12:09:10 -07:00
Steve Fink
1df7b43d0c Bug 1283911 - fix alternate binary searching in autospider.py, r=sandervv
--HG--
extra : rebase_source : 3eec9d09ae70f8d7c46655af5e1890b182378bff
2016-07-29 12:02:12 -07:00
Wes Kocher
603c64c98b Backed out changeset a3ce0ae49d97 (bug 1283634) for mda test failures 2016-08-02 13:56:28 -07:00
Tom Schuster
c955774058 Bug 1251364 - Remove our custom printf implementation (jsprf.cpp). r=tromey 2016-08-02 22:16:15 +02:00
Terrence Cole
86f360cd93 Bug 1283634 - Assert that no gray objects get passed into JSAPI; r=jonco,r=bz 2016-07-21 12:18:51 -07:00
Boris Zbarsky
7ad35e1f86 Bug 1289428. Make sure JSCompartment::wrap never returns a gray object, except when it returns "existing". r=bholley,jonco
The basic idea is that we assume the invariant that the "obj" argument is never
gray if "existing" is null (and add asserts to that effect).  Starting from that
assumption, terrence and I audited all the return paths to ensure that gray
objects are never returned.  We found a few places, generally after crossing
compartments with UncheckedUnwrap, where we could have gray things and inserted
corresponding calls to ExposeObjectToActiveJS.

If "existing" is passed in, all bets are off: both "obj" and "existing" can be
gray and can get returned from here.  But the only caller that passes "existing"
doesn't allow the return value to escape, so it's actually safe to do this.
2016-08-02 11:10:58 -07:00
Boris Zbarsky
599897e926 Bug 1291142. Ensure that we don't return gray objects when getting child windows by name or index. r=bholley 2016-08-02 11:06:25 -07:00
Luke Wagner
72a0b7533b Bug 1288944 - Baldr: move the JSContext* and memory* into TlsData (r=jolesen)
MozReview-Commit-ID: 9jzBImzbncw

--HG--
extra : rebase_source : dbdf716602ccbf9c3c7f401930cc9ee2c56b6319
2016-08-02 11:12:10 -05:00
Luke Wagner
49ef4fdbc1 Bug 1288944 - Baldr: move the Instance* into TlsData (r=jolesen)
MozReview-Commit-ID: H0lsvvPIPmo

--HG--
extra : rebase_source : 730e0b01178453ab3a336c3beb1542397aa68e37
2016-08-02 10:14:30 -05:00
Luke Wagner
4d1575de95 Bug 1288944 - Baldr: fix TLS propagation in i64 case (r=jolesen)
MozReview-Commit-ID: GC8K6R5elHp

--HG--
extra : rebase_source : c6c6310be1506aeea321de9623105904fe6ff188
2016-08-02 10:14:05 -05:00
Luke Wagner
7bae287798 Bug 1284155 - Baldr: add element type to Tables (r=bbouvier)
MozReview-Commit-ID: 236qwoLkmH8

--HG--
extra : rebase_source : d37a161e91e6f9626ab8be1c0086919835078a16
2016-08-02 10:13:10 -05:00
Luke Wagner
c2137a4bda Bug 1291031 - Baldr: fix faulty assert (r=bbouvier)
MozReview-Commit-ID: 242y4kDShnf

--HG--
extra : rebase_source : e6b6ab900abb85addcbea8f38e13e68c6d318287
2016-08-02 10:12:35 -05:00
Carsten "Tomcat" Book
bd81ddd0b0 merge mozilla-inbound to mozilla-central a=merge 2016-08-02 17:09:31 +02:00
Andrew McCreight
800e8e167f Bug 1290612 - XPCNativeSet::NewInstanceMutate() is always called with a non-null first argument. r=mrbkap
MozReview-Commit-ID: FQGL7pe02xY

--HG--
extra : rebase_source : ec4cb70c54cb0c9775612f68a676fbfcd5f60793
2016-07-29 10:50:12 -07:00
Andrew McCreight
526180e419 Bug 1290587, part 6 - Remove unused method NativeSetMap::Add. r=mrbkap
Also convert some NS_PRECONDITION in NativeSetMap.

MozReview-Commit-ID: IU9C5oXKvGK

--HG--
extra : rebase_source : 5fc36e95667d42a1c0cdfb9bbbf99a7ea008bf34
2016-07-29 10:47:52 -07:00
Andrew McCreight
719e8d80ff Bug 1290587, part 5 - Add helper function to hash pointers in HashNativeKey. r=mrbkap
Also, use NS_PTR_TO_UINT32 instead of NS_PTR_TO_INT32 because it is not
undefined.

Get rid of the optimization of 0 ^ x which required a comment.

MozReview-Commit-ID: HPz5VgRnLN1

--HG--
extra : rebase_source : a4602964ff739c4e37aaa5883e6ed667bff1a963
2016-07-29 10:46:54 -07:00
Andrew McCreight
9e43b3ee66 Bug 1290587, part 4 - Lower case Current in XPCNativeSetKey::Hash(). r=mrbkap
MozReview-Commit-ID: 809S9fDCCLj

--HG--
extra : rebase_source : d3885bb9ccb7778c9375bc2abd8f16d24b594ae8
2016-07-29 10:42:26 -07:00
Andrew McCreight
67ecabec0e Bug 1290587, part 3 - Inline accessors in XPCNativeSetKey::Hash(). r=mrbkap
MozReview-Commit-ID: DVp7uNo3Myn

--HG--
extra : rebase_source : 70e64e7401617d57e378707cd6f20f618d9d7635
2016-07-31 11:36:18 -07:00
Andrew McCreight
09b6a5dd3c Bug 1290587, part 2 - Make XPCNativeSetKey hashing a method. r=mrbkap
MozReview-Commit-ID: 67XbmFN4ThW

--HG--
extra : rebase_source : 812ff5e6926e49821e1949bec54fd554efc40f50
2016-07-29 10:42:05 -07:00
Andrew McCreight
5accbb517d Bug 1290587, part 1 - Fix style for XPCNativeSetKey. r=mrbkap
MozReview-Commit-ID: 4bsItyOAbpN

--HG--
extra : rebase_source : bf3f237038b9c376283127425da542a33c34d83c
2016-07-29 10:35:49 -07:00
Wes Kocher
1be5d82df2 Backed out changeset 4c8d8454a4c5 (bug 1290931) because dependencies of this landed to inbound instead of autoland, causing future merge conflicts a=backout 2016-08-01 10:06:38 -07:00
Benjamin Bouvier
7d0daf004c Bug 1290931: Don't use the exponential operator in tests; r=till
MozReview-Commit-ID: HTUmcNj7SEZ

--HG--
extra : rebase_source : b031ad92cb7a8a72b6b6d647625640dc92fb3494
2016-08-01 18:48:20 +02:00
Carsten "Tomcat" Book
8dbb362d18 merge mozilla-inbound to mozilla-central a=merge 2016-07-31 17:44:14 +02:00
Carsten "Tomcat" Book
fc8e03f0d8 Merge mozilla-central to autoland 2016-07-30 16:49:41 +02:00
Chris Peterson
37d77f1683 Bug 1289987 - Part 2: Remove more VS2013 workarounds in js/. r=fitzgen
Take 2.
2016-07-29 20:28:31 -07:00
Chris Peterson
2bfa62386f Backed out changeset 2b9b892d36ff (bug 1289987) for build break 2016-07-29 20:26:28 -07:00
Chris Peterson
aab004d66f Bug 1289987 - Part 3: Remove curly braces workaround for VS2013 ICE in ranged for loops in js/. r=fitzgen 2016-07-28 22:23:10 -07:00
Chris Peterson
617a320dfb Bug 1289987 - Part 2: Remove more VS2013 workarounds in js/. r=fitzgen 2016-07-28 22:33:39 -07:00
Botond Ballo
36779c6cc3 Bug 1289608 - Define XrayWrapper<...>::singleton for all instantiations, instead of defining specializations for specific ones. r=bholley
MozReview-Commit-ID: GecaSstpxRQ

--HG--
extra : rebase_source : 30e95b590a18dee92a588d2cb4e8b44808bbe11a
2016-07-29 16:40:08 -04:00
Botond Ballo
34d65c1f90 Bug 1289608 - Provide explicit instantiation declarations for the various instantiations of XrapWrapper. r=bholley
MozReview-Commit-ID: 6rS9JJ1Ba9R

--HG--
extra : rebase_source : 29a69c5b0068bc2e948e007d656ef7b7d4efb13d
2016-07-29 16:39:14 -04:00
Morgan Phillips
462613aa3c Bug 1289749 - Backout the existing function.name implementation; r=jorendorff
The existing implementation can not meet the spec's requirement that function.name
is only set during assignment with the left-hand side is an identifier reference.

--HG--
extra : rebase_source : 263a0deb93dd0d345669a8dafe10283640836b24
extra : amend_source : 1dbccbca658fc026cd6c6446ed22890b20a91d16
2016-07-27 15:40:32 -07:00
Tooru Fujisawa
4e75fef821 Bug 1290655 - Call GetMethod in String.prototype.{search,replace,split}. r=evilpie 2016-07-31 11:04:19 +09:00
Tom Schuster
742fc3c5ec Bug 1124857 - Fix self-hosted Array methods to use ToLength for length. r=arai 2016-07-31 01:33:16 +02:00
Noitidart
a05c9522b2 Bug 1288907 - Free dst after failed call to JS_NewUCString. r=bholley 2016-07-29 05:53:00 -04:00
Andrew McCreight
82ac383602 Bug 1289457 - Take advantage of infallible new in XPCNativeSet::NewInstance{,Mutate} to skip checks. r=mrbkap
MozReview-Commit-ID: H4TEMzzT6iK
2016-07-29 16:08:06 -07:00
Chris Peterson
4c53a24d6d Bug 1289987 - Remove VS2013 workarounds from js/. r=fitzgen
--HG--
extra : rebase_source : a1498f597a955c5cc1e4ee904edc8a23c50aba9d
2016-07-27 22:59:55 -07:00
Jon Coppeard
2bcd075f28 Bug 1290034 - Ensure nursery allocations are correctly aligned r=terrence 2016-07-29 12:02:54 +01:00
Jon Coppeard
8e2dedbc9f Bug 1288780 - Don't destroy GCPtrs while there may be store buffer entries pointing into them r=terrence 2016-07-28 11:49:06 +01:00
Hannes Verschore
0aeda4bed7 Bug 1289054: Part 25: Don't reuse input during lowering for int 64 values on 32 bit platforms, r=bbouvier 2016-07-29 16:53:50 +02:00
Hannes Verschore
cbb9cc4e9e Bug 1289054 - Part 24: Make WebAssembly ready to run 64bit instructions on arm, r=luke 2016-07-29 16:53:50 +02:00
Hannes Verschore
2f1d4e6217 Bug 1289054 - Part 23: Implement the 64bit variant of WasmLoad and WasmStore on arm, r=bbouvier 2016-07-29 16:53:50 +02:00
Hannes Verschore
be14fd4a16 Bug 1289054 - Part 22: Implement the 64bit variant of WasmLoadGlobalVar and WasmStoreGlobalVar on arm, r=bbouvier 2016-07-29 16:53:50 +02:00
Hannes Verschore
7d31f5df3a Bug 1289054 - Part 21: Unrelated cleanup, r=bbouvier 2016-07-29 16:53:50 +02:00
Hannes Verschore
cb373bd27d Bug 1289054 - Part 20: Implement the 64bit variant of Test on arm, r=nbp 2016-07-29 16:53:50 +02:00
Hannes Verschore
24edb3d587 Bug 1289054 - Part 19: Implement the 64bit variant of Int64ToFloatingPoint on arm, r=bbouvier 2016-07-29 16:53:50 +02:00
Hannes Verschore
db11d480ae Bug 1289054 - Part 18: Implement the 64bit variant of WasmTruncate on arm, r=bbouvier 2016-07-29 16:53:49 +02:00
Hannes Verschore
08728c529c Bug 1289054 - Part 17: Implement the 64bit variant of Not on arm, r=bbouvier 2016-07-29 16:53:49 +02:00
Hannes Verschore
e765133481 Bug 1289054 - Part 16: Implement the 64bit variant of Clz and Ctz on arm, r=bbouvier 2016-07-29 16:53:49 +02:00
Hannes Verschore
5ab976a487 Bug 1289054 - Part 15: Implement the 64bit variant of PopCnt on arm, r=lth 2016-07-29 16:53:49 +02:00
Hannes Verschore
9942f53879 Bug 1289054 - Part 14: Implement the 64bit variant of AsmReinterpret on arm, r=bbouvier 2016-07-29 16:53:49 +02:00
Hannes Verschore
7753e2a880 Bug 1289054 - Part 13: Implement the 64bit variant of AsmSelect on arm, r=bbouvier 2016-07-29 16:53:49 +02:00
Hannes Verschore
3c2a7487ec Bug 1289054 - Part 12: Implement the 64bit variant of AsmJSPassStackArg on arm, r=luke 2016-07-29 16:53:49 +02:00
Hannes Verschore
a7172e587a Bug 1289054 - Part 11: Implement the 64bit variant of Rotate on arm, r=luke 2016-07-29 16:53:49 +02:00
Hannes Verschore
1453379535 Bug 1289054 - Part 10: Implement the 64bit variant of BitOp on arm, r=bbouvier 2016-07-29 16:53:49 +02:00
Hannes Verschore
bc1892bc14 Bug 1289054 - Part 9: Implement the 64bit variant of Shift on arm, r=bbouvier 2016-07-29 16:53:49 +02:00
Hannes Verschore
60ba2b47a6 Bug 1289054 - Part 8: Implement the 64bit variant of Compare on arm, r=nbp 2016-07-29 16:53:49 +02:00
Hannes Verschore
d2ef4b16d0 Bug 1289054 - Part 7: Implement the 64bit variant of Div and Mod on arm, r=nbp 2016-07-29 16:53:49 +02:00
Hannes Verschore
2fdd8ee702 Bug 1289054 - Part 6: Implement the 64bit variant of Mul on arm, r=nbp 2016-07-29 16:53:48 +02:00
Hannes Verschore
4928ad92a1 Bug 1289054 - Part 5: Implement the 64bit variant of Add and Sub on arm, r=bbouvier 2016-07-29 16:53:48 +02:00
Hannes Verschore
a7b2aa45b5 Bug 1289054 - Part 4: Implement the 64bit variant of Extend on arm, r=bbouvier 2016-07-29 16:53:48 +02:00
Hannes Verschore
b6c18e537e Bug 1289054 - Part 3: Implement the 64bit variant of WrapInt64ToInt32 on arm, r=bbouvier 2016-07-29 16:53:48 +02:00
Hannes Verschore
52e58112ef Bug 1289054 - Part 2: Implement the 64bit variant of AsmJSParameter on arm, r=sstangl 2016-07-29 16:53:48 +02:00
Hannes Verschore
e16e414c32 Bug 1289054: Part 1: Preparations in IonMonkey to support i64 on arm, r=sstangl 2016-07-29 16:53:48 +02:00
Hannes Verschore
11dcce4503 Bug 1279248 - Part 27: Temporarily disable the Wasm baseline compiler for x86, r=lth 2016-07-29 16:53:48 +02:00
Hannes Verschore
ddb441b186 Bug 1279248 - Part 27: Implement the 64bit variant of WasmLoadGlobalVar and WasmStoreGlobalVar on x86, r=bbouvier 2016-07-29 16:53:48 +02:00
Hannes Verschore
e0af135939 Bug 1279248 - Part 26: Implement the 64bit variant of WasmLoad and WasmStore on x86, r=bbouvier 2016-07-29 16:53:48 +02:00
Hannes Verschore
69caf976c6 Bug 1279248 - Part 25: Extra tests, r=lth 2016-07-29 16:53:48 +02:00
Hannes Verschore
ec0937ad53 Bug 1279248 - Part 24: Make WebAssembly ready to run 64bit instructions on x86, r=luke 2016-07-29 16:53:48 +02:00
Hannes Verschore
488c1ec17f Bug 1279248 - Part 23: Implement the 64bit variant of Test on x86, r=nbp 2016-07-29 16:53:47 +02:00
Hannes Verschore
2abc9da483 Bug 1279248 - Part 22: Implement the 64bit variant of AsmJSCall on x86, r=nbp 2016-07-29 16:53:47 +02:00
Hannes Verschore
c9746ae01e Bug 1279248 - Part 21: Implement the 64bit variant of ToFloatingPoint on x86, r=sunfish 2016-07-29 16:53:47 +02:00
Hannes Verschore
aceeed69b7 Bug 1279248 - Part 20: Implement the 64bit variant of WasmTruncate on x86, r=sunfish 2016-07-29 16:53:44 +02:00
Hannes Verschore
67f470e707 Bug 1279248 - Part 19: Implement the 64bit variant of Not on x86, r=bbouvier 2016-07-29 16:53:41 +02:00
Hannes Verschore
a491dbb760 Bug 1279248 - Part 18: Implement the 64bit variant of Clz and Ctz on x86, r=bbouvier 2016-07-29 16:53:39 +02:00
Hannes Verschore
d72ed260a9 Bug 1279248 - Part 17: Implement the 64bit variant of PopCnt on x86, r=lth 2016-07-29 16:52:56 +02:00
Hannes Verschore
1e12c70ce4 Bug 1279248 - Part 16: Implement the 64bit variant of WrapInt64ToInt32 on x86, r=efaust 2016-07-29 16:51:42 +02:00
Hannes Verschore
3386e93ddb Bug 1279248 - Part 15: Implement the 64bit variant of ExtendInt32toInt64 on x86, r=efaust 2016-07-29 16:51:42 +02:00
Hannes Verschore
22197fac6e Bug 1279248 - Part 14: Implement the 64bit variant of AsmReinterpret on x86, r=efaust 2016-07-29 16:51:42 +02:00
Hannes Verschore
214d070564 Bug 1279248 - Part 13: Implement the 64bit variant of AsmSelect on x86, r=efaust 2016-07-29 16:51:42 +02:00
Hannes Verschore
c7c16e86de Bug 1279248 - Part 12: Implement the 64bit variant of Div and Mod on x86, r=jandem 2016-07-29 16:51:42 +02:00
Hannes Verschore
a31cb8c146 Bug 1279248 - Part 11: Implement the 64bit variant of AsmJSPassStackArg on x86, r=luke 2016-07-29 16:51:42 +02:00
Hannes Verschore
f7098448f2 Bug 1279248 - Part 10: Implement the 64bit variant of Rotate on x86, r=luke 2016-07-29 16:51:41 +02:00
Hannes Verschore
221f10a1e0 Bug 1279248 - Part 9: Implement the 64bit variant of Mul on x86, r=jandem 2016-07-29 16:51:41 +02:00
Hannes Verschore
67e59ab0b8 Bug 1279248 - Part 8: Implement the 64bit variant of Sub on x86, r=lth 2016-07-29 16:51:41 +02:00
Hannes Verschore
93f2ecae23 Bug 1279248 - Part 7: Implement the 64bit variant of Add on x86, r=lth 2016-07-29 16:51:41 +02:00
Hannes Verschore
7df878a85a Bug 1279248 - Part 6: Implement the 64bit variant of BitOp on x86, r=bbouvier 2016-07-29 16:51:41 +02:00
Hannes Verschore
5e33b202ad Bug 1279248 - Part 5: Implement the 64bit variant of Shift on x86, r=bbouvier 2016-07-29 16:51:41 +02:00
Hannes Verschore
f7b369be3b Bug 1279248 - Part 4: Implement the 64bit variant of Compare on x86, r=nbp 2016-07-29 16:51:41 +02:00
Hannes Verschore
d5aa3ac93a Bug 1279248 - Part 3: Implement the 64bit variant of AsmJSReturn on 32bit platforms, r=nbp 2016-07-29 16:51:41 +02:00