Commit Graph

55421 Commits

Author SHA1 Message Date
Tom Schuster
4455e57052 Bug 1114580 - Change ESClassValue to an enum class. r=jorendorff 2016-06-30 00:04:56 +02:00
Jan de Mooij
d15aac196c Bug 1283038 - Emit direct calls to VM functions instead of using a scratch register. r=nbp 2016-06-29 22:07:27 +02:00
Luke Wagner
66862628ad Bug 1276028 - add missing 'explicit' to ctor (r=red)
MozReview-Commit-ID: C8c4dkiGl6y

--HG--
extra : rebase_source : 8d3594dfd9f9ea340df9af50e76d18cf61dd1680
2016-06-29 15:01:48 -05:00
Luke Wagner
e6045e08b9 Bug 1276028 - Baldr: split wasm::Compile out of wasm::Eval (r=bbouvier)
MozReview-Commit-ID: CW30AMdlW3U

--HG--
rename : js/src/asmjs/Wasm.cpp => js/src/asmjs/WasmCompile.cpp
rename : js/src/asmjs/Wasm.h => js/src/asmjs/WasmCompile.h
2016-06-29 14:34:36 -05:00
Luke Wagner
37c203de18 Bug 1276028 - Baldr: create heap during instantiation, not compilation (r=bbouvier)
MozReview-Commit-ID: 9VSmSvaKNPx
2016-06-29 14:16:53 -05:00
Eddy Bruel
a5248d463f Bug 1271653 - Non-fallible Debugger.Object getters should be non-static methods;r=fitzgen 2016-06-29 14:05:05 +02:00
Eddy Bruel
29f5217893 Bug 1271653 - Move remaining helper functions and data for DebuggerObject into class;r=fitzgen 2016-06-29 14:03:03 +02:00
Eddy Bruel
6dcf0f1e6b Bug 1271653 - Add MOZ_MUST_USE to JS native functions for DebuggerObject;r=fitzgen 2016-06-29 14:01:35 +02:00
Jeff Walden
d0b54a19b6 Backed out changeset 763642feedb0, Windows hates me. r=beepbeepbeep in a CLOSED TREE 2016-06-29 11:16:03 +01:00
Morgan Phillips
9d89596177 Bug 1282332 - Refuse to parse display names with unquoted, non-numeric, property names; r=jorendorff
--HG--
extra : rebase_source : 77825ee84d76beed0da58b6092f4730c6d64c7a2
2016-06-27 03:29:08 +01:00
Jeff Walden
4913ffbd60 Bug 1282795 - Extract a side effect on a variable from an assertion expression to avoid a clang compiler warning when a side-effectful expression occurs in an unevaluated context. r=froydnj
--HG--
extra : rebase_source : bc8d4706db6425990ced939d6895d2b50c1b1bb1
2016-06-28 17:14:18 +01:00
Jeff Walden
c98db2b696 Bug 1282795 - Make a variable DebugOnly, and extract a side effect on that variable from an assertion expression to avoid a clang compiler warning when a side-effectful expression appears in unevaluated context. r=froydnj
--HG--
extra : rebase_source : c45b2b2fff55457383b8da86b9b597a5fb60b587
2016-06-28 17:13:22 +01:00
Jeff Walden
1a5fb1ba2a Bug 1282795 - Make InvokeState final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<InvokeState>. r=froydnj
--HG--
extra : rebase_source : edef0d0826878b7a0b358299478d9bb1fa2ac712
2016-06-28 17:11:35 +01:00
Jeff Walden
b29c07c2ea Bug 1282795 - Don't make the last non-ellipsis argument to ExpandErrorArgumentsVA an enumeration that would be subject to integral promotion, because this would invoke undefined behavior. r=froydnj
--HG--
extra : rebase_source : 89910f1ea6811b6bb8553f4d60342cb4aa7e397a
2016-06-28 17:11:01 +01:00
Jeff Walden
354825efdd Bug 1282795 - Make NativeRegExpMacroAssembler and InterpretedRegExpMacroAssembler final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<those types>. r=froydnj
--HG--
extra : rebase_source : 652d7eea4a30bddd62558937085f6b2437a7a63f
2016-06-28 17:10:21 +01:00
Jeff Walden
0d2a0839a7 Bug 1282795 - Make VerifyPreTracer final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<VerifyPreTracer>. r=froydnj
--HG--
extra : rebase_source : ffaf9126571c9f55259e75ca265caa4407070f2d
2016-06-28 17:09:59 +01:00
Jeff Walden
f7b8d0cce7 Bug 1282795 - Make frontend::Parser final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<Parser>. r=froydnj
--HG--
extra : rebase_source : 6c4eeb1c68c6a1b4e4e7bc232ed2fed7ddddce28
2016-06-28 17:09:36 +01:00
Jeff Walden
f38286fc77 Bug 1282795 - Make JS::CompileOptions final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<JS::CompileOptions>. r=froydnj
--HG--
extra : rebase_source : d400b92e2ad1e2b90ca97688fd5b14fab544275a
2016-06-28 17:09:18 +01:00
Jeff Walden
ae4aa0b941 Bug 1282795 - Make CodeGenerator final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<CodeGenerator>. r=froydnj
--HG--
extra : rebase_source : 9a93feba878339708403631182adbe2ff23e7868
2016-06-28 17:07:42 +01:00
Jeff Walden
75c0b2462e Bug 1282795 - Forward-declare a bunch of TracerConcrete<T>::concreteTypeName[] so that the default virtual TracerConcrete<T>::typeName() can refer to those declarations before their definitions, without triggering compiler warnings up the wazoo. r=froydnj
--HG--
extra : rebase_source : b6601a210fbd87d3b7bba31ee03c6b5c5192c420
2016-06-28 17:06:56 +01:00
Jon Coppeard
6a5154d31f Bug 822081 - Allow barriers to fire while tracing the heap r=terrence a=abillings 2016-06-29 10:04:25 +01:00
Lars T Hansen
c5d9947c1a Bug 1277011 - Abstract asm.js loadHeap and storeHeap on ARM. r=nbp
--HG--
extra : rebase_source : e6b7b5d9ea0310e35f51bd3ae473eb34a9fcf311
extra : source : f228cee547d5a39d447d0cd24bce223628ee0828
2016-06-29 10:54:08 +02:00
Heiher
570bcc2702 Bug 1281997 - OdinMonkey: MIPS: Fix callWithPatch out of range. r=luke
---
 js/src/asmjs/WasmFrameIterator.cpp                  |  2 +-
 js/src/jit/mips-shared/Architecture-mips-shared.h   |  2 +-
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp  | 21 +++++++++++++++++----
 3 files changed, 19 insertions(+), 6 deletions(-)
2016-06-29 16:05:52 +08:00
Lars T Hansen
3f68e2c195 Bug 1278283 - Use masm abstractions in wasm baseline compiler. r=nbp
--HG--
extra : rebase_source : c77b55c95b6022bc9f785eaf49cf28fb7e94603a
2016-06-28 10:11:05 +02:00
Lars T Hansen
e76ba7a4eb Bug 1278283 - Introduce popcnt abstraction for ARM. r=nbp
--HG--
extra : rebase_source : 190e685184a2fbd93fc0fe82ff4322f286bc13e6
2016-06-26 15:38:43 +02:00
Lars T Hansen
af5d06cbe3 Bug 1278283 - Expose max and min in the MacroAssembler + move ARM code. r=nbp
--HG--
extra : rebase_source : 55c92ea3f367bb11939b65ec8ea8ff95cf4bfcc2
2016-06-28 13:39:28 +02:00
Lars T Hansen
d869ef34b6 Bug 1278283 - Expose many simple operations in the MacroAssembler. r=nbp
--HG--
extra : rebase_source : 099c3f1cf33cb1f34929499bac241e741dc68f48
2016-06-28 11:32:04 +02:00
Lars T Hansen
27fb1d56c1 Bug 1282411 - Enable SDIV and UDIV by default on ARM simulator. r=jandem
--HG--
extra : rebase_source : c8f40817b8b24fdbfc7263c5cb0ce7496c1d03b4
2016-06-27 14:17:20 +02:00
Nick Fitzgerald
f910e482d6 Bug 1280064 - Address review nits; r=terrence 2016-06-28 17:30:48 -07:00
Nick Fitzgerald
f15731e01c Bug 1280107 - Use js::Mutex instead of PRLock for PerfMutex; r=terrence 2016-06-28 17:12:54 -07:00
Nick Fitzgerald
0fe63cba46 Bug 1280104 - Use js::Mutex/js::ConditionVariable instead of PRLock/PRCondVar in js::Monitor; r=terrence 2016-06-28 17:12:54 -07:00
Nick Fitzgerald
0df4a565cc Bug 1280089 - Use js::Mutex/js::LockGuard instead of PRLock/AutoSPSLock for the SPSProfiler; r=terrence 2016-06-28 17:12:54 -07:00
Nick Fitzgerald
69d0fa99e5 Bug 1280064 - Do not use PRLock in GCRuntime and PRCondVar in GCHelperState; r=terrence 2016-06-28 17:12:54 -07:00
Ted Mielczarek
82d77574ff bug 1266368 - move rust.m4 to configure. r=glandium
MozReview-Commit-ID: 9ol2nMYM0a0

--HG--
extra : rebase_source : 3f3feeac941791d081e09ebb096a3e052540a52c
2016-05-16 15:27:37 -04:00
Nathan Froyd
a0d8427979 Bug 1282096 - rationalize ARM's FloatRegisters name-accessor code; r=nbp
FloatRegisters::GetName didn't actually do anything, thanks to
type-conversion rules, so modify FloatRegisters::FromName to consider
single and double registers separately.
2016-06-28 23:32:49 -04:00
Christoph Kerschbaumer
e327196a9a Bug 1279481 - Convert mozJSComponentLoader.cpp to use channel->Open2() r=bholley 2016-06-10 14:32:09 +02:00
Nathan Froyd
fae35df0c6 Bug 1282541 - remove postfix increment on register set iterators; r=nbp
A surprising number of places use postfix increment on register set
iterators, which is theoretically less efficient due to requiring a copy
of the iterator.  A sufficiently smart compiler may be able to optimize
that copy out...but seeing postfix iterators is arguably surprising and
none of the current call sites actually need the copy.  So let's convert
all the postfix increments into prefix increments and remove the postfix
version.  That way, nobody else makes the same mistake and the code
reads more idiomatically.
2016-06-28 20:02:48 -04:00
Nicolas B. Pierron
87e616c41c Bug 1229813 - Enable branch pruning. r=jandem 2016-06-28 15:19:55 +00:00
Carsten "Tomcat" Book
78d39708c2 Merge mozilla-central to mozilla-inbound 2016-06-28 16:14:15 +02:00
Carsten "Tomcat" Book
261fe13dcd merge mozilla-inbound to mozilla-central a=merge 2016-06-28 16:09:05 +02:00
Carsten "Tomcat" Book
3949253add Backed out changeset 48e767f0a73f (bug 1248163) for SM-Tc failures
--HG--
extra : rebase_source : eb3c0c8047451d7eb3e2ad224e6321923e22fa71
2016-06-28 15:36:52 +02:00
Sander Mathijs van Veen
091336138a Bug 1248163 - Inline typed array constructors r=jandem r=Waldo
--HG--
extra : rebase_source : 7cdd013ce65bb30ccc97ae4f16cb0925ec8118a0
2016-06-28 04:28:00 +02:00
Andi-Bogdan Postelnicu
f3b006269c Bug 1282408 - initialize ret_ in FunctionValidator constructor. r=jdemooij
MozReview-Commit-ID: GpIcq2CNa8N
2016-06-28 15:46:52 +03:00
Wes Kocher
c73d13f1bb Merge m-c to fx-team, a=merge 2016-06-27 14:09:55 -07:00
Andrew McCreight
bb3afa86eb Bug 1154923 - Add a version of assertSameCompartment that works in all versions. r=terrence
Use it in initFromOptions and finishParseTask.
2016-06-27 16:06:30 +02:00
Thomas Nguyen
ffba687a20 Bug 1025965 - Rename browser.safebrowsing.enabled to browser.safebrowsing.phishing.enabled. r=francios
MozReview-Commit-ID: 3TMs6MPtWsC
2016-05-09 14:44:08 +08:00
Morgan Phillips
6373bc5bf6 Bug 1280892 - Return false after reporting IsNotFunction; r=evilpie
--HG--
extra : rebase_source : 6f37441b74fe42f2e4c5d6a5122bc47cf676f715
2016-06-24 21:38:16 +01:00
Jan de Mooij
703e02d24b Bug 1281529 followup - Don't call mallocSizeOf on a base class pointer. r=orange
--HG--
extra : rebase_source : c68fcc303356fbe1c7c10d9b5287a68bc251f6ef
2016-06-25 20:04:31 +02:00
Tooru Fujisawa
e6c1038d4c Bug 1281739 - Do not match K, S, k, s, KELVIN SIGN, LATIN SMALL LETTER LONG S with \W in unicode ignoreCase RegExp. r=till 2016-06-26 00:50:43 +09:00
Jan de Mooij
2f452e7f1a Bug 1281529 part 1 - Make JSContext inherit from JSRuntime. r=luke 2016-06-24 14:16:47 +02:00