Commit Graph

361 Commits

Author SHA1 Message Date
David Anderson
8e4fe7b3e9 [JAEGER] Merge from fatval branch. 2010-06-03 23:04:57 -07:00
Sean Stangl
6833c03c42 [JAEGER] Fix a missed path in InlineEqualityOp(); r=dvander. 2010-06-03 22:33:24 -07:00
Sean Stangl
26f684c3d7 [JAEGER] Implement JSOP_EQ, JSOP_NE; r=dvander 2010-06-03 21:29:03 -07:00
David Anderson
ff56c35cb8 [JAEGER] Added JSOP_CALLARG, workaround for nmap asserts. 2010-06-03 16:16:53 -07:00
Andrew Drake
0691d6d766 [JAEGER] Ensure nmap has a mapping entry for all ops, not just safepoints. r=dvander 2010-06-03 15:50:23 -07:00
David Anderson
45c0e609d2 [JAEGER] Added JSOP_VOID. 2010-06-03 15:27:04 -07:00
David Anderson
74afc2ba2e [JAEGER] Added support for JSOP_NULL. 2010-06-03 15:08:21 -07:00
David Anderson
27f87fcf42 [JAEGER] Fixed assert in FrameState merging. 2010-06-03 13:59:19 -07:00
David Anderson
0c9f982560 [JAEGER] Slight improvement to register movement in sync path. 2010-06-02 19:07:58 -07:00
David Anderson
e8bd3a6f72 Merge. 2010-06-02 18:59:23 -07:00
David Anderson
d203d9aee3 [JAEGER] Allocate registers for local variables (GET/SETLOCAL). 2010-06-02 18:57:52 -07:00
David Anderson
a56d7ce464 [JAEGER] Fixed bug in comparison stub calls. 2010-06-02 16:48:41 -07:00
Andrew Drake
eef45a5ee7 [JAEGER] Fix nmap not being saved in JSScript properly r=dvander 2010-06-02 16:45:45 -07:00
David Anderson
b2c052e23b [JAEGER] Fixed crash where tail of slow fused compare op ran overboard. 2010-06-02 15:57:36 -07:00
David Anderson
50edbde73a [JAEGER] Added JSOP_TRUE, JSOP_FALSE. 2010-06-02 15:33:36 -07:00
David Anderson
03ba62a0cc [JAEGER] Fixed JSOP_SETNAME not ordering the stack correctly. 2010-06-02 15:25:53 -07:00
David Anderson
37e94e6030 [JAEGER] Fixed JSOP_STOP clobbering fp->rval. 2010-06-02 14:25:30 -07:00
Sean Stangl
29eb2211f9 [JAEGER] Handle JSOP_POPV; re=dvander. 2010-06-02 14:11:46 -07:00
David Anderson
e30e08a407 [JAEGER] Re-added script->nmap creation. 2010-06-02 02:09:17 -07:00
David Anderson
9c9903f6dc [JAEGER] Added JSOP_GETARG. 2010-06-01 11:12:50 -07:00
David Anderson
25c5fc6b60 [JAEGER] Fixed opt build. 2010-05-31 23:03:42 -07:00
David Anderson
18209b07ab [JAEGER] Added JSOP_LT,LE,GT,GE,STRING with fast-paths. 2010-05-31 22:44:00 -07:00
David Anderson
e60d435fae [JAEGER] Enhanced constant-folding of rel ops. 2010-05-31 03:19:46 -07:00
David Anderson
3cef63ff88 [JAEGER] Constant fold LT,LE,GT,GE. 2010-05-31 02:17:05 -07:00
David Anderson
fe92fc9287 [JAEGER] Fixed bug in stubs::Name(). 2010-05-31 00:59:45 -07:00
David Anderson
8ddd668df0 [JAEGER] Fixed JSOP_STOP w/ inline calls. 2010-05-31 00:41:31 -07:00
David Anderson
8b3a220284 [JAEGER] Fixed bug where constants weren't unsynced on push. 2010-05-31 00:03:31 -07:00
David Anderson
2f59b29548 [JAEGER] Added JSOP_DEFFUN, JSOP_NOP. 2010-05-30 23:51:32 -07:00
David Anderson
5bdf03d38d [JAEGER] Implemented register eviction algorithm. 2010-05-30 23:37:04 -07:00
David Anderson
c4bb991d3b [JAEGER] Implemented CALL. 2010-05-30 23:18:39 -07:00
David Anderson
fa4bfd26db [JAEGER] Added JSOP_CALLNAME. 2010-05-30 22:46:39 -07:00
David Anderson
945f036f29 [JAEGER] Fixed pointless assert. 2010-05-30 20:19:25 -07:00
David Anderson
ff19a371e5 [JAEGER] Fixed mem corruption bug. 2010-05-30 20:16:10 -07:00
David Anderson
c8844c4d54 [JAEGER] Build fixes. 2010-05-30 20:13:07 -07:00
David Anderson
403f03ea8f [JAEGER] Fixed bugs in allocating temp registers for FEs. 2010-05-30 19:57:01 -07:00
David Anderson
bf470f73e5 [JAEGER] Added JSOP_GLOBALINC, JSOP_GLOBALDEC, JSOP_INCGLOBAL, JSOP_DECGLOBAL. 2010-05-30 19:44:29 -07:00
David Anderson
aad4b0b970 [JAEGER] Common function for computing obj slot refs; improved regalloc on GETGLOBAL. 2010-05-30 14:37:18 -07:00
David Anderson
a822a2418e [JAEGER] Fixed bug in slow path side exit generation. 2010-05-30 01:10:02 -07:00
David Anderson
536a5700bd [JAEGER] Finished initial stub-call mechanism, added BITAND. 2010-05-30 01:01:41 -07:00
David Anderson
299e5d9436 [JAEGER] Stub call exits now work. 2010-05-29 23:33:51 -07:00
David Anderson
d8f2a30535 [JAEGER] Fix bugs, inline FrameState.h.
--HG--
rename : js/src/methodjit/FrameState.cpp => js/src/methodjit/FrameState-inl.h
2010-05-29 22:43:38 -07:00
David Anderson
14f8391316 [JAEGER] New FrameState.
--HG--
rename : js/src/methodjit/nunbox/FrameEntry.h => js/src/methodjit/FrameEntry.h
rename : js/src/methodjit/nunbox/FrameState.cpp => js/src/methodjit/FrameState.cpp
rename : js/src/methodjit/nunbox/FrameState.h => js/src/methodjit/FrameState.h
2010-05-29 21:48:13 -07:00
David Anderson
f0554c5969 [JAEGER] Added JSOP_NAME. 2010-05-28 00:54:01 -07:00
David Anderson
8a7b8a54b3 [JAEGER] Fixed bug in syncing doubles. 2010-05-28 00:42:40 -07:00
David Anderson
0c73bb07e6 [JAEGER] Jumps in-between the slow and fast paths now work. 2010-05-28 00:30:35 -07:00
David Anderson
e3ed2f13e8 [JAEGER] Start filling out the register allocator and stub call mechanism. 2010-05-27 21:26:19 -07:00
David Anderson
035b69b6f3 [JAEGER] Added common call functionality to BaseAssembler. 2010-05-26 17:49:34 -07:00
David Anderson
1faf352c4e [JAEGER] Sub-classed mjit::Assembler from new mjit::BaseAssembler. 2010-05-26 17:18:42 -07:00
David Anderson
af1490ea97 [JAEGER] Start of stub-call compiler; sub-classed MacroAssembler into mjit::Assembler.
--HG--
rename : js/src/methodjit/Stubs.cpp => js/src/methodjit/StubCalls.cpp
rename : js/src/methodjit/Stubs.h => js/src/methodjit/StubCalls.h
2010-05-26 17:08:08 -07:00
David Anderson
31c3867c05 [JAEGER] Added RematInfo header. 2010-05-26 00:33:57 -07:00
David Anderson
88963dc176 [JAEGER] House cleaning... re-org.
--HG--
rename : js/src/methodjit/CodeGen_NaN32.cpp => js/src/methodjit/nunbox/CodeGenerator.cpp
rename : js/src/methodjit/CodeGenerator.h => js/src/methodjit/nunbox/CodeGenerator.h
rename : js/src/methodjit/FastOps.cpp => js/src/methodjit/nunbox/FastOps.cpp
rename : js/src/methodjit/FrameEntry.h => js/src/methodjit/nunbox/FrameEntry.h
rename : js/src/methodjit/FrameState.cpp => js/src/methodjit/nunbox/FrameState.cpp
rename : js/src/methodjit/FrameState.h => js/src/methodjit/nunbox/FrameState.h
2010-05-26 00:21:47 -07:00
David Anderson
935d205ba8 [JAEGER] Added JSOP_DOUBLE. 2010-05-25 22:42:43 -07:00
David Anderson
fa0822d446 [JAEGER] Start of BINDNAME. 2010-05-25 22:31:08 -07:00
David Anderson
b482f72bf4 [JAEGER] Added JSOP_GOTO support. 2010-05-25 18:21:10 -07:00
David Anderson
1379800b5c [JAEGER] Quick fix-up for new values.
--HG--
rename : js/src/methodjit/CodeGenerator.cpp => js/src/methodjit/CodeGen_FatVals.cpp
rename : js/src/methodjit/CodeGenerator.cpp => js/src/methodjit/CodeGen_NaN32.cpp
2010-05-25 17:00:57 -07:00
David Anderson
e7dd547963 [JAEGER] Added register state verification & fixes for subsequent bugs it found. 2010-05-25 16:03:34 -07:00
David Anderson
0de6cef48c Added a bunch of the UINT/INT opcodes. 2010-05-25 14:38:39 -07:00
David Anderson
61f3596d3c [JAEGER] Initial import of new compiler layout. 2010-05-25 14:14:13 -07:00
David Anderson
ef81792b37 [JAEGER] Re-added JIT script releasing. 2010-05-22 17:45:52 -07:00
David Anderson
167ee00231 [JAEGER] Enabled method JIT backend. 2010-05-22 17:41:21 -07:00
David Anderson
9f1aa534da Import method JIT 'outer' framework. 2010-05-22 17:09:52 -07:00