Andreas Gal
|
6cfd498b7c
|
Increase code cache size.
|
2008-07-16 23:47:57 -07:00 |
|
Andreas Gal
|
ad6b349616
|
Merge.
|
2008-07-16 23:39:12 -07:00 |
|
Andreas Gal
|
e2a0438e22
|
Fix f2i(i2f) filter (broken since the last TT sync, argument order changed from right to left to left to right).
|
2008-07-16 23:38:39 -07:00 |
|
Brendan Eich
|
13d6469f9b
|
Prefer getarg;length, etc. to getargprop.
|
2008-07-16 23:33:04 -07:00 |
|
shaver@mozilla.org
|
9182a834c4
|
copy capacity when becoming another list
|
2008-07-16 23:11:17 -07:00 |
|
Andreas Gal
|
83ac88d4c7
|
Don't clear out arguments, clear out variables at method entry.
|
2008-07-16 23:04:50 -07:00 |
|
Andreas Gal
|
b243a8350a
|
Better naming of the after_JSOP_CALL event (EnterFrame).
|
2008-07-16 23:00:59 -07:00 |
|
Andreas Gal
|
2442099090
|
Notify the recorder when a new frame was created by JSOP_CALL.
|
2008-07-16 22:58:06 -07:00 |
|
Andreas Gal
|
2379d6dcde
|
Initialize arguments to void and write JSVAL_HOLE's value onto the native stack, not its boxed representation.
|
2008-07-16 22:25:56 -07:00 |
|
Andreas Gal
|
2bb0691553
|
Fixed call tests.
|
2008-07-16 22:08:59 -07:00 |
|
Andreas Gal
|
df5005a322
|
Hand in typemap the recorder is supposed to use (preparation for side exit compilation and trees).
|
2008-07-16 21:49:42 -07:00 |
|
Andreas Gal
|
def4afc614
|
Move the allocation of the LIR buffer and the FragmentInfo data structure creation (which includes typemap and interned global calculation) into loopedge.
|
2008-07-16 21:41:03 -07:00 |
|
Andreas Gal
|
782f2b87ec
|
Fix typo in test cases.
|
2008-07-16 19:10:07 -07:00 |
|
Andreas Gal
|
af95344998
|
Make JSOP_CALLNAME tell us why it doesn't like to trace.
|
2008-07-16 19:00:14 -07:00 |
|
Andreas Gal
|
ef439210ed
|
Add md5.js so we can play with it. We should sweep these test cases into a subdir or just delete them once they trace.
|
2008-07-16 18:10:19 -07:00 |
|
Andreas Gal
|
25c6cd5ff1
|
Add testcase for chains for global calls.
|
2008-07-16 18:08:58 -07:00 |
|
Andreas Gal
|
74f767e62b
|
Fix generation of VOID immediates and initialize rval after the new frame was setup by CALL.
|
2008-07-16 17:44:44 -07:00 |
|
Andreas Gal
|
db7e41ed40
|
Add generic recorder hooks that are called before and after all opcodes as we trace. We might want to instead just move to pre_OP and post_OP.
|
2008-07-16 17:29:08 -07:00 |
|
Andreas Gal
|
dd7be4a81c
|
Add test case for CALLPROP.
|
2008-07-16 15:53:04 -07:00 |
|
Andreas Gal
|
c041bad939
|
Don't intern global function objects onto the native frame since we rarely ever need them anyway (we call them via the property cache).
|
2008-07-16 15:48:51 -07:00 |
|
Andreas Gal
|
7f119dc35a
|
Enable CALLNAME and add test case for it so we can call global functions.
|
2008-07-16 15:40:35 -07:00 |
|
Andreas Gal
|
fe50e4724a
|
Add test cases for call.
|
2008-07-16 15:26:51 -07:00 |
|
Andreas Gal
|
c7714a3ad5
|
Make sure this/argv[-1] is set fpr CALLVAR and CALLARG.
|
2008-07-16 15:13:27 -07:00 |
|
Andreas Gal
|
04ea9e0e09
|
Enable inlining for calls. Deep bailouts (from within side exits) are generated but are not allowed to be ever taken (for now).
|
2008-07-16 15:01:55 -07:00 |
|
Andreas Gal
|
43b7ba1be4
|
Don't use a builtin for this. For functions its interned in the native frame. For global this we read from fp->thisp. Restore jsinterp.cpp and jsinterp.h (no longer need COMPUTE_THIS exposed).
|
2008-07-16 14:36:50 -07:00 |
|
David Anderson
|
5dca2ad552
|
Synced nanojit with TT tip.
|
2008-07-16 14:21:31 -07:00 |
|
shaver@mozilla.org
|
ef9a5dc216
|
fix GETXPROP; thanks to brendan for playing chewbacca
|
2008-07-16 13:10:17 -04:00 |
|
shaver@mozilla.org
|
f8c80ec490
|
CALLARG, CALLVAR
|
2008-07-15 23:37:57 -04:00 |
|
shaver@mozilla.org
|
4937938676
|
fix scalpel left in nativeFrameSlots from aborted thisp addition to frame
|
2008-07-15 23:20:53 -04:00 |
|
shaver@mozilla.org
|
21a3ec3485
|
implement JSOP_MOD
|
2008-07-15 23:19:29 -04:00 |
|
shaver@mozilla.org
|
3a4c348313
|
Trace JSOP_THIS and JSOP_THISPROP.
Rename getprop to get_prop, just because.
Extract COMPUTE_THIS to jsinterp.h as JS_COMPUTE_THIS for reuse in tracer.
|
2008-07-15 21:37:00 -04:00 |
|
Andreas Gal
|
21490a6e41
|
Fix uncomplete range check for slot numbers of interned globals.
|
2008-07-15 17:10:52 -07:00 |
|
Andreas Gal
|
e4c2afffe8
|
Added math-partial-sums.js for danderson.
|
2008-07-15 17:07:24 -07:00 |
|
Andreas Gal
|
47d2c66cc7
|
Remove dead code.
|
2008-07-15 16:25:19 -07:00 |
|
Andreas Gal
|
d9110d8393
|
Aliasing cleanup for LIR.h. Patch submitted for upstream review.
|
2008-07-15 16:17:34 -07:00 |
|
Andreas Gal
|
cd739bdb35
|
Strict aliasing cleanup.
|
2008-07-15 16:14:00 -07:00 |
|
Andreas Gal
|
3aeb53f580
|
Add a few consts to char* pointers to pacify gcc 4.2.
|
2008-07-15 16:04:08 -07:00 |
|
Andreas Gal
|
7c24d0f34d
|
Compilation fixes for gcc 4.2. Ripp out write-barrier code in our avmplus glue layer.
|
2008-07-15 15:58:43 -07:00 |
|
Andreas Gal
|
d69aca5be6
|
Merge.
|
2008-07-15 15:54:07 -07:00 |
|
Andreas Gal
|
d834427e36
|
Switch tracemonkey over to gcc-4.2 on macosx. We need a compiler that was released in this millenium so we can use SSE2-based calling conventions.
|
2008-07-15 15:53:38 -07:00 |
|
shaver@mozilla.org
|
3693365174
|
rename getpropfromval, it burns mine eyes
|
2008-07-15 18:29:42 -04:00 |
|
Andreas Gal
|
1b783425aa
|
Assign blame where blame is due.
|
2008-07-15 15:05:16 -07:00 |
|
Andreas Gal
|
cbf4813605
|
Merge.
|
2008-07-15 13:14:05 -07:00 |
|
Andreas Gal
|
42d91c123d
|
Add missing namespace use (pending upstream for review.)
|
2008-07-15 13:12:14 -07:00 |
|
Andreas Gal
|
a81b83090e
|
Sync with TT.
|
2008-07-15 13:06:05 -07:00 |
|
shaver@mozilla.org
|
919139d11b
|
initialize dslots_ins
|
2008-07-15 13:40:11 -04:00 |
|
Brendan Eich
|
3ccdb62685
|
Propagate error exceptions from TraceRecorder ctor; fiddle/trim space.
|
2008-07-15 10:26:15 -07:00 |
|
shaver@mozilla.org
|
7d7ece76a8
|
GETVARPROP, GETARGPROP, GETXPROP
|
2008-07-15 13:17:51 -04:00 |
|
shaver@mozilla.org
|
409bb7f29d
|
more ABORT_TRACE instrumentation (some should be asserts?)
|
2008-07-15 09:07:54 -04:00 |
|
Andreas Gal
|
5848fd6694
|
Generate a list of interned global slots (gslots) when we process the tree header. This list is then used whenever we iterate over the native frame. This is faster and safer than looking up properties in the global object every time.
|
2008-07-15 01:53:39 -07:00 |
|