Commit Graph

56106 Commits

Author SHA1 Message Date
Jeff Walden
f8b0f4ec6d Bug 1280362 - Remove DocumentWrite and htmlesc as unused. r=arai
--HG--
extra : rebase_source : 8343509b1250ab440e18c516748031687063f65b
2016-07-27 23:02:29 -07:00
Jeff Walden
57cc3af889 Bug 1280362 - Make writeFormattedResult write into the page in a way that never sets innerHTML or uses document.write. r=arai
--HG--
extra : rebase_source : 72567e4928157a615f8a6becd0f7a2da29e8c783
2016-07-27 22:53:36 -07:00
Jeff Walden
ec858b79e3 Bug 1280362 - Make browser.js's writeHeaderToLog write into the page in a way that never sets innerHTML or uses document.write. r=arai
--HG--
extra : rebase_source : 50da22fa6051bcc9e4bd8ba45a16dfa42d344cc5
2016-07-27 22:21:05 -07:00
Jeff Walden
18af58d6c1 Bug 1280362 - Make browser.js's print() function write into the page in a way that never sets innerHTML or uses document.write. r=arai
--HG--
extra : rebase_source : 8f0f8d928a6ee8c4a1c09dea89a9bdf34e314d42
2016-07-27 22:13:23 -07:00
Jeff Walden
a2197e632c Bug 1280362 - Make browser.js's newGlobal and DocumentWrite work regardless of the test's behavior. r=arai
--HG--
extra : rebase_source : b7be7707412de58a8a6955783d68a275b3e440c8
2016-07-27 22:09:38 -07:00
Jeff Walden
98a4d37640 Bug 1280362 - Define gczeal/quit in shell.js, out of browser.js, plus a few other minor changes. r=arai
--HG--
extra : rebase_source : afec2dbf502c7a3ac4efa0a9ec22316050eb16ef
2016-06-29 10:30:57 +01:00
Jeff Walden
d457f414b2 Bug 1289934 - Implement more-correct error handling if ucal_getType fails. (It can't with current ICU, at least our in-tree copy. But best be safe for the future.) Also don't assume ucal_getType's return value on success outlives the corresponding UCalendar*. (Again, no problem with current ICU, still worth fixing.) r=sfink
--HG--
extra : rebase_source : f90da21347bd66367cce88d3fc93f333c3405752
2016-07-27 17:14:01 -07:00
Jeff Walden
083f68611a Bug 1289934 - Simplify ScopedICUObject to store deleter function as a template parameter, not as a runtime variable. r=sfink
--HG--
extra : rebase_source : b76a1cc4403b9953e0c17f3db05f5e1a1fec25cf
2016-07-27 17:13:52 -07:00
Sebastian Hengst
4a00647818 Backed out changeset b61757c08a5f (bug 1290589) for asserting mIsSome in testParallelCompile.js. r=backout 2016-08-08 23:24:51 +02:00
Nick Fitzgerald
f3b06ab599 Bug 1290589 - Make JSRuntime's exclusiveAccessOwner a js::Thread::Id instead of a PRThread*; r=terrence 2016-08-08 13:26:10 -07:00
Nick Fitzgerald
4edf614ff4 Bug 1285074 - Fix pthreads error reporting for posix js::Mutex; r=terrence
The old code assumed that various pthreads calls would set errno, and therefore
we could use perror() to print information about them. That assumption was
incorrect: pthreads calls return the error number directly and do not set errno
at all. The solution: asign the return value to errno and then call perror();
2016-08-08 10:37:54 -07:00
Nicolas B. Pierron
2a0ba0e7c7 Bug 1289184 part 1 - Add an AutoFallibleScope for jit::MergeTypes lifoAlloc allocations. r=jandem 2016-08-08 13:57:42 +00:00
Nicolas B. Pierron
1055b15a7f Bug 1289184 part 0 - Replace TLS lookup for the compiler LifoAlloc by a TempAllocator argument. r=jandem 2016-08-08 13:57:42 +00:00
Jon Coppeard
cf0ee2623d Bug 1290108 - Make SharedScriptData refcounted so we can free them without doing a full GC r=terrence 2016-08-08 10:13:47 +01:00
Jon Coppeard
38ebe42aaa Bug 1288715 - Refactor SharedScriptData to prepare for making it refcounted r=till 2016-08-08 10:13:47 +01:00
Hannes Verschore
ec75a3744d Bug 1290453 - Baseline Wasm Compiler: Part 1: Get the low level functions using Register64 working on x86, r=lth 2016-08-07 14:52:00 +02:00
Tom Schuster
822d12a14e Bug 1168260 - Test: Promise methods should not be enumerable. r=till 2016-08-06 16:15:54 +02:00
Tom Schuster
87a47612e7 Bug 1237762 - Test: Promise resolved with itself rejects.r=till 2016-08-06 16:15:54 +02:00
Benjamin Bouvier
e3ea0a886f Bug 1283126 - wasm: Take alignment hints into account when compiling load/store (r=sunfish) 2016-08-06 01:02:09 -05:00
Terrence Cole
d0f58b8f51 Bug 1289581 - Follow-up to fix non-unified bustage; r=meow 2016-08-05 14:44:32 -07:00
Terrence Cole
55debba037 Bug 1289581 - Assert that no object slot gets set with a black to gray edge; r=jonco
--HG--
extra : rebase_source : b174d297fd63e8133a318934ac87bcd7e05243d7
2016-07-27 11:39:43 -07:00
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