Граф коммитов

55799 Коммитов

Автор SHA1 Сообщение Дата
Luke Wagner 5c84f14466 Bug 1284056 - Baldr: initialize CompileArgs::alwaysBaseline (r=bbouvier)
MozReview-Commit-ID: Ehup1qxmBLI

--HG--
extra : rebase_source : 7d42490023e875060924e262f3115339f7d4d491
2016-07-06 09:14:28 -05:00
Nicolas B. Pierron 9986326465 Bug 1282810 - Register instruction information before encoding snapshots. r=h4writer 2016-07-06 14:04:23 +00:00
Nicolas B. Pierron 25af35a5de Bug 1284491 - Duplicate operator new, to carry the fallible/infallible state of the allocator. r=jandem 2016-07-06 14:04:23 +00:00
Luke Wagner f0ec009777 Bug 1284056 - Baldr: remove cx from wasm::Compile (r=bbouvier)
MozReview-Commit-ID: 5r4TGkWZdxc

--HG--
extra : rebase_source : 1e704b12ad3b15cf0e4088424af581c7583869e6
2016-07-06 08:44:21 -05:00
Luke Wagner 56b8c3504b Bug 1284056 - Baldr: remove cx_ from ModuleGenerator (r=bbouvier)
MozReview-Commit-ID: 9UeeVdogeAR

--HG--
extra : rebase_source : 385da837be7ab2450c1b58b09b6b6cc9480cee2b
2016-07-06 08:36:23 -05:00
Luke Wagner 0ca10d8c16 Bug 1284056 - Baldr: simplify the parallel compilation guard (r=bbouvier)
MozReview-Commit-ID: Bske3m8PqdT

--HG--
extra : rebase_source : dff7b7e4b88f6a4fd6edd6cf5a8bac6c8eaf7f66
2016-07-06 08:36:23 -05:00
Luke Wagner 4ae72389d7 Bug 1284056 - Baldr: create totally empty JitContext in ModuleGenerator (r=jandem)
MozReview-Commit-ID: BpLVPEvM8aV

--HG--
extra : rebase_source : ae15dbf48c3d4315886c0f6c8546c5797d11afb4
2016-07-06 08:36:23 -05:00
Luke Wagner 6522755b9c Bug 1284056 - Baldr: don't set CompileRuntime (r=jandem)
MozReview-Commit-ID: Ln05e5xyRNf

--HG--
extra : rebase_source : cd748996f52fb51762e69c2e5598ab1b4346a572
2016-07-06 08:36:23 -05:00
Luke Wagner 187268b192 Bug 1284056 - Baldr: rename MachineId to Assumptions (r=bbouvier)
MozReview-Commit-ID: Fo7QeGYo8sI

--HG--
extra : rebase_source : d189e1e5108ed6e49010919395a5df7180d01a1f
2016-07-06 08:36:23 -05:00
Luke Wagner 0c68d72e21 Bug 1284056 - Baldr: rename CompileArgs to UseSignal (r=bbouvier)
MozReview-Commit-ID: 8H6jCv8QfCw

--HG--
extra : rebase_source : c49a9de4bc4be5897d1e3aa4ca0554ddb55bf736
2016-07-06 08:36:22 -05:00
Benjamin Bouvier fbafcaca4a Bug 1268024: Unrelated changes in the ARM backend; r=luke
MozReview-Commit-ID: Cpw02pgMQ7K

--HG--
extra : rebase_source : 970365392073390f1e5d082ee3a53ea4ae83d25d
extra : histedit_source : eadef96b0aaca3b17e6bdba40fe4857fd6137007
2016-07-05 16:02:35 +02:00
Benjamin Bouvier b1470f9537 Bug 1268024: Add an unaligned access trap; r=luke
MozReview-Commit-ID: HvAF3lvlfw3

--HG--
extra : rebase_source : 4c326dd9af59cc0df9e1351786c3d3739fa27e0f
extra : histedit_source : 2e530129632340c6c1f1f465668aecc12c559abf
2016-06-30 14:42:09 +02:00
Benjamin Bouvier 25b54cb93b Bug 1268024: Don't allow the memory's max size to be lower than the initial size; r=luke
MozReview-Commit-ID: 5Td4cIDhqJ9

--HG--
extra : rebase_source : a138fec1576c8ad3905a7901c8d624822e871652
2016-06-30 14:41:20 +02:00
Jan de Mooij 96da4695c8 Bug 1283855 part 25 - Make JS_GC take JSContext instead of JSRuntime. r=terrence 2016-07-06 11:40:20 +02:00
Jan de Mooij cd41339786 Bug 1283855 part 24 - Make js::DumpHeap take JSContext instead of JSRuntime. r=sfink 2016-07-06 11:40:20 +02:00
Jan de Mooij 28662f4214 Bug 1283855 part 23 - Make more callback setters take JSContext instead of JSRuntime. r=evilpie 2016-07-06 11:40:20 +02:00
Jan de Mooij 79865aba2a Bug 1283855 part 17 - Make {Get,Set}DebuggerMallocSizeOf take JSContext instead of JSRuntime. r=jimb 2016-07-06 11:40:20 +02:00
Jan de Mooij c1ed92b71b Bug 1283855 part 3 - Make some callback setters take JSContext instead of JSRuntime. r=efaust 2016-07-06 11:40:20 +02:00
Jon Coppeard df019b3519 Bug 1282502 - Report an error if there are too many block scoped bindings r=shu a=abillings 2016-07-06 10:17:19 +01:00
Jeff Walden 1348666268 Bug 1284634 - Introduce ShapedObject as a base class containing a shape field, for subclassing by NativeObject and ProxyObject. r=efaust 2016-07-05 18:22:30 -07:00
Luke Wagner b409bb8f83 Bug 1284349 - rm confusing assignment from NewObjectWithClassProtoCommon (r=jorendorff)
MozReview-Commit-ID: KSopRhEPSbI
2016-07-05 17:51:29 -05:00
Bill McCloskey c952246316 Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap) 2016-07-05 13:59:36 -07:00
Sebastian Hengst a3da7f8985 Backed out changeset 37f1b9d6f522 (bug 1271650) for leaking debugger tests. r=backout 2016-07-05 17:13:58 +02:00
Sebastian Hengst c3cbe74792 Backed out changeset 14212ea063c6 (bug 1271650) 2016-07-05 17:13:57 +02:00
Sebastian Hengst 8228c7d140 Backed out changeset b93deff3205a (bug 1271650) 2016-07-05 17:13:57 +02:00
Sebastian Hengst bdd16e22ae Backed out changeset 8698c60d265d (bug 1271650) 2016-07-05 17:13:57 +02:00
Sebastian Hengst 29afa379ce Backed out changeset 359a15f3afea (bug 1271650) 2016-07-05 17:13:56 +02:00
Jan de Mooij 95d24f32ab Bug 1283855 part 22 - Make GetErrorTypeName take JSContext instead of JSRuntime. r=arai
--HG--
extra : rebase_source : b8fee2c303140257fdae29ea709a94a99fc6739d
2016-07-05 16:49:48 +02:00
Jan de Mooij e4ae5f26da Bug 1283855 part 20 - Make more principals code take JSContext instead of JSRuntime. r=luke
--HG--
extra : rebase_source : ad5f2f5b5bef9d20e4e248898a3c754adb306683
2016-07-05 16:49:46 +02:00
Jan de Mooij 078a91ca56 Bug 1283855 part 19 - Make security callbacks take JSContext instead of JSRuntime. r=jorendorff
--HG--
extra : rebase_source : c106826540912b00550b2d6162dcae6e1fb616d4
2016-07-05 16:49:44 +02:00
Jan de Mooij 6c5b8f4c2e Bug 1283855 part 18 - Make JS_DropPrincipals take JSContext instead of JSRuntime. r=luke
--HG--
extra : rebase_source : 6f86a455c5ae2e0b306916a7121708a537a6105b
2016-07-05 16:49:41 +02:00
Jan de Mooij ebc4aaed13 Bug 1283855 part 16 - Make source hook functions take JSContext instead of JSRuntime. r=mrrrgn
--HG--
extra : rebase_source : 8311b02e6facb3d3b08ead519c06dd8d3319ad0f
2016-07-05 16:49:39 +02:00
Nicolas B. Pierron 5c9800f1b8 Bug 1264948 part 2 - Assert when we allocate new chunks using an infallible allocator. r=jonco,h4writer 2016-07-05 13:38:18 +00:00
Eddy Bruel 3de3fdc276 Bug 1271650 - Implement a C++ interface for DebuggerFrame.isGenerator;r=fitzgen 2016-07-05 15:06:10 +02:00
Eddy Bruel 435abc579f Bug 1271650 - Implement a C++ interface for DebuggerFrame.getEnvironment;r=fitzgen 2016-07-05 15:06:10 +02:00
Eddy Bruel 35c890aacd Bug 1271650 - Implement a C++ interface for DebuggerFrame.getIsConstructing;r=fitzgen 2016-07-05 15:06:10 +02:00
Eddy Bruel b7c448001c Bug 1271650 - Implement a C++ interface for DebuggerFrame.getCallee;r=fitzgen 2016-07-05 15:06:10 +02:00
Eddy Bruel 4f99b0d819 Bug 1271650 - Implement a DebuggerFrame class;r=fitzgen 2016-07-05 15:06:10 +02:00
Jan de Mooij 4ca08a4466 Bug 1283855 part 15 - Make {Get,Set}DOMCallbacks, SetWindowProxyClass take JSContext instead of JSRuntime. r=h4writer 2016-07-05 14:35:28 +02:00
Jan de Mooij fb15cb143c Bug 1283855 part 14 - Make more callback setters take JSContext instead of JSRuntime. r=shu 2016-07-05 14:35:26 +02:00
Jan de Mooij 3e6263744c Bug 1283855 part 13 - Make JS_SetNativeStackQuota take JSContext instead of JSRuntime. r=fitzgen 2016-07-05 14:35:23 +02:00
Jan de Mooij c8334f438a Bug 1283855 part 12 - Make some GC APIs take JSContext instead of JSRuntime. r=sfink 2016-07-05 14:35:21 +02:00
Jan de Mooij 4ba1239131 Bug 1283855 part 11 - Make some GC callback APIs take JSContext instead of JSRuntime. r=terrence,mccr8 2016-07-05 14:35:19 +02:00
Jan de Mooij 185fef3784 Bug 1283855 part 10 - Make some GC callback APIs take JSContext instead of JSRuntime. r=jonco 2016-07-05 14:35:16 +02:00
Jon Coppeard 82ee97156b Bug 1283448 - Freeze module objects before they are passed back to the caller r=shu 2016-07-05 11:31:28 +01:00
Jan de Mooij b6c8bdd67a Bug 1283855 part 9 - Make asm.js/buildId op setters take JSContext instead of JSRuntime. r=bbouvier 2016-07-05 11:06:06 +02:00
Jan de Mooij 539f2c4a46 Bug 1283855 part 8 - Make JIT compiler option APIs take JSContext instead of JSRuntime. r=nbp 2016-07-05 11:06:06 +02:00
Jan de Mooij 3ffa1fd00d Bug 1283855 part 7 - Make JS_SetGCZeal take JSContext instead of JSRuntime. r=sfink 2016-07-05 11:06:05 +02:00
Jan de Mooij acb65dff35 Bug 1283855 part 6 - Make JS_AbortIfWrongThread take JSContext instead of JSRuntime. r=terrence 2016-07-05 11:06:05 +02:00
Jan de Mooij 31f7512e9f Bug 1283855 part 5 - Make warning reporter APIs take JSContext instead of JSRuntime. r=arai 2016-07-05 11:06:05 +02:00
Jan de Mooij 7c1a1cec44 Bug 1283855 part 2 - Make some callback setters take JSContext instead of JSRuntime. r=luke 2016-07-05 11:06:05 +02:00
Jan de Mooij d39ad7fb2d Bug 1283855 part 1 - Make JS_GetEmptyString take JSContext instead of JSRuntime. r=jorendorff 2016-07-05 11:06:05 +02:00
Jan de Mooij e958b220ee Bug 1283169 - Finish incremental GC before cancelling off-threaad parse tasks. r=jonco 2016-07-04 19:44:26 +02:00
Luke Wagner 53dcd7ec57 Bug 1276029 - Baldr: remove unnecessary 'cx' arg from deserialize path (r=bbouvier)
MozReview-Commit-ID: Asar5yECXGl

--HG--
extra : rebase_source : 584ca9a83ec11c304c586f27f97e5455ddb74256
2016-07-04 12:20:19 -05:00
Luke Wagner 2752915fff Bug 911216 - avoid debug-only null deref on alloc failure (r=till)
MozReview-Commit-ID: GSbx344Jzys
2016-07-04 10:19:54 -05:00
Heiher 30f2572606 Bug 1280843 - IonMonkey: MIPS: Fix ma_b(Register, T, JumpTarget) for Wasm. r=nbp
---
 js/src/jit/mips32/Assembler-mips32.cpp | 56 +++++++++++++++++++++++++------
 js/src/jit/mips64/Assembler-mips64.cpp | 60 ++++++++++++++++++++++++++++------
 2 files changed, 96 insertions(+), 20 deletions(-)
2016-07-04 22:11:31 +08:00
Nicolas B. Pierron cfeab082c9 Bug 1264948 - Check for OOM when linking all break keywords of switch statements. r=h4writer 2016-07-04 13:56:32 +00:00
Lars T Hansen 4448c8aa42 Bug 1277008 - Clean up scratch register management. r=luke
--HG--
extra : rebase_source : 80915685fff7407607399970a69957fe2ae5828c
2016-07-04 09:05:12 +02:00
Lars T Hansen 39c398c397 Bug 1280927 - skip unreachable code. r=luke
--HG--
extra : rebase_source : 73bb3c9fefa676524277e1096749d75c8f628061
extra : intermediate-source : 1e3aadc65e698b2fd3bf633475c1c816e99b8765
extra : source : 8df76558d4faddfd5b20e9ee34dc6ecfdf98d73d
2016-06-21 20:50:41 +02:00
Hannes Verschore 43496a1a66 Bug 1282743 - TraceLogging: Make sure there is a payload when baking in an event, r=bbouvier 2016-07-04 10:30:10 +02:00
Jan de Mooij ee873aee5f Bug 1281275 - Fix a TSan data race in TraceLogger enabledTextIds. r=h4writer 2016-07-04 09:50:51 +02:00
Jan de Mooij ec23188f2b Bug 1266470 - Fix a TSan data race on JSFunction flags. r=efaust 2016-07-04 09:49:25 +02:00
Sander Mathijs van Veen 8988e365a7 Bug 1248163 - Inline typed array constructors r=jandem r=Waldo 2016-07-03 08:24:00 +02:00
Tooru Fujisawa 0b013eba34 Bug 897634 - Add more testcase for Math.expm1. r=jorendorff 2016-07-04 02:32:11 +09:00
Luke Wagner 008be81639 Bug 1277247 - remove some move member definitions that can be implicitly generated (r=bbouvier)
MozReview-Commit-ID: CTwveGZTf8V

--HG--
extra : rebase_source : 1b76ff446d4055efd019f2f5699dcc795a322aa5
2016-07-02 23:47:56 -05:00
Jan de Mooij d051fdf152 Bug 1281529 part 9 - Move JSRuntime caches into a new ContextCaches class. r=jorendorff
--HG--
rename : js/src/vm/Runtime-inl.h => js/src/vm/Caches-inl.h
2016-07-02 13:45:10 +02:00
Till Schneidereit 14a62c9039 Bug 911216 - Part 27: Properly set up incumbent and current globals for Promise reaction jobs. r=efaust,bz 2016-07-02 02:00:47 +02:00
Till Schneidereit 1eabe5f054 Bug 911216 - Part 26: Fix includes in testPromise.cpp jsapi-test. r=me 2016-07-02 02:00:47 +02:00
Till Schneidereit 30520431d0 Bug 911216 - Part 25: Fix Promise accessors on Debugger.Object.prototype. r=ejpbruel 2016-07-02 02:00:47 +02:00
Luke Wagner cf6522b9fa Bug 1276028 - Baldr: add WebAssembly.(Module, Instance) (r=bbouvier)
MozReview-Commit-ID: Lg8aq6BLnZ2
2016-07-01 12:48:56 -05:00
Sebastian Hengst 8fc2ffd5f8 Backed out changeset a36da0eea7af (bug 1277008) for warning as error in WasmBaselineCompile.cpp on OSX. r=backout on a CLOSED TREE 2016-07-01 18:54:30 +02:00
Jan de Mooij ba11203edd Bug 1281529 part 7 - Simplify GenerateJitExit a bit by using the context instead of the runtime. r=luke 2016-07-01 18:44:02 +02:00
Lars T Hansen ff1a49260f Bug 1277008 - Clean up scratch register management. r=luke
--HG--
extra : source : b1ba209d7e261dffc4526f74cc681a6d93b8b188
extra : amend_source : 921b3dccc3052eb356f45fb310e22d611887c3dd
extra : intermediate-source : 2c5a3eed84fe9e15593e1c29ff5dbeae3b566f81
2016-06-26 14:35:01 +02:00
Benjamin Bouvier 275ea9c5c7 Bug 1268024: Unrelated changes; r=luke
MozReview-Commit-ID: E5NmH0fmpm7

--HG--
extra : rebase_source : 2ec84c8cbe29bc6e94bb54a6d913d9e36dc6c3d2
2016-06-29 17:58:23 +02:00
Benjamin Bouvier 1539666ef1 Bug 1268024: Rename MAsmJSHeapAccess to MWasmMemoryAccess; r=luke
MozReview-Commit-ID: 1N1UlhhkFSu

--HG--
extra : rebase_source : 06a02edf8ff1536e52a093f7604f5ba3a73920e3
2016-06-17 17:19:42 +02:00
Benjamin Bouvier e804377707 Bug 1268024: Fix the use of -g for wasm test cases; r=lth
MozReview-Commit-ID: H3xdFapHnXg

--HG--
extra : rebase_source : 516406c5507dbeda17c429e62cf64d0a1e772066
2016-06-20 18:03:23 +02:00
Carsten "Tomcat" Book 374f7fa2b8 Backed out changeset 95006e936e44 (bug 1271650) for bustage 2016-07-01 13:00:59 +02:00
Eddy Bruel d78d746c6d Bug 1271650 - Implement a DebuggerFrame class;r=fitzgen 2016-07-01 12:48:16 +02:00
Jon Coppeard 79fb7a7224 Bug 1282986 - Disallow creation of workers while running simulated OOM tests r=terrence 2016-07-01 09:37:37 +01:00
Phil Ringnalda ef87dff4e9 Back out 14928a6b38f3 (bug 1214824) for leaking an nsStringBuffer in debug e10s devtools 2016-06-30 21:12:11 -07:00
Bill McCloskey 3f712641d1 Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap) 2016-06-30 17:38:54 -07:00
Benjamin Dahse 2400e065d1 Bug 988831 - support memory mapped files in Windows. r=ehoogeveen
--HG--
extra : rebase_source : faf8d37b0d4d517b8a859b3fa57f8cd7f914de8f
2016-06-30 14:32:13 +02:00
Terrence Cole a0867f7269 Bug 1283256 - Make GC stats per GCCycle; r=jonco
--HG--
extra : rebase_source : c8589e74b23e634e05f8921af5bbafc4d5b9751d
2016-06-28 12:29:39 -07:00
Nick Fitzgerald 08e44f904f Bug 1283308 - Use js::Mutex instead of PRLock for the js shell's `sharedArrayBufferMailboxLock`; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald 176ee351b9 Bug 1283301 - Use js::Mutex instead of PRLock for the js shell's `workerThreadsLock`; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald 2148cb0562 Bug 1283289 - Use js::Mutex instead of PRLock in js/src/jit/mips64/Simulator-mips64.{h,cpp}; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald 411c5a6258 Bug 1283287 - Use js::Mutex instead of PRLock in js/src/jit/mips32/Simulator-mips32.{h,cpp}; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald 102dda7dfd Bug 1283284 - Use js::Mutex instead of PRLock in js/src/jit/arm64/vixl/{Simulator-vixl.h,MozSimulator-vixl.cpp}; r=terrence 2016-06-30 13:13:31 -07:00
Nick Fitzgerald bc42951b33 Bug 1283278 - Use js::Mutex instead of PRLock in js/src/jit/arm/Simulator-arm.{h,cpp}; r=terrence 2016-06-30 13:13:30 -07:00
Nick Fitzgerald f21f1d6466 Bug 1283272 - Fix comment referring to bool return value, when actual return value is void; r=terrence 2016-06-30 13:13:30 -07:00
Nick Fitzgerald b1463b83ef Bug 1283245 - Use js::Mutex and js::ConditionVariable instead of PRLock and PRCondVar in HelperThreads; r=terrence 2016-06-30 13:13:30 -07:00
Nick Fitzgerald 768f4986eb Bug 1283229 - Thread `AutoLockHelperThreadState&` parameters through various `HelperThread`-related functions; r=terrence
This is a pre-requisite for moving the `HelperThread` infrastructure over from
using `PRLock` and `PRCondVar` to using `js::Mutex` and `js::ConditionVariable`.
Its needed because waiting on a `js::ConditionVariable` takes the `LockGuard`
for the condvar's mutex as a parameter, so we need to have that accessible. When
we do the conversion, `AutoLockHelperThreadState` will become derived from
`LockGuard` and specialized for the helper thread state lock, and so the guard
will therefore be accessible.
2016-06-30 13:13:30 -07:00
Eric Faust e8e165c048 No Bug - Added test for new.target in argument defautls. (rs=jorendorff) 2016-06-30 12:54:25 -07:00
Andi-Bogdan Postelnicu c17a37cf7f Bug 1282408 - add ignore initialization check flag for variables from InternalLink. r=jdemooij
MozReview-Commit-ID: 40yR3oLZhkH
2016-06-30 10:40:51 +03:00
Jan de Mooij 30a995d188 Bug 1281529 part 5 - Get rid of rt->jitJSContext. r=bbouvier
--HG--
extra : rebase_source : ffc8d9a14de77c014d21dcc8ed4db9ae619c3365
2016-06-30 09:16:58 +02:00
Jan de Mooij 0de54413a9 Bug 1281529 part 3 - Use static_cast instead of rt->context_. r=jwalden
--HG--
extra : rebase_source : 6c5804bccd61554ba5f4f072a78bc6eaaefac7b1
2016-06-30 09:13:11 +02:00
Jan de Mooij a7c0c2b5df Bug 1281253 - Clean up MNewCallObject a bit and fix a TSan race. r=bhackett 2016-06-30 08:33:55 +02:00
Jan de Mooij 8806e32742 Bug 1281385 - Cache the needsCallObject bit in CompileInfo to fix a TSan race. r=nbp 2016-06-30 08:32:39 +02:00
Carsten "Tomcat" Book 3213a7983d Backed out changeset c34ec3e0884c (bug 1248163) for hazard failures
--HG--
extra : rebase_source : 9ef8cd7b6248533e552c3b149257ffafbc0a29ca
2016-06-30 07:20:30 +02:00
Xidorn Quan 4cbe3b8fd3 Bug 1279991 - Use [Func=] for EventTarget.mozSystemGroup. r=peterv
MozReview-Commit-ID: B5pMVCUuss9

--HG--
extra : transplant_source : %F7%8A4%2B%B5d_%D8%3AR%19%C4%21%D7%D6%8C%AE%82%FE%1B
2016-06-20 15:49:11 +10:00
Sander Mathijs van Veen 3e62d3402c Bug 1248163 - Inline typed array constructors r=jandem r=Waldo
--HG--
extra : rebase_source : 698d78cdf0f28ea66e5616e630321dca87080d62
2016-06-28 07:08:00 +02:00
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
Terrence Cole 1fe18b25cf Bug 1232686 - Use decltype to infer Variant::match return type; r=fitzgen
--HG--
extra : rebase_source : 38f280cc3014b2285a79e377f1fa8edf4c5f4661
2015-12-15 07:45:22 -08: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
Sankha Narayan Guria 726d679bb7 Bug 1199695 - Mark computed property names as effectful in BCE. r=jwalden
--HG--
extra : rebase_source : 20e4d4bdd44fd2425cd73d0b08d1ba596b134e9f
2016-06-25 11:53:19 +02:00
Jan de Mooij beb31362e7 Bug 1281529 part 8 - Use cx->updateMallocCounter in a few places. r=terrence 2016-06-28 11:58:32 +02:00
Jan de Mooij 2de828c112 Bug 1281529 part 6 - Remove some now-unnecessary activation->cx() uses. r=h4writer 2016-06-28 11:57:55 +02:00
Jan de Mooij b65490b7da Bug 1281529 part 4 - Remove JSContext overloads of some functions that are no longer necessary. r=jonco 2016-06-28 11:57:15 +02:00
Jan de Mooij 3bd7eaa33a Bug 1282113 - When we're shutting down the runtime, only allow shutdown GCs. r=terrence 2016-06-28 11:56:08 +02:00
Jon Coppeard 478ff0d6a2 Bug 1282072 - Refactor and comment free list assertion in js::CheckTracedThing r=terrence 2016-06-27 10:30:15 +01:00
Heiher c66e207696 Bug 1272939 - IonMonkey: MIPS: Refactor MacroAssembler::convertFloat32/DoubleToInt32. r=arai
---
 js/src/jit/mips32/MacroAssembler-mips32.cpp | 34 ++++++++++-------------------
 js/src/jit/mips64/MacroAssembler-mips64.cpp | 33 ++++++++++------------------
 2 files changed, 23 insertions(+), 44 deletions(-)
2016-06-27 16:39:57 +08:00
Jan de Mooij 1932a3f2e3 Bug 1281529 part 2 - Make cx->runtime() return |this|. r=jorendorff 2016-06-27 08:51:46 +02:00
Jeff Walden 7db42bdfbd Bug 1280362 - Move Permutations into ecma_6/shell.js, out of the central shell.js. r=arai
--HG--
extra : rebase_source : 143ecc2967e4fc9b1e89b2a300c989c5ebda9e75
2016-04-25 15:09:40 -07:00
Jeff Walden c4fba4d22c Bug 1280362 - Remove the dead getFailedCases shell.js function. r=arai
--HG--
extra : rebase_source : 05c85aa63e91ef94f7f9509a39235c3fbce9960a
2016-04-25 15:09:39 -07:00
Jeff Walden 0a51e20dd0 Bug 1280362 - Make jsref.js non-special as far as harnesses are concerned, and remove all jsref.js files as unused. r=arai
--HG--
extra : rebase_source : 8b1ac000914dffd68b06e93e26381ddf982a8ed7
2016-04-23 17:51:16 -07:00
Jeff Walden 9b058efa3a Bug 1280362 - Remove BigO from shell.js, and remove the one (disabled) test that used it. r=arai
--HG--
extra : rebase_source : b480cf2cfe827990e121d451303268b20f8f757a
2016-04-23 17:51:16 -07:00
Jeff Walden b20273ce98 Bug 1280362 - Move assertEqArray into shell.js's IIFE, and delete a duplicate of it elsewhere. r=arai
--HG--
extra : rebase_source : d6dadef576fc4efd172dd064feae819369faa8ad
2016-04-23 17:51:16 -07:00
Jeff Walden 20e833d4ed Bug 1280362 - Move callstack-recording functionality into shell.js's IIFE. r=arai
--HG--
extra : rebase_source : c633412fef444c4d35904e69620f264f86c72429
2016-04-23 17:51:16 -07:00
Jan de Mooij 307d2b9f11 Bug 1281450 - Speed up wrapping of the receiver object in CrossCompartmentWrapper::{get, set}. r=efaust 2016-06-28 08:09:51 +02:00
Makoto Kato 0949d1c7d0 Bug 1220525 - Add -Zc:inline for MSVC build. r=ted
-Zc:inliune introduces VS2013 update 2 to reduce build time.

https://blogs.msdn.microsoft.com/vcblog/2014/11/12/speeding-up-the-incremental-developer-build-scenario/

On my workstation (i7-3770, 4 cores 8 threads), the build time by clean build (--enable-optimize and --disable-debug) is the following.

With    -Zc:inline ... 39m44s
Without -Zc:inlune ... 43m52s

So we should use this option to improve build time.

MozReview-Commit-ID: GHUdgXBBYei

--HG--
extra : rebase_source : 7972e50b188681a09e087a00f023fe5202271ba2
extra : histedit_source : 16f33b48e688ca6f275d8105438abd2b450b4aa7
2016-06-07 19:55:26 +09:00
Eric Faust 193d42f134 Bug 1268526 - Don't observe half-initalized frames from the debugger. (r=shu) 2016-06-27 15:21:13 -07:00
Eric Faust f45a2ae8f5 Bug 1270331 - Pass JS_IS_CONSTRUCTING as |this| to constructing functions from bytecode. (r=Waldo, r=jandem) 2016-06-27 15:21:13 -07:00
Eric Faust 2739ec5b28 Bug 1272908 - Fix OOM in DebugScopes::onPopCall(). (r=shu) 2016-06-27 15:21:13 -07:00
Eric Faust 2b50544bd9 Bug 1272835 - Fix intermittent timeout. (r=shu) 2016-06-27 15:21:13 -07:00
Eric Faust e1d8fffffe Bug 1202665 - Recognize "contructor"() methods as class constructors. (r=Waldo) 2016-06-27 15:21:13 -07:00
Eric Faust 55f5ad6b2a Bug 1280042 - Fix .constructor.name for instances of subclasses with default constructors. (r=Waldo) 2016-06-27 15:21:13 -07:00
Jeff Walden 3100954f84 Bug 1280362 - Remove jit() fully from shell.js/browser.js. r=arai
--HG--
extra : rebase_source : 272c72b7b7cf6d7fa831f1f9e665cf6d609dc14c
2016-04-23 17:51:15 -07:00
Jeff Walden baa2446b74 Bug 1280362 - Manually remove the remaining jit() call oddballs. r=arai
--HG--
extra : rebase_source : 6db6c39e41e25a70a729c909179692c0d16437eb
2016-04-23 17:51:15 -07:00
Jeff Walden b3a7935fdc Bug 1280362 - Remove a gazillion useless jit(true) and jit(false) calls from jstests. r=arai
The one-liner used to perform these changes (in js/src/tests) was:

  find . -name '*.js' | xargs perl -ni -e 'print unless /^\s*jit'\\'(''(true|false)'\\');\s*$/'

--HG--
extra : rebase_source : 4b4ffb30a3efaede311a58a6af85806e875e8eea
2016-04-23 17:51:15 -07:00
Jeff Walden 520c357e28 Bug 1280362 - Move assertThrowsInstanceOf into shell.js's IIFE. r=arai
--HG--
extra : rebase_source : 658e8d233b5f387598b10d8228f5aef3699df58c
2016-04-23 17:51:15 -07:00
Jeff Walden 73045413bb Bug 1280362 - Move DocumentWrite into browser.js's IIFE. r=arai
--HG--
extra : rebase_source : b7671282b55ec7deae78f4ecd1daeeea37a1c40a
2016-04-23 17:51:14 -07:00
Jeff Walden 1b915490b5 Bug 1280362 - Move newGlobal's browser polyfill into shell.js, as the first step of unifying shell.js/browser.js. r=arai
--HG--
extra : rebase_source : 7e26155a9d83ed7d9f99b823c86e9697bb5e018b
2016-04-23 17:51:14 -07:00
Jeff Walden c9ee252d2b Bug 1280362 - Begin to make jstests' shell.js/browser.js less dependent on tests being well-behaved, and make exporting functionality a more deliberate choice. r=arai
--HG--
extra : rebase_source : 457f7464bc3cb57d8d917aa00fcfd0f9a0cc656d
2016-04-23 17:51:14 -07:00
Boris Zbarsky 759bad9a0b Bug 767938 part 11. Move the "safe JS context" to where it belongs: the CycleCollectedJSRuntime. r=bholley 2016-06-24 14:19:51 -04:00
Boris Zbarsky 9b1f1daa04 Bug 767938 part 10. Remove the now write-only XPCJSContextStack's actual stack of JSContexts and AutoCxPusher. r=bholley 2016-06-24 14:19:51 -04:00
Boris Zbarsky 3fd6b57c2b Bug 767938 part 8. Remove the no-longer-really-needed Debug_SetActiveJSContext. r=bholley 2016-06-24 14:19:51 -04:00
Boris Zbarsky ad60b5c087 Bug 767938 part 7. Remove the now-debug-only uses of XPCJSContextStack::Peek and Count(). r=bholley 2016-06-24 14:19:50 -04:00
Boris Zbarsky 16f83caaad Bug 767938 part 6. Get rid of XPConnect's GetCurrentJSContext getter. r=bholley 2016-06-24 14:19:50 -04:00
Boris Zbarsky 53a1c93f93 Bug 767938 part 4. Put an AutoNoJSAPI on the stack while running events off the event loop. r=bholley,khuey 2016-06-24 14:19:50 -04:00
Boris Zbarsky a436637236 Bug 1281582. Remove JSContext privates. r=jorendorff 2016-06-24 14:19:50 -04:00
Nathan Froyd 6368c03101 Bug 1278868 - add MOZ_FALLTHROUGH in arm jit code; r=jandem
This macro is a little clearer than comments and also avoids warnings
when compiling with clang.
2016-06-24 22:03:25 -04:00
Nathan Froyd 838be70fa9 Bug 1278861 - adjust ifdefs in Conversions.h:ToInt32 to catch clang-on-arm-generally; r=luke
The bug noted in ToInt32 doesn't just exist when compiling for
arm-darwin; it exists for ARM targets generally.  The ifdef should
reflect that.
2016-06-24 22:03:25 -04:00
Lars T Hansen a84a899eb5 Bug 1280933 - disable test on 32-bit platforms. r=me
--HG--
extra : rebase_source : e00473d12a7d4dacabe2cc0046c36ec1027ec1c1
2016-06-24 15:18:41 +02:00
Jan de Mooij d167b80c35 Backed out changeset 273b186d22ca for making the rooting analysis unhappy 2016-06-24 15:16:54 +02:00
Jon Coppeard ed36716a73 Bug 1281472 - Fix data races in marking assertions when called as part of compacting GC r=terrence 2016-06-24 13:51:40 +01:00
Jon Coppeard 381f54ad7b Bug 1261083 - Update base shapes in a separate phase at the start of compacting GC r=terrence 2016-06-24 13:50:09 +01:00
Jan de Mooij 0dea76ff67 Bug 1281529 part 1 - Make JSContext inherit from JSRuntime. r=luke 2016-06-24 14:16:47 +02:00
Lars T Hansen e5276c42ac Bug 1281131 - make sure to reserve enough stack space for the worst case. r=bbouvier
--HG--
extra : rebase_source : 9627f6ba5180087fea47cff63903a88ba885deda
extra : histedit_source : 94f314342cbca80e44d681459310b3279e83f3af%2Cc3f3818cb803ddae05aba7fd144cdc9f0be1b5a5
2016-06-24 14:01:02 +02:00
Lars T Hansen 13dab670e2 Bug 1280921 - select must handle AnyType. r=bbouvier
--HG--
extra : rebase_source : 71d62d13c1b22c00483d9615cd5385c4d2a9674c
extra : histedit_source : 5c813dc05bda607267a19868edeed84b31803490
2016-06-24 13:52:03 +02:00
Lars T Hansen 381bbf5b50 Bug 1280930 - pushJoinReg must push void values, not ignore them. r=bbouvier
--HG--
extra : rebase_source : 4bb6d9ef25d4593d447a76ecf2eddc7cc62ae146
extra : histedit_source : 76c65549c44d63e2d589dd1138f8e77c1ad263df
2016-06-21 09:40:16 +02:00
Lars T Hansen feecf0e840 Bug 1280926 - constrain immediate shift counts. r=bbouvier
--HG--
extra : rebase_source : 5679adc4bf78aee8b684bbfee4af4d6f5c38bd3c
extra : histedit_source : dc964795e3bf8b67de5405a81a04de3b55dd65a2
2016-06-24 13:36:31 +02:00
Lars T Hansen 826683447e Bug 1280934 - make sure to bind prolog and return labels in epilog even if aborting the compilation. r=bbouvier
--HG--
extra : rebase_source : 6c407e98a2b4b20416884cc253d0ef6f231fe067
extra : histedit_source : 42c5c2678b44f5213e9b5841feabd81c25b6402b
2016-06-22 11:22:03 +02:00
Lars T Hansen f5946c2a85 Bug 1280933 - reserve join reg at control flow for i64 results. r=bbouvier
--HG--
extra : rebase_source : 56bd3f4f1722ff4e5ab1eb5dced931a7d673ed87
extra : histedit_source : 8451ac22867ec8022ae9691cd51735044cb836d8
2016-06-24 13:28:38 +02:00
Boris Zbarsky 4eb82c0b30 Bug 1281071. Be a bit more careful with our cross-origin-accessible stuff on windows. r=bholley 2016-06-23 19:39:53 -04:00
Benjamin Bouvier 45154cf6e9 Bug 1279529: Remove the --no-fpu option from the shell; r=jandem
MozReview-Commit-ID: KHnOGQTcC9a

--HG--
extra : rebase_source : d5804ace91369f76894191694ed9a527aa051ff8
2016-06-20 11:52:11 +02:00
Jon Coppeard 6528e7ea0c Bug 1281177 - Fix bustage for non-unified builds r=me 2016-06-23 12:42:12 +01:00
Jon Coppeard 08779d0d45 Bug 1281177 - Fix racy check to see whether an object is a global r=jandem 2016-06-23 11:52:51 +01:00
Jon Coppeard ed839a5b59 Bug 1281194 - Don't use for-of iteration over requested modules array r=bz 2016-06-23 11:52:51 +01:00
Hannes Verschore 375b77ce20 Bug 1274895 - IonMonkey: Follow-up on bug 1274895 for failure, r=jandem 2016-06-23 11:14:17 +02:00
Hannes Verschore 8f44efbeeb Bug 1274895 - IonMonkey: Move the ion lazy list to the JSRuntime, r=jandem 2016-06-23 10:11:45 +02:00
Boris Zbarsky 5254910dfb Bug 1276310 part 5. Remove the now-unused XPCContext. r=bholley
The XPCShellImpl change is needed because we're now unifying XPCShellImpl with
some file that does "using namespace xpc" at toplevel, so the "Atob" and "Btoa"
barewords in its JSFunctionSpecs become ambiguous.  Luckily, the file-static
versions of those in XPCShellImpl are completely identical to the xpc-namespaced
versions anyway.
2016-06-23 00:32:20 -04:00
Boris Zbarsky c064e99123 Bug 1276310 part 4. Store an XPCJSRuntime* in XPCCallContext instead of storing an XPCContext*. r=bholley 2016-06-23 00:22:30 -04:00
Boris Zbarsky 567e9bf030 Bug 1276310 part 3. Get rid of the mException member of XPCContext. r=bholley
The member is only set by SetException(), which is called with non-null in
precisely one place.  This place is always immediately followed by a call to
nsXPCWrappedJSClass::CheckForException which proceeds to grab the exception from
the XPCContext and call SetException(null).  So basically, it's all a weird
out-of-band argument to CheckForException.
2016-06-23 00:22:30 -04:00
Boris Zbarsky 9156808526 Bug 1276310 part 2. Get rid of Components.lastResult and the corresponding XPCContext member. r=bholley 2016-06-23 00:22:30 -04:00
Boris Zbarsky 684c694d35 Bug 1276310 part 1. Move XPCContext's mPendingResult member into XPCJSRuntime. r=bholley 2016-06-23 00:22:30 -04:00
Boris Zbarsky 55c20fd2a2 Bug 1281276 part 5. Get rid of the LangType argument of the XPCCallContext constructor and the now-dead language type enums. r=bholley 2016-06-23 00:22:29 -04:00
Boris Zbarsky eea77304b5 Bug 1281276 part 4. Get rid of XPCContext's mCallingLangType member. r=bholley 2016-06-23 00:22:29 -04:00
Boris Zbarsky 069e9491af Bug 1281276 part 3. Drop the one place that uses XPCContext::CallerTypeIsJavaScript() (an assertion). r=bholley 2016-06-23 00:22:29 -04:00
Boris Zbarsky 18ad20362f Bug 1281276 part 2. Eliminate the unused XPCContext::CallerTypeIsNative/CallerTypeIsKnown methods. r=bholley 2016-06-23 00:22:29 -04:00
Boris Zbarsky 115145d1e8 Bug 1281276 part 1. Eliminate XPCCallContext's mCallerLanguage member. r=bholley 2016-06-23 00:22:29 -04:00
Jan de Mooij b2a0e0e99e Bug 1268626 - Use len instead of arr->length() in array_splice_impl. r=Waldo
--HG--
extra : rebase_source : e1f2cc6533f15f3d91b2e8faf5ac7eb7f5abdba9
2016-06-22 16:30:14 +02:00
Jon Coppeard 9febbcb1e0 Bug 1280132 - Add fallback path in case we hit OOM while creating the list of weak cache sweeping tasks r=terrence 2016-06-22 11:16:29 +01:00
Andi-Bogdan Postelnicu 0c96e27139 Bug 1278216 - initialize member variable |currentLabelIndex_|. r=jorendorff
MozReview-Commit-ID: HLCwovyM3LR

--HG--
extra : rebase_source : 126a0d3988c39a56be2cb3db3fe5904564ad93bd
2016-06-06 14:24:05 +03:00
Andi-Bogdan Postelnicu f8c8668dba Bug 1278217 - initialize member variable |state_|. r=jorendorff
MozReview-Commit-ID: DXQZUcBASrX

--HG--
extra : rebase_source : e4be4d341a78cc675e5c335b19a921f84665c308
2016-06-06 14:40:18 +03:00
Jan de Mooij fb0436ba41 Bug 1279295 - Create the runtime's JSContext when we create the runtime. r=luke 2016-06-22 09:47:52 +02:00
Jon Coppeard 1e33d2f28b Bug 1276908 - Fix implicit conversion constructor error r=me on a CLOSED TREE 2016-06-21 16:47:42 +01:00
Heiher 6b677fae2d Bug 1280841 - IonMonkey: MIPS: Fix MacroAssembler::storePtr(ImmGCPtr). r=jandem
---
 js/src/jit/mips32/MacroAssembler-mips32.cpp | 3 ++-
 js/src/jit/mips64/MacroAssembler-mips64.cpp | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
2016-06-21 23:19:14 +08:00
Jon Coppeard 410f3e5382 Bug 1280889 - Fix compartment checking assertion r=terrence 2016-06-21 15:30:35 +01:00
Jon Coppeard 02998c3718 Bug 1276908 - Optimise post barriers in the JIT for constant objects r=terrence r=jandem 2016-06-21 15:30:35 +01:00
Jon Coppeard 8beac5161e Bug 1276908 - Reimplement whole cell store buffer using a bit vector associated with the arena r=terrence 2016-06-21 15:30:35 +01:00
Jon Coppeard 926ea71286 Bug 1276908 - Add an extra field to the arena header r=terrence 2016-06-21 15:30:34 +01:00
Jon Coppeard 3bda7cae20 Bug 1276908 - Make BitArray use 32 bit words to make it easier to access from JIT code r=terrence 2016-06-21 15:30:34 +01:00
Hannes Verschore 1de914e6dd Bug 1273863 - TraceLogger: Trace the name of vm calls, r=bbouvier 2016-06-21 13:52:11 +02:00
Hannes Verschore ecdad783a4 Bug 1280411 - Wasm x64 doesn't know how to pass i64 constants, r=bbouvier 2016-06-21 13:52:11 +02:00
Hannes Verschore cb85a85a36 Bug 1280648 - Tracelogger: Don't cache based on pointers to movable gc things, r=bbouvier 2016-06-21 13:52:11 +02:00
Hannes Verschore 687ffc4da6 Bug 1279898: IonMonkey - Don't run TI alias analysis on typed objects/arrays, r=jandem 2016-06-21 13:52:11 +02:00
Eddy Bruel 1c3a42a1b9 Bug 1271653 - Debugger::wrapDebuggeeObject should return a DebuggerObject;r=fitzgen 2016-06-21 11:34:34 +02:00
Eddy Bruel 1dd3db254b Bug 1271653 - DebuggerObject.getPrototypeOf should return a DebuggerObject;r=fitzgen 2016-06-21 11:27:37 +02:00
Eddy Bruel 4fa8fd2f03 Bug 1271653 - DebuggerObject.boundTargetFunction should return a DebuggerObject;r=fitzgen 2016-06-21 11:20:58 +02:00
Eddy Bruel f182cfb7be Bug 1271653 - DebuggerObject.global should return a DebuggerObject;r=fitzgen 2016-06-21 11:14:45 +02:00
Jan de Mooij 66d817730e Bug 1280252 - Refactor RareArgumentsData a bit so it behaves correctly on moving GC. r=luke
--HG--
extra : rebase_source : 8cfc4bad16ad07a48d1713db18d3e3e1297a8c25
2016-06-21 08:49:09 +02:00
Nicholas Nethercote 4ed1325c23 Bug 1278752 (part 2) - Make explicit the ignoring of a hasStableClassAndProto() return value. r=bhackett.
--HG--
extra : rebase_source : 80a1a5d6b984fb8844fbe56285b9e894f7193253
2016-06-03 16:15:50 +10:00
Nicholas Nethercote 3e22172f81 Bug 1278752 (part 1) - Add a missing null check in PropertyTypeIncludes. r=bhackett.
--HG--
extra : rebase_source : 979c77b212a2a02bb2caef66540963760d944964
2016-06-03 16:12:25 +10:00
Chris Manchester 93ef406a76 Bug 1279369 - Move --enable-debug, MOZ_DEBUG_FLAGS, and --enable-debug-symbols to Python configure. r=glandium
Setting MOZ_DEBUG_SYMBOLS as a define was not moved, as this value is not
checked, and exporting MOZ_DEBUG_SYMBOLS was not moved, as this would only
impact nspr, and we're no longer using the nspr build system.

MozReview-Commit-ID: EvBTunhxcsr
2016-06-20 16:02:01 -07:00
Morgan Phillips 25742678cc Bug 1255167 - Default destructuring arguments should show up as lexical dependencies; r=jorendorff
--HG--
extra : rebase_source : 88d9870638eb5565410a5acc23c19f119e56a117
2016-06-07 14:12:19 -07:00
zhoubcfan@163.com e46e500df0 Bug 1280789 - Unbreak mingw builds, r=sfink
--HG--
extra : rebase_source : 4aa8b4709659f301e3ba22fa429f0b1ef756ff26
2016-06-20 18:43:02 +01:00
Heiher 86447949f5 Bug 1280845 - IonMonkey: MIPS32: Fix Assembler::UpdateBoundsCheck. r=bbouvier
---
 js/src/jit/mips32/Assembler-mips32.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2016-06-20 22:22:12 +08:00
Heiher bb151ca83a Bug 1280377 - IonMonkey: MIPS64: Add FloatRegisters::AllSingleMask. r=lth
---
 js/src/jit/mips64/Architecture-mips64.h | 1 +
 1 file changed, 1 insertion(+)
2016-06-20 22:22:00 +08:00
Nicolas B. Pierron 6013f621ff Bug 1264948 - IonBuilder::addOsrValueTypeBarrier, check for OOMs when unboxing OSR values. r=h4writer 2016-06-20 13:54:08 +00:00
Nicolas B. Pierron 185b0ab6ef Bug 1264948 - IonBuilder::inlineArray, check for OOMs when creating array elements without resume points. r=h4writer 2016-06-20 13:54:08 +00:00
Nicolas B. Pierron 903e109cf8 Bug 1264948 - MBasicBlock::inherit, check for OOMs when allocating Phi nodes. r=h4writer 2016-06-20 13:54:08 +00:00
Nicolas B. Pierron fcb7da1c37 Bug 1264948 - MBasicBlock::addPredecessor, check for OOMs when allocating Phi nodes. r=h4writer 2016-06-20 13:54:08 +00:00
Nicolas B. Pierron be19d8d845 Bug 1264948 - IonBuilder::init, reserve ballast space after freezing type sets. r=h4writer 2016-06-20 13:54:08 +00:00
Nicolas B. Pierron 337dd37eb6 Bug 1264948 - Disable infallible allocator assertion for iregexp. r=bhackett 2016-06-20 13:54:08 +00:00
Nicolas B. Pierron e3cd2306b8 Bug 1264948 part 1 - Register if the LifoAlloc is supposed to be infallible or not. r=jonco,h4writer
This patch adds a new flag to the LifoAlloc structure, which would be used to
assert when we attempt to allocate a new chunk for the LifoAlloc.  This ensure
that we assert (in debug builds) if we attempt to allocate beyong the reserved
space of the ballast.
2016-06-20 13:54:08 +00:00
Nicolas B. Pierron b8c0bce946 Bug 1264948 - Compily with Windows lack of support for noexcept keyword. r=me 2016-06-20 13:54:08 +00:00
Jon Coppeard 7a56c56bda Bug 1280588 - Fix OOM handling in shell SetGCCallback function r=sfink 2016-06-20 12:57:10 +01:00
Jon Coppeard a54a6f9345 Bug 1280407 - Use SystemAllocPolicy rather that the default with mozilla::Vector in the JS engine r=sfink r=fitzgen r=jandem 2016-06-18 10:46:13 +01:00
Christian Holler 2c1b44b88b Bug 1280872 - Fix WasmLoop code to use RootedWasmInstanceObject. r=bbouvier
MozReview-Commit-ID: AX5iOFnG5KX

--HG--
extra : histedit_source : 8556b2b422c8d12143be256e3150aad5017c314a
2016-06-20 12:18:44 +02:00
Luke Wagner 35cdfdaf9f Bug 1276028 - Baldr: store names as offsets into bytecode (r=bbouvier) 2016-06-19 00:29:11 +01:00
Sebastian Hengst b8d1db4420 Backed out changeset f1209b27c6a8 (bug 1276028) for assertion failure in Vector.h during test_asjm.js. r=backout 2016-06-19 12:36:47 +02:00
Luke Wagner d792ea11f1 Bug 1276028 - Baldr: store names as offsets into bytecode (r=bbouvier) 2016-06-19 00:29:11 +01:00
Sebastian Hengst 704cb4042f Backed out changeset afc3c6a5f93a (bug 1280407) for mass Spidermonkey failures. r=backout 2016-06-18 14:50:38 +02:00
Jon Coppeard c1235a507a Bug 1280407 - Use SystemAllocPolicy rather that the default with mozilla::Vector in the JS engine r=sfink r=fitzgen r=jandem 2016-06-18 10:46:13 +01:00
Sebastian Hengst 90043bfdaa Backed out changeset a58b9ab5dff0 (bug 1280407) for errors in testThreadingThread.cpp in SM(nu). r=backout 2016-06-18 12:53:01 +02:00
Jon Coppeard 404b8e32be Bug 1280407 - Use SystemAllocPolicy rather that the default with mozilla::Vector in the JS engine r=sfink r=fitzgen r=jandem 2016-06-18 10:46:13 +01:00
Nick Fitzgerald c823acfbbc Bug 1267551 - Use MOZ_MUST_USE in js/src/vm/Debugger.h; r=jimb 2016-06-17 13:52:44 +01:00
Nick Fitzgerald a4668d0b79 Bug 1267551 - Use MOZ_MUST_USE in js/public/UbiNodeShortestPaths.h; r=jimb 2016-06-17 13:52:44 +01:00
Nick Fitzgerald 5545da0648 Bug 1267551 - Use MOZ_MUST_USE in js/public/UbiNodePostOrder.h; r=jimb 2016-06-17 13:52:44 +01:00
Nick Fitzgerald 3a2a30627d Bug 1267551 - Use MOZ_MUST_USE in js/public/UbiNodeDominatorTree.h; r=jimb 2016-06-17 13:52:44 +01:00
Nick Fitzgerald 8d76510cde Bug 1267551 - Use MOZ_MUST_USE in js/public/UbiNodeCensus.h; r=jimb 2016-06-17 13:52:43 +01:00
Nick Fitzgerald 7b5d1178b4 Bug 1267551 - Use MOZ_MUST_USE in js/public/UbiNode.h; r=jimb 2016-06-17 13:52:43 +01:00
Nick Fitzgerald 59c369b80e Bug 1267551 - Stop trying to align method declarations in js/src/vm/SavedStacks.h; r=jimb
It just makes unrelated changes mess up blame when they fix indentation, or it
makes the indentation go bad to preserve blame. Neither is a good outcome...
2016-06-17 13:52:43 +01:00
Nick Fitzgerald 1af5913054 Bug 1267551 - Use MOZ_MUST_USE in js/src/vm/SavedStacks.h; r=jimb 2016-06-17 13:52:43 +01:00
Nick Fitzgerald e19be2da7c Bug 1267551 - Use MOZ_MUST_USE in js/src/vm/SavedFrame.h; r=jimb 2016-06-17 13:52:43 +01:00
Steve Fink 4def6edc38 Bug 1272887 followup fix - alignas is not yet allowed, r=till
--HG--
extra : rebase_source : ff8b1293541493fd3639ebc7d2652cd34d66f824
extra : histedit_source : fa36fd9ce4faac7ff7d82b0272178154b90e55b7
2016-06-07 20:31:37 -07:00
Benjamin Bouvier f35f218928 Bug 1279539: Simplify passing float32 arguments to a wasm FFI; r=luke
MozReview-Commit-ID: 9dtJOnpOhxE

--HG--
extra : rebase_source : 8c2878b068e862ede737270fbf7be731db52e1c8
2016-06-15 17:08:55 +02:00
Jan de Mooij 06a262d8ad Bug 1278839 followup - Fix test to check oomTest is present. r=me 2016-06-16 13:10:15 +01:00
Jan de Mooij eab2a7d8f2 Bug 1278839 - Fix a trivial OOM in SetJitCompilerOption. r=nbp 2016-06-16 12:09:24 +01:00
Thomas Zimmermann ae77e30012 Bug 1276927: Remove Gonk from JS builds where possible, r=dvander
B2G/Gonk is just a special case of Android builds. Removing Gonk
code from JS builds simplifies the build process and maintenance.

MozReview-Commit-ID: 6mxm2Hqmx0c
2016-06-16 08:43:51 +01:00
Sebastian Hengst 47f0d2bc81 Backed out changeset a3f3f077a1ec (bug 1264948) for 'warning treated as error' build failure in JitAllocPolicy.h at least on Windows XP. r=backout on a CLOSED TREE 2016-06-15 19:20:29 +02:00
Sebastian Hengst 44e3577953 Backed out changeset ceb7ec4fd334 (bug 1264948) 2016-06-15 19:19:04 +02:00
Sebastian Hengst 03411b6526 Backed out changeset 8dfdec5ed99b (bug 1264948) 2016-06-15 19:19:00 +02:00
Sebastian Hengst f2da8129aa Backed out changeset 8e99a0d76e62 (bug 1264948) 2016-06-15 19:18:57 +02:00
Sebastian Hengst 5f3aee96a7 Backed out changeset c1c123367921 (bug 1264948) 2016-06-15 19:18:53 +02:00
Sebastian Hengst cb4c0e496d Backed out changeset 46d50a87b3b5 (bug 1264948) 2016-06-15 19:18:03 +02:00
Sebastian Hengst fa09ca3da8 Backed out changeset 831077a22f58 (bug 1264948) 2016-06-15 19:17:59 +02:00
Sebastian Hengst 299ca506e6 Backed out changeset 87f37f6cde59 (bug 1264948) 2016-06-15 19:17:55 +02:00
Luke Wagner f3398cf009 Bug 1276028 - Baldr: address review comments (r=bbouvier)
--HG--
extra : rebase_source : 974c969fb580b41396aa25e78f379efac96487d8
2016-06-15 06:02:34 +01:00
Nicolas B. Pierron 9c080f9614 Bug 1264948 - IonBuilder::addOsrValueTypeBarrier, check for OOMs when unboxing OSR values. r=h4writer 2016-06-15 16:27:18 +00:00
Nicolas B. Pierron 7551aa899d Bug 1264948 - IonBuilder::inlineArray, check for OOMs when creating array elements without resume points. r=h4writer 2016-06-15 16:27:18 +00:00
Nicolas B. Pierron 1710de95c9 Bug 1264948 - MBasicBlock::inherit, check for OOMs when allocating Phi nodes. r=h4writer 2016-06-15 16:27:18 +00:00
Nicolas B. Pierron 9676f23598 Bug 1278303 part 4 - Fix correctness issue of MCreateThis new-target operand index. r=efaust 2016-06-15 16:27:18 +00:00
Nicolas B. Pierron e7fa0b9e88 Bug 1278303 part 3 - Use a macro to define a list of getOperand accessors. r=jandem 2016-06-15 16:27:18 +00:00
Nicolas B. Pierron c70ce7ef1f Bug 1278303 part 2 - Add MInstruction::New(TempAllocator::Fallible, ...) overload to all trivial MIR Instructions. r=jandem 2016-06-15 16:27:18 +00:00
Nicolas B. Pierron 6d57ca85cc Bug 1278303 part 1 - Prevent uses of TempObject new operator on MIR Instructions. r=jandem 2016-06-15 16:27:18 +00:00
Nicolas B. Pierron c1242e255e Bug 1264948 - MBasicBlock::addPredecessor, check for OOMs when allocating Phi nodes. r=h4writer 2016-06-15 16:27:18 +00:00
Nicolas B. Pierron 6bf999e76d Bug 1264948 - IonBuilder::init, fixup 2016-06-15 16:27:18 +00:00
Nicolas B. Pierron 7076b72f19 Bug 1264948 - IonBuilder::init, reserve ballast space after freezing type sets. r=h4writer 2016-06-15 16:27:18 +00:00
Nicolas B. Pierron bc7d399953 Bug 1264948 - Disable infallible allocator assertion for iregexp. r=bhackett 2016-06-15 16:27:18 +00:00
Nicolas B. Pierron f8e392903f Bug 1264948 part 1 - Register if the LifoAlloc is supposed to be infallible or not. r=jonco,h4writer
This patch adds a new flag to the LifoAlloc structure, which would be used to
assert when we attempt to allocate a new chunk for the LifoAlloc.  This ensure
that we assert (in debug builds) if we attempt to allocate beyong the reserved
space of the ballast.
2016-06-15 16:27:17 +00:00
Andrea Marchesini 37ac18fc67 Bug 1269162 - part 6 - Merge XMLHttpRequestWorker and XMLHttpRequestMainThread, r=smaug
--HG--
rename : dom/xhr/nsXMLHttpRequest.cpp => dom/xhr/XMLHttpRequestMainThread.cpp
rename : dom/xhr/nsXMLHttpRequest.h => dom/xhr/XMLHttpRequestMainThread.h
2016-06-27 19:13:41 +02:00