Commit Graph

56073 Commits

Author SHA1 Message Date
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