Commit Graph

47696 Commits

Author SHA1 Message Date
Nicolas B. Pierron
d2ff3047b1 Bug 1112164 part 12 - Use RegisterDump size for bailout spills. r=jandem 2015-02-26 12:18:27 +01:00
Nicolas B. Pierron
55539e1f86 Bug 1112164 part 11 - Add an union to declare how data can overlap in one register. r=mjrosenb 2015-02-26 12:18:26 +01:00
Nicolas B. Pierron
4be8ea003d Bug 1112164 part 10 - Clean-up: Use SetType for register mask declarations. r=bbouvier 2015-02-26 12:18:25 +01:00
Nicolas B. Pierron
fe5896764c Bug 1112164 part 9 - PushRegsInMask no longer assumes that any FloatRegister is 8 bytes. r=bbouvier 2015-02-26 12:18:25 +01:00
Nicolas B. Pierron
f1d5c27b09 Bug 1112164 part 8 - Use architecture specific SetSize. r=bbouvier 2015-02-26 12:18:24 +01:00
Nicolas B. Pierron
a0664f2653 Bug 1112164 part 7 - Add common architecture functions to query/convert a register type. r=mjrosenb 2015-02-26 12:18:23 +01:00
Nicolas B. Pierron
9e2d6162c1 Bug 1112164 part 6 - RegisterSets: takeAny should take one register and all aliases of it. r=mjrosenb 2015-02-26 12:18:23 +01:00
Nicolas B. Pierron
a95d35da9b Bug 1112164 part 5 - Distinguish between the FloatRegister code and the encoding on x86 & x64. r=jandem 2015-02-26 12:18:22 +01:00
Nicolas B. Pierron
c046a09f6f Bug 1112164 part 4 - SimdReinterpretCast: Do not use redefine as the MIRType of the input & output are different. r=sunfish 2015-02-26 12:18:21 +01:00
Nicolas B. Pierron
739dca4b1b Bug 1112164 part 3 - Add {Float,}Register::Encoding to represent what can be decoded from the assembly. r=jandem 2015-02-26 12:18:21 +01:00
Nicolas B. Pierron
010d155a09 Bug 1112164 part 2 - Rename ReturnSimdReg to ReturnInt32x4Reg and ReturnFloat32x4Reg. r=bbouvier 2015-02-26 12:18:20 +01:00
Nicolas B. Pierron
dc83aba360 Bug 1112164 part 1 - x86/x64 lowerForFPU: Do not reuse the input register if the MIRType are different. r=sunfish 2015-02-26 12:18:19 +01:00
Nicolas B. Pierron
4f61885c86 Bug 1112164 part 0 - PrintUse: Use AnyRegister::name method for printing the name of Fixed register uses. r=bhackett 2015-02-26 12:18:18 +01:00
Nathan Froyd
39fa4f5773 Bug 1122021 - make number_constants internal to js_InitNumberClass; r=jorendorff
ThreadSanitizer reports write-after-write conflicts to number_constants
while initializing JSRuntimes on different threads.  While an argument
could be made that these writes are entirely safe (they are, after all,
writing the same value every time), it seems better to move to a more
obviously not-racy solution.

This patch implements such a solution, by moving number_constants prior
to its only use in js_InitNumberClass, and forcing the initialization of
the "problematic" constants (infinities, NaNs, etc.) to take place the
first time js_InitNumberClass is executed.

In passing, this patch also removes the unused nc_slot enum.
2015-02-25 11:18:28 -05:00
Jarda
a366e47d68 Bug 1127932 - IonMonkey: Inline SIMD.float32x4.add/sub/mul calls; r=bbouvier
--HG--
extra : rebase_source : 6088a2d4d2c575d24884dfc5648db46470102490
2015-02-24 11:42:48 +01:00
Jon Coppeard
d07b4ba1e8 Bug 1136768 - Tidy detection of possibly relocated types r=terrence 2015-02-26 09:04:46 +00:00
Jon Coppeard
8db99543e5 Bug 1136046 - Increase maximum capacity of js::HashMap and HashSet r=luke 2015-02-26 09:02:13 +00:00
Jon Coppeard
4cee6e7d5f Bug 1133759 - Always shrink GC buffers at the end of a shrinking GC, even if we don't compact r=terrence 2015-02-26 09:01:40 +00:00
Nicholas Nethercote
ff13a08e3d Bug 979293 - Add a FrozenAtomSet to clarify how |permanentAtoms| works. r=bhackett.
This clarifies the two phases -- (a) initialization and (b) read-only use
-- that |permanentAtoms| goes through. It also gives some type-based protection
against potential misuse.

--HG--
extra : rebase_source : 23544fa40b44af66b3efbf7b757aed808902ce81
2015-02-25 19:11:28 -08:00
Nicholas Nethercote
5454a067f6 Bug 979293 - Don't write collision bits in HashTable unnecessarily. r=luke.
This avoids no-op writes to the keyHash of entries when doing a no-add-lookup.
This removes a genuine data race in JSRuntime::permanentAtoms, which receives
frequent no-add-lookups from multiple threads after JSRuntime initialization
without any kind of locking.

--HG--
extra : rebase_source : bb0ccf75e674f28e21f0a7209699f68dd7977f04
2015-02-25 10:39:46 -08:00
Eric Faust
f77129f4f8 Bug 1066229 - Follow up: Enable |let| in ecma_6/Class/ in browser JS reftests. (rs=bz) 2015-02-25 20:15:22 -08:00
Eric Faust
39a067b002 Bug 1066229 - Follow up: Push args to callVM in correct, reversed, order. (r=me) on a CLOSED TREE 2015-02-25 18:43:09 -08:00
Eric Faust
f777b0fd04 Backed out changeset f32c20fcbff0 for landing with incorrect bug number on a CLOSED TREE 2015-02-25 18:41:46 -08:00
Eric Faust
0498fe93e6 Bug 106229 - Follow up: Push args to callVM in correct, reversed, order. (r=me) on a CLOSED TREE 2015-02-25 18:33:28 -08:00
Eric Faust
6e21281ec8 Bug 1066229 - Tests. (r=jorendorff) 2015-02-25 17:30:08 -08:00
Eric Faust
4147559ac1 Bug 1066229 - Part 5: Emitter support for basic ES6 ClassStatements. (r=jorendorff) 2015-02-25 17:30:08 -08:00
Eric Faust
5954efc386 Bug 1066229 - Part 4: Create JSOP_INITHIDDENPROP, which adds non-enumerable properties. (r=jorendorff) 2015-02-25 17:30:08 -08:00
Eric Faust
7289cdb99a Bug 1066229 - Part 3: Create JSOP_INITLOCKEDDPROP, which adds non-configurable non-writable non-enumerable properties. (r=jorendorff) 2015-02-25 17:30:08 -08:00
Eric Faust
d93335d069 Bug 1066229 - Part 2: Factor EmitPropertyList() out of EmitObject(). (r=jorendorff) 2015-02-25 17:30:08 -08:00
Eric Faust
52240a8f11 Bug 1066229 - Part 1: Create a clean way to emit lexical initializers. (r=jorendorff) 2015-02-25 17:30:08 -08:00
Eric Faust
83a563e8f1 Bug 1066227 - Tests. (r=jorendorff) 2015-02-25 17:30:08 -08:00
Eric Faust
4e2e81cc67 Bug 1066227 - Part 4: Reflect.parse support for ClassStatements. (r=jorendorff) 2015-02-25 17:30:08 -08:00
Eric Faust
2405f56de0 Bug 1066227 - Part 3: Parser support for basic ES6 ClassStatements (Nightly Only). (r=jorendorff) 2015-02-25 17:30:08 -08:00
Eric Faust
e89b797e03 Bug 1066227 - Part 2: Rename objectLiteral() propertyList() in preparation for classes. (r=jorendorff) 2015-02-25 17:30:07 -08:00
Eric Faust
475a10fe78 Bug 1066227 - Part 1: Create a clean way to create lexical bindings at initalizer sites. (r=jorendorff) 2015-02-25 17:30:07 -08:00
Eric Faust
a840940611 Bug 1101903 - Part 2: Allow parsing and emitting strict mode code in smaller than script-sized units. (r=Waldo) 2015-02-25 17:30:07 -08:00
Eric Faust
f8ae67b56d Bug 1101903 - Part 1: Convert SharedContext::strict to a method. (r=Waldo) 2015-02-25 17:30:07 -08:00
Eric Faust
55d9fa93ae Bug 1124362 - Allow strict-reserved names to be method names. (r=jorendorff) 2015-02-25 17:30:07 -08:00
Nick Fitzgerald
fd687cb7a9 Bug 1031152 - Part 2: Define a JSAPI test for the SavedFrame public API; r=jandem 2015-02-25 17:07:05 -08:00
Nick Fitzgerald
9c6cd14045 Bug 1031152 - Define a JS public API for working with SavedFrame instances; r=jandem,bz
This should fix the SM(arm) build.

New try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=eef29c61b5b7
2015-02-25 17:06:56 -08:00
Shu-yu Guo
52e5c3c147 Bug 1136397 - Ensure OSR frame scripts have debug instrumentation. (r=jandem) 2015-02-25 16:15:11 -08:00
Kannan Vijayan
ec632c2fe5 Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 16:43:39 -05:00
Jon Coppeard
f2e458ed92 Bug 1136193 - OSObject issues, r=sfink 2015-02-25 08:41:00 -08:00
Ryan VanderMeulen
2351be3127 Backed out changesets 3de23a29bf71 and d42c64b791e6 (bug 1129510) for debug SM(e) timeouts. 2015-02-25 13:44:19 -05:00
Lars T Hansen
935d77b39e Bug 1136584 - Fix warning-as-errors error. r=me 2015-02-25 19:13:32 +01:00
Andrew McCreight
bbb6dc7e24 Bug 1135772 - Return null on failure in nsXPCWrappedJS's QueryInterface. r=smaug 2015-02-25 09:44:10 -08:00
Lars T Hansen
95fbf2b032 Bug 1136584 - Copy JIT options from global settings. r=bhackett 2015-02-25 18:43:51 +01:00
Kannan Vijayan
16b1c00471 Bug 1129510 - Fix static analysis test failure on CLOSED TREE.
--HG--
extra : rebase_source : 3dfdb378bfdc033af0f2b66f34bd8220aae54b3e
2015-02-20 18:50:38 -05:00
Hannes Verschore
b577627a8b Bug 1131955 - IonBuilder: Add collectRangeInfoPreTrunc to MBoundsCheck, r=sunfish 2015-02-25 17:36:20 +01:00
Kannan Vijayan
d784692baf Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 11:26:28 -05:00