Jon Coppeard
4ddac85041
Bug 1138538 - Display GC zeal help text in shell help message r=terrence
2015-03-03 10:28:27 +00:00
Jon Coppeard
821d5df592
Bug 1138390 - Wait for GC to finish if necessary in runOffThreadScript() r=terrence
2015-03-03 10:28:06 +00:00
Benjamin Bouvier
cd73feb25d
Bug 1135042: Share more code between StoreTypedArray* classes; r=bhackett
2015-03-03 11:07:49 +01:00
Benjamin Bouvier
46c360e78f
Bug 1135042: Inline SIMD stores in Ion; r=bhackett
2015-02-27 18:30:22 +01:00
Benjamin Bouvier
a829452390
Bug 1135042: Inline SIMD loads in Ion; r=bhackett
2015-03-02 12:11:19 +01:00
Benjamin Bouvier
ab8cb12772
Bug 1135039: Implement general SIMD swizzle and use it; r=sunfish
2015-02-27 09:35:03 +01:00
Lars T Hansen
7b2c2c0bde
Bug 1137291 - avoid clobbering an input register. r=h4writer
2015-03-03 10:47:00 +01:00
Carsten "Tomcat" Book
56d6b18409
Backed out changeset 074919869975 (bug 1136806) for spidermonkey_info-warnaserr build test failures
2015-03-03 10:13:43 +01:00
Jan de Mooij
02f70bf97e
Bug 1136837 part 2 - Improve |this| types when inlining after a CALLPROP/CALLELEM. r=h4writer
2015-03-03 09:37:46 +01:00
Jan de Mooij
1cdc1af5f7
Bug 1137523 part 2 - Unprefix a few js_* functions I forgot in part 1. r=bhackett
2015-03-03 09:33:22 +01:00
Nick Fitzgerald
2e068486bf
Bug 1136806 - Fix assertion failure with Debugger and oomAfterAllocations. r=shu
2015-02-27 14:34:00 +01:00
ProgramFOX
981c6f6c23
Bug 1136221 - SIMD (interpreter): relax type requirement for Int32x4Bool. r=bbouvier
2015-02-27 17:31:05 +01:00
Steve Fink
9f239a39cc
Bug 1137336 - Explicitly disallow WeakMapTracer.callback from GCing, r=terrence
2015-03-02 10:25:16 -08:00
Steve Fink
21c946e09e
Bug 1137326 - Fix out of bounds error in JS_iterateCompartments, r=terrence
2015-01-12 14:19:27 -08:00
Kannan Vijayan
a7ec86cd07
Bug 1130367 - Ensure profiler stack sampling is disabled when spsProfiler is disabled. r=shu
2015-03-02 17:46:13 -05:00
Terrence Cole
773f6b2ed8
Bug 1135985 - Use typed members to implement pushMarkStack; r=sfink
2015-02-25 13:09:05 -08:00
Nicolas B. Pierron
b32ea60740
Bug 1010556 - Bump ASAN kTrustedScriptBuffer constant, to account for the new frame size. r=bholley
2015-03-02 14:33:14 -08:00
Tooru Fujisawa
e471e2432c
Bug 1136490 - Fix unreliable test code to not fail with OOM r=terrence
2015-03-02 13:32:08 +00:00
Jon Coppeard
c9c10c5d39
Bug 963921 - Clients of the JS API should use JS_DefineElement where appropriate r=smaug
2015-03-02 13:31:15 +00:00
Jon Coppeard
0256e9d1dc
Bug 899979 - Remove unneeded test code r=waldo
2015-03-02 13:30:34 +00:00
Jon Coppeard
8ed8d92402
Bug 1133377 - Make DataView constructor correctly handle undefined byteLength argument r=sfink
2015-03-02 13:30:34 +00:00
Jon Coppeard
5548dea727
Bug 1128670 - Ignore intermittent timeout in compacting GC tests r=terrence
2015-03-02 13:30:34 +00:00
Benjamin Bouvier
869e4462f1
Bug 1135038: Inline SIMD.check as guard unbox; r=nbp
2015-02-27 09:33:34 +01:00
Benjamin Bouvier
e02a8345ce
Bug 1134638: 16. Use more macros; r=nbp
2015-02-26 16:47:04 +01:00
Benjamin Bouvier
498fd16b9f
Bug 1134638: 15. Inline select/bitselect in Ion; r=nbp
2015-02-24 18:50:01 +01:00
Benjamin Bouvier
3acae0acf1
Bug 1134638: 14. Inline SIMD getters (signMask, .x, .y, .z, .w) in Ion; r=nbp
2015-02-26 12:08:16 +01:00
Benjamin Bouvier
7edd9cdca9
Bug 1134638: 13. Inline splat in Ion; r=nbp
2015-02-26 12:34:34 +01:00
Benjamin Bouvier
ead7ea697e
Bug 1134638: 12. Inline with{X,Y,Z,W} in Ion; r=nbp
2015-02-25 14:44:37 +01:00
Benjamin Bouvier
f0f683b11d
Bug 1134638: 11. Add type checks in move emitter and LIR generation; r=nbp
2015-02-23 16:31:26 +01:00
Benjamin Bouvier
61e2a2586e
Bug 1134638: 10. Inline SIMD comparisons in Ion; r=nbp
2015-02-23 16:31:39 +01:00
Benjamin Bouvier
2b48b76fff
Bug 1134638: 9. Drive-by cleanup: FloatingTypePolicy can just have SPECIALIZATION_DATA; r=nbp
2015-02-20 18:42:11 +01:00
Benjamin Bouvier
e0e16ab17a
Bug 1134638: 8. Inline SIMD conversions in Ion; r=nbp
2015-02-23 19:10:07 +01:00
Benjamin Bouvier
fbd55ba283
Bug 1134638: 7. Add spew for MSimd{Binary{Bitwise,Arith},Unary}; r=sunfish
2015-02-20 16:34:53 +01:00
Benjamin Bouvier
0a34537a5d
Bug 1134638: 6. Inline SIMD unary arithmetic operations; r=nbp
2015-02-20 18:28:31 +01:00
Benjamin Bouvier
31275e4400
Bug 1134638: 5. Add OperationName to MSimdUnaryArith; r=sunfish
2015-02-20 16:16:16 +01:00
Julian Seward
1f608d7457
Bug 1132953 - Zero AsmJSModule::CodeRange and AsmJSModule::ExportedFunction::pod on construction, to avoid Valgrind warnings. r=luke.
2015-02-27 10:24:07 +01:00
Brian Hackett
7aaa141e07
Bug 1135423 - Use unboxed objects for object literals where possible, clean up object literal creation and property initialization code, r=jandem.
2015-03-01 16:31:41 -06:00
Tooru Fujisawa
47d636bd12
Bug 1108382 - Part 9: Do not use non-standard flag argument of String.prototype.replace in js/src/. r=jandem
2015-03-01 09:51:33 +09:00
Dan Gohman
20e995fd7d
Bug 867001 - IonMonkey: Infrastructure for aligning JIT'd loops. r=bbouvier
2015-02-27 17:16:12 -08:00
Hannes Verschore
b6983c8aaf
Bug 1135047 - IonMonkey: Use output range when taking range from operands, r=nbp,sunfish
2015-02-28 02:03:48 +01:00
Hannes Verschore
47fe05644c
Bug 1135047 - IonMonkey: Fix range before bailouts of MToInt32, r=nbp,sunfish
2015-02-28 02:03:47 +01:00
Hannes Verschore
250fdb2150
Bug 1130679: IonMonkey: Make it possible to guard on type changes/bailouts, r=nbp
2015-02-28 01:51:00 +01:00
Hannes Verschore
f81e263f7f
Bug 994016: IonMonkey: More agressively improve types at branches, r=jandem
2015-02-28 01:30:47 +01:00
Hannes Verschore
f7fa86e6c8
Bug 994016: IonMonkey: Improve types at compares with MTypeOf, r=jandem
2015-02-28 01:30:44 +01:00
Hannes Verschore
4742e96d66
Bug 994016: IonMonkey: Use high level TI API for improving types at branches, r=bhackett
2015-02-28 01:30:42 +01:00
Hannes Verschore
e9d7171268
Bug 994016: TI: add removeSet, r=bhackett
2015-02-28 01:30:40 +01:00
Hannes Verschore
e04b2a80c9
Bug 994016: IonMonkey: Add MTypeOf folding to MCompare, r=jandem
2015-02-28 01:30:38 +01:00
ProgramFOX
e1b2e267ec
Bug 1136799 - SIMD (interpreter): Fix order of operations of ReciprocalSqrt. r=bbouvier, a=me
2015-02-26 17:22:56 +01:00
Tom Tromey
36ea90129f
Bug 1130166 - Use SizePrintfMacros.h when printing line numbers. r=Waldo
2015-02-27 08:19:00 -05:00
David Major
f384934863
Bug 1137050 - Don't SetThreadContext if the context didn't change. r=luke, a=me
2015-02-26 20:37:00 -05:00
Dan Gohman
9f6f18dd57
Bug 1137573 - OdinMonkey: Generalize alignment analysis to handle adds with multiple uses r=luke a=ryanvm
2015-02-27 11:02:59 -08:00
Dan Gohman
ebb2d05ec1
Bug 1137573 - OdinMonkey: Alignment Mask Analysis r=luke
2015-02-26 22:17:51 -08:00
Boris Zbarsky
dd9b2cad3f
Bug 1136980 part 2. Remove JS_SetParent, even though we have a CLOSED TREE. r=waldo
2015-02-27 11:46:58 -05:00
Boris Zbarsky
17edd06833
Bug 1136980 part 1. Get rid of JS_SetParent uses in DOM/XPConnect. r=bholley
2015-02-27 11:46:58 -05:00
Boris Zbarsky
8f84b4126c
Bug 1137325. Remove the parent() function from xpcshell. r=mrbkap
2015-02-27 11:46:58 -05:00
Jan de Mooij
56bb36a93c
Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE
2015-02-27 16:08:15 +01:00
Boris Zbarsky
7c0faacec7
Bug 1131803 - Comment fix followup.
2015-02-26 16:33:02 -05:00
Boris Zbarsky
f7896c7557
Bug 1137334. Remove nsIDOMWindowUtils.getParent. r=bholley. We still have a CLOSED TREE, sadly.
2015-02-26 15:58:59 -05:00
Boris Zbarsky
6048331ab0
Bug 1136925 part 4. Stop passing parents to ProxyObject::New. r=waldo
2015-02-26 15:58:59 -05:00
Boris Zbarsky
48cb1d2911
Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo
2015-02-26 15:58:59 -05:00
Boris Zbarsky
42ad3aac68
Bug 1136925 part 2. Stop passing a parent to Wrapper::New. r=waldo,bholley
2015-02-26 15:58:59 -05:00
Boris Zbarsky
0fc10559ed
Bug 1136925 part 1. Stop passing a parent to JS_CloneObject. r=waldo
2015-02-26 15:58:59 -05:00
Boris Zbarsky
3827ca9c69
Bug 1131803. Remove the use of parents from SandboxCallableProxyHandler and SandboxProxyHandler. r=bholley
2015-02-26 15:58:59 -05:00
Wes Kocher
76f7dd6e6f
Backed out changeset 4ef990c3d69d (bug 1131803) for potentially busting mochitest-e10s-dt on a CLOSED TREE
2015-02-26 23:20:33 -08:00
Wes Kocher
3d76c60bb8
Backed out changeset b590778549ab (bug 1131803)
2015-02-26 23:19:57 -08:00
Wes Kocher
7895fa9c2b
Backed out 4 changesets (bug 1136925) for potentially busting m-e10s-dt on a CLOSED TREE
...
Backed out changeset 331761aaae22 (bug 1136925)
Backed out changeset 2faa0e91fe23 (bug 1136925)
Backed out changeset a00f2530c911 (bug 1136925)
Backed out changeset d5e658bc0792 (bug 1136925)
2015-02-26 23:17:34 -08:00
Wes Kocher
4d09a038e1
Backed out changeset 01abd154ac05 (bug 1137334) for potentially busting m-e10s-dt on a CLOSED TREE
2015-02-26 23:17:00 -08:00
Wes Kocher
1e56804910
Backed out changeset d7d9bbfa72c5 (bug 674779) for m-bc orange on a CLOSED TREE
2015-02-26 17:55:37 -08:00
Eric Faust
b0eef835a3
Bug 1066238 - Tests. (r=jorendorff)
2015-02-26 15:05:26 -08:00
Eric Faust
8bdb7090c2
Bug 1066238 - Part 2: Emitter support for static class methods. (r=jorendorff)
2015-02-26 15:05:24 -08:00
Eric Faust
bd2a059bad
Bug 1066238 - Part 1: Parser support for static class methods. (r=jorendorff)
2015-02-26 15:05:23 -08:00
Shu-yu Guo
83009bb44e
Bug 1133196 - Ensure script observability when setting Debugger.Frame.onStep. (r=jandem)
2015-02-26 13:50:18 -08:00
Terrence Cole
94d4863bef
Bug 1135141 - Do not do background sweeping for zealous GCs to avoid fragmentation; r=jonco
2015-02-23 14:25:37 -08:00
Boris Zbarsky
5c310ff167
Bug 1131803 comment fix followup. DONTBUILD
2015-02-26 16:33:02 -05:00
David Rajchenbach-Teller
2559ae292e
Bug 674779 - Add per-compartment CPU accounting. r=jandem, r=blassey, r=bz
2015-02-26 11:53:41 +01:00
Brian Hackett
a2edd2efd6
Bug 1135547 - Fix checks for cases where type sets might be incomplete, r=jandem.
2015-02-26 15:14:59 -06:00
Boris Zbarsky
b78332373e
Bug 1137334. Remove nsIDOMWindowUtils.getParent. r=bholley
2015-02-26 15:58:59 -05:00
Boris Zbarsky
3dcaaba90d
Bug 1136925 part 4. Stop passing parents to ProxyObject::New. r=waldo
2015-02-26 15:58:59 -05:00
Boris Zbarsky
792a610a9b
Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo
2015-02-26 15:58:59 -05:00
Boris Zbarsky
982a21412e
Bug 1136925 part 2. Stop passing a parent to Wrapper::New. r=waldo,bholley
2015-02-26 15:58:59 -05:00
Boris Zbarsky
78e50f6d16
Bug 1136925 part 1. Stop passing a parent to JS_CloneObject. r=waldo
2015-02-26 15:58:59 -05:00
Boris Zbarsky
0021580682
Bug 1131803. Remove the use of parents from SandboxCallableProxyHandler and SandboxProxyHandler. r=bholley
2015-02-26 15:58:59 -05:00
Joel Maher
72909e2ac1
Bug 1131110 - Intermittent OSX 10.6 run-by-dir test_bug484459.xul. r=bholley
2015-02-26 15:32:21 -05:00
Ryan VanderMeulen
88b7fa47c8
Backed out changesets 4eab437d2b51 and f7104b435b47 (bug 1125101) for suspicion of being the cause of a spike in Linux debug mochitest-bc timeouts.
2015-02-26 14:32:46 -05:00
Boris Zbarsky
2ffc9b8c00
Bug 1133746. Allow DOMProxyShadows to communicate to the JIT whether the shadowing is done by the expando object or not. r=efaust,peterv
2015-02-26 12:30:02 -05:00
Nicolas B. Pierron
767276fbec
Bug 1112165 - Rename RValueAllocation::Float32 to RValueAllocation::AnyFloat. r=bbouvier
2015-02-26 17:37:38 +01:00
Nicolas B. Pierron
d30493ef26
Bug 1112165 - Recover SimdBox. r=bbouvier
2015-02-26 17:37:36 +01:00
Nicolas B. Pierron
375025f95c
Bug 1129313 - Scalar Replacement: Remove PostWriteBarrier at the same time as the stores. r=h4writer
2015-02-26 16:18:41 +01:00
Nicolas B. Pierron
7e7c247c0c
Bug 1112158 - Optimize MSimdUnbox with GVN. r=bbouvier
2015-02-26 16:18:40 +01:00
Brian Hackett
5f79c5db02
Bug 1131285 - Propagate checkTypeSet flag correctly, r=jandem.
2015-02-26 08:54:44 -06:00
Boris Zbarsky
c7b8eb3b25
Bug 1136906 part 3. Remove the parent arg from JS_NewObject. r=waldo
2015-02-26 09:40:08 -05:00
Boris Zbarsky
492fb20fdf
Bug 1136906 part 2. Stop passing a parent to JS_NewObject in xpconnect code. r=bholley
2015-02-26 09:40:08 -05:00
Boris Zbarsky
ff7aab7efe
Bug 1136906 part 1. Stop passing parents to JS_NewObject in ctypes code. r=waldo
2015-02-26 09:40:08 -05:00
Boris Zbarsky
2b9adc644e
Bug 1136523. Stop doing weird things with parents in ctypes code and remove the JS_DeprecatedNewObjectWithGivenProtoAndParent API. r=waldo
2015-02-26 09:40:08 -05:00
Boris Zbarsky
bae1dc5e8c
Bug 1136520. Stop parenting Xray expando objects to a non-global. r=bholley
2015-02-26 09:40:08 -05:00
Boris Zbarsky
d80fb20630
Bug 1136516. Stop using JS_DeprecatedNewObjectWithGivenProtoAndParent in XPCWrappedNative. r=bholley
2015-02-26 09:40:08 -05:00
Boris Zbarsky
74abff9081
Bug 1136345. Drop the parent arg from JS_NewObjectWithGivenProto and introduce a JS_DeprecatedNewObjectWithGivenProtoAndParent for the few cases that still pass in a custom parent. r=waldo
2015-02-26 09:40:08 -05:00
Boris Zbarsky
cee2e920d6
Bug 1136292 part 5. Stop passing a global as the parent arg to JS_NewObjectWithGivenProto in XPConnect. r=peterv
2015-02-26 09:40:07 -05:00
Jan de Mooij
3a1d650059
Bug 1136837 part 1 - Don't inline calls with incomplete type information for this or arguments. r=h4writer
2015-02-26 15:33:45 +01:00
Nicolas B. Pierron
f8b66aced6
Bug 1119303 - Use an oolCallVM to allocate SIMD objects when the nursery is full. r=bbouvier
2015-02-26 14:42:25 +01:00
Jon Coppeard
2b287fb36b
Bug 1125101 - Check budget in incremental compaction r=terrence
2015-02-26 12:35:59 +00:00
Jon Coppeard
00824bdb94
Bug 1125101 - Incrementalise compacting GC by zones r=terrence
2015-02-26 12:35:59 +00:00
Jon Coppeard
97111629f8
Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence
2015-02-24 09:40:02 +00:00
Brian Hackett
f89e0a41c5
Bug 1136267 - Handle inlining when folding &&/||/?: operations in Ion, r=sunfish.
2015-02-26 06:34:04 -06:00
Nicolas B. Pierron
59f8375283
Bug 1112164 part 19 - LSRA should spill aliased registers around call-sites. r=bhackett
2015-02-26 12:18:31 +01:00
Nicolas B. Pierron
91f884d4d5
Bug 1112164 part 18 - PushRegsInMask: Do not spill SIMD register if there is no support. r=bbouvier
2015-02-26 12:18:30 +01:00
Nicolas B. Pierron
6067e57284
Bug 1112164 part 17 - StupidAllocator: Fix issues with SIMD spill and aliased registers. r=mjrosenb
2015-02-26 12:18:30 +01:00
Nicolas B. Pierron
3070e6abff
Bug 1112164 part 16 - Clean-up: Remove FloatRegister::GetSizeInBytes. r=bbouvier
2015-02-26 12:18:29 +01:00
Nicolas B. Pierron
b4c6aa82f7
Bug 1112164 part 15 - x86/x64: Add register type in the register allocator spew. r=bbouvier
2015-02-26 12:18:28 +01:00
Nicolas B. Pierron
d578d5f79f
Bug 1112164 part 14 - Add types to x86/x64 float registers. r=bbouvier,jandem
2015-02-26 12:18:28 +01:00
Nicolas B. Pierron
fa375effb5
Bug 1112164 part 13 - HandleRegisterDump operations should support all register type. r=jandem
2015-02-26 12:18:27 +01:00
Nicolas B. Pierron
8a914a468b
Bug 1112164 part 12 - Use RegisterDump size for bailout spills. r=jandem
2015-02-26 12:18:27 +01:00
Nicolas B. Pierron
dd5b6b3130
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
b72eb39785
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
ef7ab2c9b8
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
8c7c5e6671
Bug 1112164 part 8 - Use architecture specific SetSize. r=bbouvier
2015-02-26 12:18:24 +01:00
Nicolas B. Pierron
602486a0c0
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
5aaec30202
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
80a06dbe94
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
037b9b36fd
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
99b10983e5
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
1edfae06a0
Bug 1112164 part 2 - Rename ReturnSimdReg to ReturnInt32x4Reg and ReturnFloat32x4Reg. r=bbouvier
2015-02-26 12:18:20 +01:00
Nicolas B. Pierron
924048ae6f
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
52a5714abf
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
5c4535f109
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
a4d6261b39
Bug 1127932 - IonMonkey: Inline SIMD.float32x4.add/sub/mul calls; r=bbouvier
2015-02-24 11:42:48 +01:00
Jon Coppeard
6685089a51
Bug 1136768 - Tidy detection of possibly relocated types r=terrence
2015-02-26 09:04:46 +00:00
Jon Coppeard
7c8c621e4e
Bug 1136046 - Increase maximum capacity of js::HashMap and HashSet r=luke
2015-02-26 09:02:13 +00:00
Jon Coppeard
52a1742276
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
d341543d7d
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.
2015-02-25 19:11:28 -08:00
Nicholas Nethercote
af301d189b
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.
2015-02-25 10:39:46 -08:00
Eric Faust
2958c3cabc
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
dfe4980cd3
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
21eedc2939
Backed out changeset f32c20fcbff0 for landing with incorrect bug number on a CLOSED TREE
2015-02-25 18:41:46 -08:00
Eric Faust
abd3eab36b
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
dbf4ddd6f6
Bug 1066229 - Tests. (r=jorendorff)
2015-02-25 17:30:08 -08:00
Eric Faust
c3812ee127
Bug 1066229 - Part 5: Emitter support for basic ES6 ClassStatements. (r=jorendorff)
2015-02-25 17:30:08 -08:00
Eric Faust
834f675127
Bug 1066229 - Part 4: Create JSOP_INITHIDDENPROP, which adds non-enumerable properties. (r=jorendorff)
2015-02-25 17:30:08 -08:00
Eric Faust
8da201c364
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
6e3a09f93d
Bug 1066229 - Part 2: Factor EmitPropertyList() out of EmitObject(). (r=jorendorff)
2015-02-25 17:30:08 -08:00
Eric Faust
10b7fa1160
Bug 1066229 - Part 1: Create a clean way to emit lexical initializers. (r=jorendorff)
2015-02-25 17:30:08 -08:00
Eric Faust
49559095cd
Bug 1066227 - Tests. (r=jorendorff)
2015-02-25 17:30:08 -08:00
Eric Faust
62d7c0fbf8
Bug 1066227 - Part 4: Reflect.parse support for ClassStatements. (r=jorendorff)
2015-02-25 17:30:08 -08:00
Eric Faust
6ef5512719
Bug 1066227 - Part 3: Parser support for basic ES6 ClassStatements (Nightly Only). (r=jorendorff)
2015-02-25 17:30:08 -08:00
Eric Faust
716c14b5e4
Bug 1066227 - Part 2: Rename objectLiteral() propertyList() in preparation for classes. (r=jorendorff)
2015-02-25 17:30:07 -08:00
Eric Faust
4bd836fdab
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
fbd64a8199
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
19d475634f
Bug 1101903 - Part 1: Convert SharedContext::strict to a method. (r=Waldo)
2015-02-25 17:30:07 -08:00
Eric Faust
b9884814c7
Bug 1124362 - Allow strict-reserved names to be method names. (r=jorendorff)
2015-02-25 17:30:07 -08:00
Nick Fitzgerald
79562d4566
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
eb13ff659d
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
d1b4b33a94
Bug 1136397 - Ensure OSR frame scripts have debug instrumentation. (r=jandem)
2015-02-25 16:15:11 -08:00
Kannan Vijayan
c85ef36c15
Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu
2015-02-25 16:43:39 -05:00
Jon Coppeard
f9d01e6348
Bug 1136193 - OSObject issues, r=sfink
2015-02-25 08:41:00 -08:00
Ryan VanderMeulen
24d3abfbf9
Backed out changesets 3de23a29bf71 and d42c64b791e6 (bug 1129510) for debug SM(e) timeouts.
2015-02-25 13:44:19 -05:00
Lars T Hansen
3da508d36e
Bug 1136584 - Fix warning-as-errors error. r=me
2015-02-25 19:13:32 +01:00
Andrew McCreight
06db72813d
Bug 1135772 - Return null on failure in nsXPCWrappedJS's QueryInterface. r=smaug
2015-02-25 09:44:10 -08:00
Lars T Hansen
e29af66fc9
Bug 1136584 - Copy JIT options from global settings. r=bhackett
2015-02-25 18:43:51 +01:00
Kannan Vijayan
dd258f32a0
Bug 1129510 - Fix static analysis test failure on CLOSED TREE.
2015-02-20 18:50:38 -05:00
Hannes Verschore
d352b2a84b
Bug 1131955 - IonBuilder: Add collectRangeInfoPreTrunc to MBoundsCheck, r=sunfish
2015-02-25 17:36:20 +01:00
Kannan Vijayan
923864b511
Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu
2015-02-25 11:26:28 -05:00
Brian Hackett
345de88b62
Bug 1135718 - Convert unboxed plain objects to natives before changing their prototype, r=jandem.
2015-02-25 09:33:04 -06:00
Brian Hackett
39571b4eb0
Bug 1135723 - Traverse layout properties instead of object group properties in makeNativeGroup, handle int32->double coercion in ensureDefiniteType, r=jandem.
2015-02-25 09:29:36 -06:00
Hannes Verschore
f634715801
Bug 1136337 - IonMonkey: Override default alias set for MCheckOverRecursed, r=sstangl
2015-02-25 15:22:49 +01:00
ziyunfei
b7fc6b9236
Bug 1135429 - Object.create shouldn't throw when its second argument is a primitive value. r=till
2015-02-24 08:56:00 +01:00
Nick Fitzgerald
6b895feec3
Bug 1135827 - Don't root more times than necessary in js::SavedStacks::insertFrames. r=jimb
2015-02-24 10:35:00 +01:00
ziyunfei
5e6372e540
Bug 1135560 - Number.{parseInt, parseFloat} should be the same functions as global ones. r=till
2015-02-24 06:57:00 +01:00
Xidorn Quan
0d1e36fdf3
Bug 1135535 part 4 - Fix C4275 dll-interface warning and mark this warning as error in js/src on MSVC. r=luke
...
Fix warning:
js\src\jswrapper.h(58) : error C4275: non dll-interface class 'js::DirectProxyHandler' used as base for dll-interface class 'js::Wrapper'
obj-firefox\dist\include\js/Proxy.h(358) : see declaration of 'js::DirectProxyHandler'
js\src\jswrapper.h(57) : see declaration of 'js::Wrapper'
2015-02-25 15:26:23 +11:00
Xidorn Quan
19301bdb80
Bug 1135535 part 3 - Fix C4258 definition ignored warnings and mark it an error in js/src on MSVC. r=luke
...
Fix warnings:
js\src\vm/UnboxedObject.cpp(212) : error C4258: 'i' : definition from the for loop is ignored; the definition from the enclosing scope is used
js\src\vm/UnboxedObject.cpp(209) : definition of 'i' ignored
js\src\vm/UnboxedObject.cpp(204) : definition of 'i' used
js\src\vm/UnboxedObject.cpp(213) : error C4258: 'i' : definition from the for loop is ignored; the definition from the enclosing scope is used
js\src\vm/UnboxedObject.cpp(209) : definition of 'i' ignored
js\src\vm/UnboxedObject.cpp(204) : definition of 'i' used
2015-02-25 15:26:23 +11:00
Xidorn Quan
ab61da2cfa
Bug 1135535 part 2 - Fix C4067 unexpected token in js/src and mark this warning an error on MSVC. r=luke
...
Fix warning:
js/src/frontend/Parser.cpp(2571) : error C4067: unexpected tokens following preprocessor directive - expected a newline
2015-02-25 15:26:23 +11:00
Xidorn Quan
6188c21e45
Bug 1135535 part 1 - Suppress C4805 unsafe mix type warnings in js/src and mark that warning an error on MSVC. r=luke
...
Suppress warnings:
js\src\asmjs/AsmJSModule.cpp(2060) : error C4805: '!=' : unsafe mix of type 'const uint32_t' and type 'bool' in operation
js\src\jit/BaselineDebugModeOSR.cpp(650) : error C4805: '==' : unsafe mix of type 'bool' and type 'js::Debugger::IsObserving' in operation
js\src\jit/BaselineDebugModeOSR.cpp(670) : error C4805: '==' : unsafe mix of type 'bool' and type 'js::Debugger::IsObserving' in operation
js\src\jit/shared/Assembler-x86-shared.h(2434) : error C4805: '|' : unsafe mix of type 'bool' and type 'int' in operation
js\src\vm/Debugger.cpp(2042) : error C4805: '==' : unsafe mix of type 'bool' and type 'js::Debugger::IsObserving' in operation
js\src\vm/Debugger.cpp(2063) : error C4805: '==' : unsafe mix of type 'bool' and type 'js::Debugger::IsObserving' in operation
js\src\vm/ScopeObject.cpp(823) : error C4805: '|' : unsafe mix of type 'int' and type 'bool' in operation
js\src\vm/SPSProfiler.cpp(81) : error C4805: '==' : unsafe mix of type 'uint32_t' and type 'bool' in operation
2015-02-25 15:26:23 +11:00
Steve Fink
85ce4c2cab
Bug 1133909 check-style bustage resulting in a CLOSED TREE - alphabetize the includes, a=KWierso
2015-02-24 15:09:46 -08:00
Steve Fink
f8688076a8
Bug 1133909 - Fix hazards revealed by adding in new GCPointers, r=terrence
2015-02-24 09:37:13 -08:00
Brian Hackett
1da2a72eb4
Bug 1133369 - Use consistent allocation kinds for new objects after converting an unboxed group, r=jandem.
2015-02-24 16:02:09 -06:00
Brian Hackett
bc93e8af41
Bug 826741 - Use the backtracking register allocator by default, r=jandem.
2015-02-24 15:59:37 -06:00
Boris Zbarsky
8e884d1246
Bug 1134970 part 2. Add JS friend API to quickly copy properties from one object to another if the objects are similar enough. r=bhackett,waldo
2015-02-24 16:04:22 -05:00
Boris Zbarsky
2411ea5abb
Bug 1134970 part 1. Add JS friend API to allocate an object which is guaranteed to have no attached metadata. r=waldo
2015-02-24 16:04:22 -05:00
Boris Zbarsky
ed88313528
Bug 1134969. Make DeepCloneObjectLiteral correctly handle setLastProperty failures. r=waldo
2015-02-24 16:04:22 -05:00
Boris Zbarsky
631071d4af
Bug 1134968. If JS_NewObjectWithGivenProto is passed a null parent and null proto, use the context's current global as the parent. r=waldo
2015-02-24 16:04:22 -05:00
Tooru Fujisawa
86a9d72433
Bug 1135401 - Do not run js1_8_5/extensions/file-mapped-arraybuffers.js test if memory mapped array buffer is not supported. r=sfink
2015-02-25 05:47:01 +09:00
Ryan VanderMeulen
4f50fb6782
Backed out changeset cd6461410a7a (bug 1130439) for frequent SM test timeouts/failures.
...
CLOSED TREE
2015-02-24 15:11:08 -05:00
Ulrich Schoepp
5fcf7bf81e
Bug 1047529 - Move caller field from MResumePoint to MBasicBlock. r=nbp
2015-02-24 14:30:02 -05:00
Jon Coppeard
b856730e30
Backed out changeset 4d1ffad0a2fd (bug 1133759) for octane-splay regression
2015-02-24 16:33:06 +00:00
Dan Gohman
02adb7ddea
Bug 1135903 - OdinMonkey: Check the siginfo si_code field before handling a SIGSEGV r=luke
2015-02-24 07:53:13 -08:00
Dan Gohman
fcc92b68d1
Bug 986981 - OdinMonkey: Optimize addresses with constant offsets on x86 and x64 r=luke
2015-02-24 07:50:14 -08:00
Dan Gohman
d1232f222c
Bug 1122856 - OdinMonkey: Split out the flag that says "bounds checks are unneeded because of signal handling" r=luke
2015-02-24 07:50:14 -08:00
Carsten "Tomcat" Book
dfee368b12
Backed out changeset 7ff335be2c49 (bug 1047529) for causing spidermonkey test failure on a CLOSED TREE
2015-02-24 15:31:15 +01:00
Douglas Crosher
0b8cb2f0d7
Bug 1135537 - DebugOnly.h needed for DebugOnly uses in SavedStacks. r=nfitzgerald
2015-02-24 11:36:12 +11:00
Ulrich Schoepp
1334b1f608
Bug 1047529 - Move caller field from MResumePoint to MBasicBlock. r=nbp
2015-02-20 14:46:00 +01:00
Jon Coppeard
e77d8570d4
Bug 1133759 - Always shrink GC buffers at the end of a shrinking GC, even if we don't compact r=terrence
2015-02-24 09:40:02 +00:00
Jon Coppeard
cccd72bd00
Bug 1135141 - Fix jsapi-test framework to not overwrite original global when createGlobal() fails r=terrence
2015-02-24 09:40:02 +00:00
Jon Coppeard
16c2153df4
Bug 1135141 - Release relocated arenas immediately on last ditch GC r=terrence
2015-02-24 09:40:02 +00:00
Jon Coppeard
cd7aea3989
Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence
2015-02-24 09:40:02 +00:00
Jon Coppeard
1273f6b7ed
Bug 1135100 - Remove Cell* versions of various GC methods forcing callers to use correct type r=terrence
2015-02-24 09:40:02 +00:00
Jon Coppeard
897cfb6589
Bug 1135100 - Don't bother to check if things we don't relocate have been forwarded r=terrence
2015-02-24 09:40:02 +00:00
Jon Coppeard
1092db39e8
Bug 1135100 - Don't update GC thing pointers that haven't changed after marking r=terrence
2015-02-24 09:40:02 +00:00
Shu-yu Guo
68f766cd7e
Bug 1129769 - Followup: ignore indirect function calls from JSStreamWriter's use of std::ostream in hazard analysis. (r=sfink)
2015-02-23 20:33:56 -08:00
Shu-yu Guo
ea54df0fa3
Bug 1131429 - Add a shell function to dump all of a function's tracked optimizations. (r=djvj)
2015-02-23 20:33:56 -08:00
Shu-yu Guo
01e14a347f
Bug 1129780 - Report the youngest sampled frame's line number if it has optimization info. (r=djvj)
2015-02-23 20:33:56 -08:00
Shu-yu Guo
76a818f4c8
Bug 1129769 - Handle more kinds when resolving tracked type names. (r=djvj)
2015-02-23 20:33:56 -08:00