Commit Graph

52750 Commits

Author SHA1 Message Date
Nathan Froyd
15b0e5ff03 Bug 1222578 - remove workaround for clang-cl not understanding -arch:IA32; r=glandium
LLVM bug 24335 is resolved as of the middle of October 2015.
2015-11-06 15:31:49 -05:00
Luke Wagner
7f6b1fc7e9 Bug 1234985 - BaldrMonkey: testing-only (not content visible) wasm hello world (r=bbouvier)
--HG--
extra : commitid : 15rM27QYH2
extra : rebase_source : 13a60db81c799c697d0cd25deb51ccc5a8806ad4
2016-01-25 13:24:41 -06:00
Ted Mielczarek
4664317546 bug 1230117 - get rid of TARGET_MD_ARCH. r=glandium
--HG--
extra : commitid : 4cwjHw9LftB
extra : rebase_source : f436c204d3c7e2589fa1de3a5a2457872d322a22
2016-01-21 06:07:22 -05:00
Ted Mielczarek
f86b931457 bug 1230117 - get rid of {HOST,TARGET}_NSPR_MDCPUCFG. r=glandium
--HG--
extra : commitid : LJ5QiUWSc4d
extra : rebase_source : 7207b43431e072a5f77397d468d30b5439be2b84
2016-01-21 06:13:06 -05:00
Ted Mielczarek
76f0fb5769 bug 1230117 - Stop using NSPR's configure. r=glandium
--HG--
extra : commitid : 3xfupwYWRJC
extra : rebase_source : 157a22a7d50b0ea61c0ba24c0c9163f1c0f5a806
2016-01-21 06:04:11 -05:00
Till Schneidereit
74da3f7dfd Bug 1241872 - Followup to fix test bustage on Aurora. r=me
--HG--
extra : rebase_source : c1aebf1acd0ebca2a5a861acf717d819cd7e103a
2016-01-25 17:07:38 +01:00
Hannes Verschore
4b2d83f936 Bug 1241224: IonMonkey: Improve ranges at loop backedges, r=nbp 2016-01-22 09:11:19 -05:00
Morgan Phillips
6f74efb51b Bug 715181 - Self-host Array.sort; r=till
--HG--
extra : rebase_source : b114159eab758792c21d653c65b2d62c02a6a9ee
2016-01-24 19:32:22 -06:00
Nick Fitzgerald
056fb7cb1f Bug 1241701 - Add about:memory reporting for js::SavedStacks::pcLocationMap. r=njn
--HG--
extra : rebase_source : 9792a8f116d620424682222a209ca933a456aead
2016-01-22 10:12:00 -05:00
Nicholas Nethercote
94fe8f79f0 Bug 1144842 (part 3) - Remove --enable-dmd code from js/src/configure.in. r=glandium.
It doesn't make sense to enable DMD in the JS shell.

--HG--
extra : rebase_source : 1f1c6691cb139c4c0e7a51c4f820c6065b23b966
2016-01-21 16:59:02 -08:00
Emanuel Hoogeveen
a82d4470d8 Bug 1242262 - Remove the last vestiges of JS_GC_MARKING_VALIDATION (it's a GC Zeal mode now). r=terrence 2016-01-25 06:46:27 +08:00
Shu-yu Guo
8f3e583a52 Bug 1235590 - Allow redeclaring block-scoped functions and warn about deprecation for now. (r=jorendorff) 2016-01-23 13:28:45 -08:00
Phil Ringnalda
6aeccf0426 Merge f-t to m-c, a=merge 2016-01-23 18:11:37 -08:00
Sylvestre Ledru
ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Boris Zbarsky
d4db9bedd0 Bug 1242054. Get rid of AbortablePromise, so we can move Promise into SpiderMonkey more easily. r=khuey 2016-01-23 00:37:44 -05:00
Kartikaya Gupta
f7d70bc9d1 Back out cset f01b5d05a13b (bug 1235590) for jsreftest failures. r=backout on a CLOSED TREE
--HG--
extra : commitid : BaPjotyNN9M
2016-01-22 22:11:30 -05:00
Tom Tromey
5412728905 Bug 757969 - use __thread in ThreadLocal; r=froydnj 2016-01-22 10:33:44 -07:00
Makoto Kato
a3c28e8e93 Bug 676828 - Use RAII for AudioSession instead. r=bholley 2016-01-22 16:08:14 +09:00
Nicholas Nethercote
5faf7254cf Bug 1241352 - Increase FallbackICStubSpace chunk size to reduce heap churn. r=jandem.
--HG--
extra : rebase_source : 004569a23a3334728716c4a506e0b7c48befd9be
2016-01-21 20:04:00 -08:00
Nick Fitzgerald
b3e40536ed Bug 1241311 - Pre-tenure SavedFrame objects. r=terrence
Because of SavedStacks' tail-sharing, we cut down on the number of SavedFrame
allocations, but they also tend to live fairly long. When using the devtools'
profiler on Octane, I noticed that we were spending much more time in GC when
recording allocation stacks (as SavedFrame stacks) than when we were not
recording allocation stacks. We were spending about 30% of time in nursery
collections and 7% of time in major GCs. This commit makes it so that SavedFrame
objects are always allocated in the tenured heap. After this change, only about
17% of time is spent in nursery collections and 8% in major GCs.
2016-01-20 15:09:00 -05:00
Luke Wagner
532a7fb4a4 Bug 1234985 - Odin: use VarU32 for integer literals (r=bbouvier)
--HG--
extra : commitid : BjaDFHi36gP
2016-01-21 20:49:09 -06:00
Luke Wagner
aac229857c Bug 1234985 - Odin: stop requiring explicit final return (r=bbouvier)
--HG--
extra : commitid : 78xdVuowJHc
2016-01-21 20:49:04 -06:00
Luke Wagner
8411950fb7 Bug 1234985 - Odin: make names optional and supplied at the end (r=bbouvier)
--HG--
extra : commitid : 7JxDYGjOOdu
2016-01-21 20:48:58 -06:00
Shu-yu Guo
f667c4848f Bug 1240803 - Handle OOM in replaceFrameGuts. (r=jimb) 2016-01-21 18:17:38 -08:00
Shu-yu Guo
53dc386f81 Bug 1240546 - Handle OOM in updateObservesAllExecutionOnDebuggees. (r=jimb) 2016-01-21 18:17:38 -08:00
Shu-yu Guo
8341823607 Bug 1236473 - Do not merge scripts that didn't successfully compile. (r=jandem) 2016-01-21 18:17:37 -08:00
Shu-yu Guo
832239fd8e Bug 1166234 - Throw on accessing optimized out values when using Debugger.Frame.prototype.eval. (r=jimb) 2016-01-21 18:17:37 -08:00
Luke Wagner
2d69d996c4 Bug 1241581 - Put back null filename checks (r=bbouvier)
--HG--
extra : commitid : 3ClobxFytHx
extra : rebase_source : 54a3f34e5e3f74c62d3372fdadf713f6779f0261
2016-01-21 15:57:27 -06:00
Jan de Mooij
7e97e2672b Bug 1234845 part 11 - Remove HAS_SCOPECHAIN InterpreterFrame flag, repack flags. r=luke 2016-01-21 20:02:41 +01:00
Jan de Mooij
f0f2c29d99 Bug 1234845 part 10 - Remove ExecuteType and InitialFrameFlags enums. r=luke 2016-01-21 20:01:18 +01:00
Jan de Mooij
ed63d4de2a Bug 1234845 part 9 - Remove callee slot from non-function interpreter frames. r=luke 2016-01-21 20:01:12 +01:00
Benjamin Bouvier
cdcfc32c4f Bug 1229399: Allow to peek into the internal wasm IR; r=luke
--HG--
extra : rebase_source : 0355098f5027e033ca75e14be2cfd7b6bfa9211b
2016-01-21 13:36:57 +01:00
Benjamin Bouvier
24d1714f5f Bug 1229399: Remove expression statements opcodes in wasm; r=luke
--HG--
extra : rebase_source : a978b3e2317d234d88ec3006a45bf1a7ab094a13
2016-01-21 12:31:45 +01:00
Till Schneidereit
721d1fae81 Bug 1240283 - Slim down JSDate instances by not caching cheaply-computed values. r=Waldo
--HG--
extra : rebase_source : 5f189a0d92ba38d3d48cf94230f004c62d78268d
2016-01-19 22:45:36 +01:00
Jacek Caban
65aeb7ca6d Bug 1167248 - Cross compilation fixup. 2016-01-21 13:40:07 +01:00
Mike Hommey
bdc9ed0d4a Bug 1240990 - Define all backends in one place. r=gps
When adding a backend, we currently have to add them in three different
places so that they appear in the right places.

Instead, keep the list in a single place.
2016-01-21 13:54:03 +09:00
Nathan Froyd
c193e4e1c6 Bug 1236577 - turn off -Wignored-attributes when compiling with clang-cl; r=glandium
Several JS engine header files, notable RootingAPI.h, do:

class JS_PUBLIC_API(...) { ... };

which sticks __declspec(dllimport) on the type.  clang-cl warns us that
it doesn't implement that, but since we're compiling with clang-cl as an
interesting side project, rather than shipping releases with it, we can
ignore that warning.
2016-01-04 11:30:22 -05:00
David Rajchenbach-Teller
583ca7286d Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
David Rajchenbach-Teller
42b6a4145f Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.

--HG--
extra : rebase_source : b9ec379c58255a250db1020377147c95c82df712
2016-01-14 23:03:11 +01:00
Jakob Stoklund Olesen
1e52ac9d3a Bug 1238679 - Implement main SIMD inlining dispatch. r=bbouvier
Use a shared inlineSimd() dispatch function for all the SIMD types supported by
Ion. This function can dispatch on the .nativeOp stored in the JSJitInfo struct,
and we avoid comparing native function pointers that way.

Delete the old per-type dispatch functions.
2016-01-20 12:50:07 -08:00
Jakob Stoklund Olesen
1453f06ac1 Bug 1238679 - Make inlineSimdLoad/Store take a MIRType argument. r=bbouvier
Complete the earlier refactoring that got rid of the SimdTypeDescr::Type enums.
2016-01-20 12:50:07 -08:00
Jakob Stoklund Olesen
db12cf689d Bug 1238679 - Mark the Bool32x4 functions as inlinable. r=bbouvier
This is an oversight from Bug 1160971.
2016-01-20 12:50:06 -08:00
Jakob Stoklund Olesen
14c7723e0b Bug 1238679 - Provide per-operation JSJitInfo for the SIMD functions. r=bbouvier
The InlinableNative enumeration doesn't have an enumerator for every SIMD
function, it only enumerates the SIMD types supported by the jit, and Ion uses
the JSNative function pointer to identify functions when inlining.

Use the uint16_t .nativeOp field in JSJitInfo as a sub-opcode, and give each
inlinable SIMD operation its own JSJitInfo with a sub-opcode that identifies the
operation.

Use the old JSJitInfo SIMD structs from MCallOptimize.cpp to represent the
constructor calls. They all have .nativeOp = 0 which corresponds to
SimdOperation::Constructor.

This will make it easier to identify inlinable SIMD functions in Ion.
2016-01-20 12:50:06 -08:00
Jakob Stoklund Olesen
0193a447c2 Bug 1238679 - Add enum class SIMDOperation. r=bbouvier
This enumeration contains all SIMD operations that have a function name plus
the constructor.
2016-01-20 12:50:06 -08:00
Jakob Stoklund Olesen
da78ae7e9b Bug 1238679 - Put JSJitInfo::depth in anonymous union. r=nbp
Add a JSJitInfo::nativeOp field which will be used to identify SIMD operations.
2016-01-20 12:50:06 -08:00
Jakob Stoklund Olesen
81870cf461 Bug 1238679 - Rename s/SIMD/Simd/ in type and function names. r=bbouvier
We prefer to camelcase acronyms to avoid shouty identifiers. Most types and
functions with SIMD in their name already spell it 'Simd'.
2016-01-20 12:50:06 -08:00
Morgan Phillips
1ae1634b8b Bug 1239068 - Inline "PossiblyTypedArrayLength" intrinsic; r=Waldo 2016-01-20 13:54:36 -06:00
Lars T Hansen
b9a9fe0202 Bug 1239605 - filter insertions into the global object. r=jandem
--HG--
extra : rebase_source : ba8b51405f8bedfad9ed4a63118c4afb4a29ec03
extra : histedit_source : 4ff924808991ac19c036d6d852f6c1d9402d132b
2016-01-18 09:52:44 +01:00
Lars T Hansen
fe536f191a Bug 1240453 - enable shared memory in xpconnect. r=bz
--HG--
extra : rebase_source : 91a282de93b3456e22761b3ef269083220cd50c4
extra : histedit_source : 283564276cc5fbef86fc8908be8f5a115f566530
2016-01-18 09:50:05 +01:00
Luke Wagner
b4d7059241 Bug 1234985 - Hoist CStringHasher (r=sfink)
--HG--
extra : commitid : KxwfOhuDfeq
extra : rebase_source : 1a38c30bea5b324ca913a7688c2febd834873d49
2016-01-20 12:00:21 -06:00