Commit Graph

37485 Commits

Author SHA1 Message Date
Boris Zbarsky
aae44cf505 Bug 1112934. Tell MGetDOMMember what its result type is so it can do a typed slot load. r=jandem 2015-01-02 17:18:16 -05:00
Boris Zbarsky
616841709b Bug 1113018. Stop manually moving things into ScratchReg in the x86-64 version of extractObject; just rely on unboxNonDouble doing the right thing as needed. r=sunfish 2015-01-02 17:09:14 -05:00
Boris Zbarsky
15c65b6f4d Bug 1113025. Fix MGetDOMMember::congruentTo to work correctly. r=jandem 2015-01-02 17:09:05 -05:00
Boris Zbarsky
2babbab449 Bug 1111164 part 4. Switch to typed reserved slot gets in String.js. r=jorendorff 2015-01-02 17:08:34 -05:00
Boris Zbarsky
2620909ce6 Bug 1111164 part 3. Switch to typed reserved slot gets in TypedObject.js. r=sfink 2015-01-02 17:08:33 -05:00
Boris Zbarsky
ae7ca098dc Bug 1111164 part 2. Switch to typed reserved slot gets in Array.js. r=jorendorff 2015-01-02 17:08:33 -05:00
Boris Zbarsky
910379cbae Bug 1111164 part 1. Add infrastructure for doing typed reserved slot gets in self-hosted code and having the resulting unboxing be unconditional in Ion. r=jandem 2015-01-02 17:08:33 -05:00
Chris Peterson
96586f375e Bug 1115477 - Fix -Wunused and -Wtype-limits warnings in js/src. r=jandem 2014-12-24 21:06:21 -08:00
Steve Fink
4ef5ff92b3 Bug 1109336 - Track granular timings within Mark Roots, r=terrence
--HG--
extra : rebase_source : 64400e53a2ebd6397f92aefd54428853cd9fb095
2014-12-31 14:45:56 -08:00
Wes Kocher
2ab57c410e Backed out 5 changesets (bug 1099152) for hazard build failures on a CLOSED TREE
Backed out changeset 3d195c54dcf1 (bug 1099152)
Backed out changeset e5a903979b5f (bug 1099152)
Backed out changeset 969965f4c893 (bug 1099152)
Backed out changeset 1e4e3b85c620 (bug 1099152)
Backed out changeset 501a22044336 (bug 1099152)
2015-01-02 12:43:48 -08:00
Jon Coppeard
836cb8adcd Bug 1099152 - Fix test failures on inbound in compacting GC (ggc) build r=me 2015-01-02 18:08:25 +00:00
Jon Coppeard
08d71d0304 Bug 1099152 - Make external GC APIs take invocation kind as a parameter r=terrence r=mccr8 2015-01-02 17:19:43 +00:00
Jon Coppeard
0bd9ea358c Bug 1099152 - Separate out external APIs to start and continute an incremental GC r=terrence r=mccr8 2015-01-02 17:19:43 +00:00
Jon Coppeard
ae4c53dcda Bug 1099152 - Separate out methods to start and continue incrmental GC r=terrence 2015-01-02 17:19:43 +00:00
Jon Coppeard
bd82bcca87 Bug 1099152 - Call gcSlice() or gc() depending on whether we want a incemental GC or not r=terrence 2015-01-02 17:19:43 +00:00
Nicolas B. Pierron
c7339d8eec Bug 1115388 - Use shift instead of switch case to extract SIMD type properties. r=bbouvier 2015-01-02 18:14:45 +01:00
Nicolas B. Pierron
fc3db0ab40 Bug 1115388 - Make Simd instructions, accepting Float32 operands, valid Float32 consumers. r=bbouvier 2015-01-02 18:14:45 +01:00
Nicolas B. Pierron
0f716ab3f2 Bug 1115387 - Create templateObject for SIMD constructors. r=jandem 2015-01-02 18:14:45 +01:00
Nicolas B. Pierron
da7dc1d3ce Bug 1114569 - Discard RInstructionResults while handling exceptions. r=h4writer 2015-01-02 18:10:26 +01:00
Ehsan Akhgari
4d53f79554 Backout changeset 3cc992814a7e (bug 882779) because it is no longer needed 2015-01-02 00:55:53 -05:00
Brian Hackett
9e08b2834a Bug 1115246 - Use return value consistently in getConstantValue, r=jandem. 2015-01-01 09:30:32 -07:00
Tom Schuster
453e2241bb Bug 1113980 - Try to fix a bug with [[Set]] and old proxies. r=Waldo 2015-01-01 16:42:41 +01:00
Terrence Cole
99b515f36f Bug 1110931 - Make heapState an Atomic; r=jonco 2014-12-18 10:16:58 -08:00
Terrence Cole
ff18d2ab6c Bug 1114058; r=jonco
--HG--
extra : rebase_source : 2a8de9b4623a89221f963901324766361b28928f
2014-12-22 15:55:05 -08:00
Jon Coppeard
451ab7870e Bug 1116455 - Use isIncrementalGCInProgress() rather than checking the state explicitly r=terrence 2014-12-31 10:40:34 +00:00
Jon Coppeard
5945283118 Bug 1116455 - Move Zone::isCloseToAllocTrigger() method to ZoneHeapThreshold class r=terrence 2014-12-31 10:36:04 +00:00
Ehsan Akhgari
19ee4d64dc Bug 1083694 follow-up: Mark two constructors as explicit in order to fix the build bustage 2014-12-30 12:39:34 -05:00
Dan Gohman
edfdc45e4e Bug 1115766 - IonMonkey: Generalize the regalloc constraints for LSimdShuffle r=bbouvier 2014-12-30 09:07:31 -08:00
Hannes Verschore
a88659191a Bug 1083694 - TraceLogger: Part 10: Adjust JIT bits to be unfallible, r=bhackett 2014-12-30 16:34:26 +01:00
Hannes Verschore
693477d468 Bug 1083694 - TraceLogger: Part 9: Create dummy of rdtsc for all platforms, r=bbouvier 2014-11-20 17:44:05 +01:00
Hannes Verschore
22b725a42c Bug 1083694 - TraceLogger: Part 8: Handle quotes in filenames, r=bbouvier 2014-11-20 17:44:05 +01:00
Hannes Verschore
d9c61b03ef Bug 1083694 - TraceLogger: Part 7: Add some basic tests, r=h4writer 2014-11-20 17:44:05 +01:00
Hannes Verschore
a3680f6607 Bug 1083694 - TraceLogger: Part 6: Fix --disable-trace-logging, r=till 2014-11-20 17:44:04 +01:00
Hannes Verschore
00ccfeac65 Bug 1083694 - TraceLogger: Part 5: Add TraceLogEvent to refer to specific events, r=bbouvier 2014-11-20 17:44:04 +01:00
Hannes Verschore
069b34da29 Bug 1083694 - TraceLogger: Part 4: Make it possible to log inlined IonMonkey frames, r=bbouvier 2014-11-20 17:44:04 +01:00
Hannes Verschore
bbdab9fc0f Bug 1083694 - TraceLogger: Part 3: Don't use EventEntry in TraceLoggerGraph, r=bbouvier 2014-11-20 17:44:03 +01:00
Hannes Verschore
9ce3759c14 Bug 1083694 - TraceLogger: Part 2: Split meaning of Script into AnnotateScript and Script (called), r=till 2014-11-20 17:44:03 +01:00
Hannes Verschore
dd170de371 Bug 1072910 - TraceLogger: Create hooks for the debugger, r=bbouvier 2014-11-20 17:44:02 +01:00
Hannes Verschore
85c8533185 Bug 1072906 - TraceLogger: Part 2: Improve the interface to setup the tracelogger, r=bbouvier 2014-11-20 17:44:02 +01:00
Hannes Verschore
a447b8610f Bug 1072906 - TraceLogger: Part 1: Make it possible to toggle text ids dynamically in Baseline and IonMonkey, r=jandem 2014-11-20 17:44:02 +01:00
Hannes Verschore
c4769956a2 Bug 1072903 - TraceLogger: Part 7: Disable TraceLoggerGraph by default, r=bbouvier 2014-11-20 17:44:01 +01:00
Hannes Verschore
7f50ef8bfe Bug 1072903 - TraceLogger: Part 6: Add locking logic for TraceLoggerGraph, r=bbouvier 2014-11-20 17:44:01 +01:00
Hannes Verschore
d1134e0535 Bug 1072903 - TraceLogger: Part 5: Log whenever tracelogger gets enabled or disabled, r=bbouvier 2014-11-20 17:44:01 +01:00
Hannes Verschore
d66a98553b Bug 1072903 - TraceLogger: Part 4: Free things accordingly, r=bbouvier 2014-11-20 17:44:00 +01:00
Hannes Verschore
a40fcb56da Bug 1072903 - TraceLogger: Part 3: Refactor into TraceLoggerGraph, TraceLoggerThread and TraceLoggerThreadState, r=bbouvier 2014-11-20 17:44:00 +01:00
Hannes Verschore
dce9cbae2b Bug 1072903 - TraceLogger: Part 2: Adjust how to retrieve the tracelogger text ids, r=bbouvier 2014-11-20 17:43:59 +01:00
Hannes Verschore
f9ebeb0825 Bug 1072903 - TraceLogger: Part 1.5: Fix iterations of stack when getting enabled, r=nbp 2014-11-20 17:43:59 +01:00
Hannes Verschore
6d65b63c66 Bug 1072903 - TraceLogger: Part 1: Remove static array and use function to retrieve the tracelogger text descriptions, r=bbouvier 2014-11-20 17:43:59 +01:00
Hannes Verschore
46bdf42751 Bug 996509 - TraceLogger: Make it possible to toggle TraceLogger_Engine on and off, r=bbouvier 2014-11-20 17:43:58 +01:00
Hannes Verschore
f12adc6c4f Bug 996509 - TraceLogger: Make it possible to toggle TraceLogger_Script on and off, r=bbouvier 2014-11-20 17:43:58 +01:00
Hannes Verschore
4c68707ceb Bug 1071546 - TraceLogger: Build tracelogger by default, r=till,glandium 2014-11-20 17:43:58 +01:00
Hannes Verschore
bfed02dc28 Bug 1114981 - IonMonkey: Don't increase the return typeset during inlining, r=jandem 2014-12-30 15:57:01 +01:00
ziyunfei
42aa94533b Bug 1115817 - Implement %TypedArray%.prototype.join. r=evilpie 2014-12-29 19:24:00 +01:00
Carsten "Tomcat" Book
7417540faa Backed out changeset 1c9c64027cac (bug 1115387) for bustage on a CLOSED TREE 2014-12-30 15:27:25 +01:00
Carsten "Tomcat" Book
c80f0dc886 Backed out changeset d8a111f0fb64 (bug 1115388) 2014-12-30 15:26:56 +01:00
Carsten "Tomcat" Book
35ede627e3 Backed out changeset 94a046dfcb49 (bug 1115388) 2014-12-30 15:26:51 +01:00
Nicolas B. Pierron
ad19df615d Bug 1115388 - Use shift instead of switch case to extract SIMD type properties. r=bbouvier 2014-12-30 15:01:53 +01:00
Nicolas B. Pierron
f6542523ea Bug 1115388 - Make Simd instructions, accepting Float32 operands, valid Float32 consumers. r=bbouvier 2014-12-30 15:01:53 +01:00
Nicolas B. Pierron
def506329e Bug 1115387 - Create templateObject for SIMD constructors. r=jandem 2014-12-30 15:01:52 +01:00
Dan Gohman
5a0eb29b64 Bug 1115766 - SpiderMonkey: Eliminate a copy in shuffleFloat32 with AVX r=bbouvier 2014-12-29 22:15:32 -08:00
Dan Gohman
d26d5e3d1b Bug 1115766 - SpiderMonkey: Don't give LMulI an extra non-use-at-start use when it doesn't need one r=bbouvier 2014-12-29 22:15:30 -08:00
Dan Gohman
1a19834b43 Bug 1115742 - OdinMonkey: Don't canonicalize NaNs in asm.js mode r=luke 2014-12-29 22:15:28 -08:00
Dan Gohman
1951c22d6d Bug 1116367 - SpiderMonkey: Use mozilla/IntegerPrintfMacros.h instead of inttypes.h r=Waldo 2014-12-29 20:27:04 -08:00
Wes Kocher
2cbf7ce33c Backed out changeset 9878f361d7f7 (bug 1115246) to see if it fixes linux builds on a CLOSED TREE 2014-12-29 16:35:04 -08:00
Brian Hackett
0e0590433e Bug 1115246 - Assertion failure: !cx->isExceptionPending(), at js/src/jscntxtinlines.h, r=jandem 2014-12-29 16:02:49 -08:00
Johannes Schulte
32b83e1e5b Bug 1007631 - Enable the innerize-window optimization for getters; r=jandem 2014-11-14 17:53:11 +01:00
Hannes Verschore
a88f842f6f Bug 1115665: Don't do beta optimizations for Compare_Value compares, r=jandem 2014-12-29 21:48:42 +01:00
Tooru Fujisawa
26b6bf3865 Bug 1115996 - Fix comment for JS_GetExternalStringFinalizer. r=luke 2014-12-30 03:22:51 +09:00
Tooru Fujisawa
d78ce013d5 Bug 1115986 - Fix JS_GetLatin1InternedStringChars identifier. r=terrence 2014-12-30 03:22:49 +09:00
Jon Coppeard
eb8fe4ffcf Bug 1032750 - Don't update GC triggers on uncollected zones r=terrence 2014-07-02 08:05:58 +01:00
Benjamin Bouvier
514348c3a1 Bug 1110164: Add bitselect to asm.js; r=luke
--HG--
extra : rebase_source : aeb34577dbf3b6a94cdfae8b5ae8ca3ff3d4799e
extra : histedit_source : e27cd5133d972d08798c487104c2430dbd715f09
2014-12-22 18:42:52 +01:00
Benjamin Bouvier
0b178c6085 Bug 1110164: Rename Select into BitSelect in the interpreter and implement Select in the interpreter; r=till
By the way, merge test files and generalizes them.

--HG--
extra : rebase_source : 82fcae7419bc032a4901d06d2d1b9f0934010c6f
extra : histedit_source : 8a835946afa6cf587777dbbfaeca0ccc6f16d486
2014-12-22 18:44:34 +01:00
Benjamin Bouvier
13212c14c9 Bug 1110164: Extend MSimdSelect to also handle element-wise select; r=sunfish
--HG--
extra : rebase_source : 4502a8718d467da247d481476013e8b718f2f38a
extra : histedit_source : 9dd605bf892aa843cc892ab9f0fa07925225df85%2C765790385369b77fa4f13a6921d79109666a9017
2014-12-29 18:04:47 +01:00
Benjamin Bouvier
c0814c8733 Bug 1110164: Rename MSimdTernaryBitwise into MSimdSelect; r=sunfish
It doesn't seem there will be other ternary SIMD operators at the moment.

--HG--
extra : rebase_source : 855188755e6b9e91b76f74e9d8a9b01728d050c4
2014-12-22 18:08:47 +01:00
Benjamin Bouvier
060b54b440 Bug 1115043: Ensure that range analysis takes size of element into account when removing bounds checks of AsmJS{Load/Store}Heap; r=luke
--HG--
extra : rebase_source : a7d3b262ca4ac87871da03a37cff99e355533098
2014-12-23 18:24:25 +01:00
Jan de Mooij
8d7dde26c9 Bug 1113643 - Optimize |x instanceof function| in Baseline and optimize more in Ion. r=bhackett 2014-12-29 16:26:39 +01:00
Dan Gohman
8568d7d6b2 Bug 1115754 - SpiderMonkey: Relax branches where the destination is already known r=jandem 2014-12-28 07:04:14 -08:00
Dan Gohman
bbe85ac2f3 Bug 1115748 - SpiderMonkey: Make more stuff valid assembler syntax. r=jandem 2014-12-28 07:04:14 -08:00
Dan Gohman
6f6ca737cc Bug 1115754 - SpiderMonkey: Use EAX encodings for mov instructions r=jandem 2014-12-28 07:04:14 -08:00
Dan Gohman
3009aa44b8 Bug 1115754 - SpiderMonkey: Use alternate encodings to enable 2-byte VEX prefixes for some register-register copies r=jandem 2014-12-28 07:04:13 -08:00
Dan Gohman
ff28d48f2f Bug 1115748 - SpiderMonkey: Add enum values for VEX prefix bytes r=jandem 2014-12-28 07:04:13 -08:00
Dan Gohman
6feaecdb81 Bug 1115752 - SpiderMonkey: VEX encodings for instructions with leading immediates r=jandem 2014-12-28 07:04:13 -08:00
Dan Gohman
2afcad76e3 Bug 1115752 - SpiderMonkey: VEX-encodings for store instructions r=jandem 2014-12-28 07:04:13 -08:00
Dan Gohman
01e654ab7e Bug 1115748 - SpiderMonkey: Use int32_t instead of int for x86 immediates and offsets r=jandem 2014-12-28 07:04:12 -08:00
Dan Gohman
14cb15f03d Bug 1115748 - SpiderMonkey: Use named enums intead of typedefs for anonymous enums r=jandem 2014-12-28 07:04:12 -08:00
Dan Gohman
3fda665c77 Bug 1115752 - SpiderMonkey: VEX encodings for moves, shifts, and multiplies r=jandem 2014-12-28 07:04:12 -08:00
Dan Gohman
1aad3c3ef6 Bug 1115748 - SpiderMonkey: Fix spewing of 8-bit register names affected by REX prefixes r=jandem 2014-12-28 07:04:12 -08:00
Dan Gohman
bd78bc9ac8 Bug 1115752 - SpiderMonkey: Add a better explanation to an assert r=jandem 2014-12-28 07:04:11 -08:00
Dan Gohman
4617d1fa9b Bug 1115754 - SpiderMonkey: Use EAX encodings for arithmetic instructions r=jandem 2014-12-28 07:04:11 -08:00
Dan Gohman
360d8d719a Bug 1115752 - SpiderMonkey: Avoid using disp32 when unnecessary r=jandem 2014-12-28 07:04:11 -08:00
Dan Gohman
f55ae073bb Bug 1115748 - SpiderMonkey: Refactor spewing of x86 memory addresses r=jandem 2014-12-28 07:04:11 -08:00
Dan Gohman
8830beadb2 Bug 1115748 - SpiderMonkey: Assembly spew fixes r=jandem 2014-12-28 07:04:10 -08:00
Shu-yu Guo
dc3be891d4 Bug 1114587 - Bail out in-place for debug mode in exception handler even if there's no pending exception, so that the DebugEpilogue is called. (r=nbp) 2014-12-27 21:03:13 -08:00
Shu-yu Guo
71c71ab2e2 Bug 1115847 - Commit correct version of patch from bug 1100337. (r=me) 2014-12-27 21:03:13 -08:00
Jan de Mooij
b9e58eb1f5 Bug 1114574 - Refactor and improve MCompare::tryFold. r=h4writer 2014-12-27 13:55:06 +01:00
Jeff Walden
fd79213fdc Bug 603201 - Refactor GetElementOperation to call one of two methods to handle gets on primitives and gets on non-primitives. No functionality change. r=efaust
--HG--
extra : rebase_source : 46b5d96282df262d76e0b7bfca213bb1c89b32fc
2014-12-18 00:02:00 -08:00
ziyunfei
8dc8822499 Bug 1111869 - Implement %TypedArray%.prototype.includes. r=till 2014-12-24 07:34:00 -05:00
Tom Schuster
e817caeeff Bug 1101258 - Inline intrinsics IsTypedArray and TypedArrayLength. r=jandem 2014-12-25 18:31:03 +01:00
Hannes Verschore
3a86468909 Backed out changeset b17f6c6b10a1 (bug 1114981) 2014-12-24 16:36:53 +01:00
Hannes Verschore
86e9fdf741 Bug 1114981 - IonMonkey: Don't increase the return typeset during inlining, r=jandem 2014-12-24 15:01:06 +01:00