Commit Graph

193836 Commits

Author SHA1 Message Date
Andreas Gal
2b72c2eac9 Fix signature of insCall in the FuncFilter and remove f2i(i2f) elimination since we shouldn't really ever hit it. 2008-07-17 03:24:17 -07:00
Andreas Gal
acf999080a Merge. 2008-07-17 02:03:56 -07:00
Andreas Gal
8f9536a2a7 Move up addName to make sure it gets inline in non-debug mode. 2008-07-17 02:02:48 -07:00
shaver
f3c23074e0 Add setprop and tests for setprop and cleanup labling code for debug mode (m=gal). 2008-07-17 02:00:23 -07:00
shaver@mozilla.org
3a154456b3 merge, woo 2008-07-17 01:59:58 -07:00
shaver@mozilla.org
ffdbf9b5cd summarize test results 2008-07-17 01:58:34 -07:00
Andreas Gal
8fef5d28f2 Cleanup trace abort handling. 2008-07-17 01:29:41 -07:00
Andreas Gal
08b285515b Merge. 2008-07-17 00:48:30 -07:00
Andreas Gal
805904b536 Fixed ASSERT JS_DOUBLE != JS_VOID issue. If the root fragment fails to compile, trash the type-map and re-capture it when we try to re-compile. 2008-07-17 00:48:10 -07:00
shaver@mozilla.org
cb4192d17a JSOP_LENGTH 2008-07-16 23:53:14 -07:00
Andreas Gal
351af4b843 Merge. 2008-07-16 23:48:42 -07:00
Andreas Gal
f52dc6d698 Increase code cache size. 2008-07-16 23:47:57 -07:00
shaver@mozilla.org
ef3bd8335b 4.2, dammit 2008-07-16 23:44:25 -07:00
Andreas Gal
e8f62f1305 Merge. 2008-07-16 23:39:12 -07:00
Andreas Gal
7b15717303 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
f9a54cfd0a Prefer getarg;length, etc. to getargprop. 2008-07-16 23:33:04 -07:00
shaver@mozilla.org
fc685e043d copy capacity when becoming another list 2008-07-16 23:11:17 -07:00
Andreas Gal
b9519a90b1 Don't clear out arguments, clear out variables at method entry. 2008-07-16 23:04:50 -07:00
Andreas Gal
99721bcb09 Better naming of the after_JSOP_CALL event (EnterFrame). 2008-07-16 23:00:59 -07:00
Andreas Gal
fb9d38a976 Notify the recorder when a new frame was created by JSOP_CALL. 2008-07-16 22:58:06 -07:00
Andreas Gal
60371a4c39 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
ba5b2a2e95 Fixed call tests. 2008-07-16 22:08:59 -07:00
Andreas Gal
e81ced786f 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
f8812377be 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
a9a21285a6 Fix typo in test cases. 2008-07-16 19:10:07 -07:00
Andreas Gal
ed943f0759 Make JSOP_CALLNAME tell us why it doesn't like to trace. 2008-07-16 19:00:14 -07:00
Andreas Gal
69e1d9c637 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
11e24e5bb4 Add testcase for chains for global calls. 2008-07-16 18:08:58 -07:00
Andreas Gal
5e1f1a851b 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
ab2f8416a9 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
bdf79e7935 Add test case for CALLPROP. 2008-07-16 15:53:04 -07:00
Andreas Gal
7e947d706b 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
17c5a0d239 Enable CALLNAME and add test case for it so we can call global functions. 2008-07-16 15:40:35 -07:00
Andreas Gal
e40c27e48d Add test cases for call. 2008-07-16 15:26:51 -07:00
Andreas Gal
3456c6f0ec Make sure this/argv[-1] is set fpr CALLVAR and CALLARG. 2008-07-16 15:13:27 -07:00
Andreas Gal
7298396084 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
465f6c4288 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
4f0e18b670 Synced nanojit with TT tip. 2008-07-16 14:21:31 -07:00
shaver@mozilla.org
c2220078ce fix GETXPROP; thanks to brendan for playing chewbacca 2008-07-16 13:10:17 -04:00
shaver@mozilla.org
5d8295a18c CALLARG, CALLVAR 2008-07-15 23:37:57 -04:00
shaver@mozilla.org
f671e7b977 fix scalpel left in nativeFrameSlots from aborted thisp addition to frame 2008-07-15 23:20:53 -04:00
shaver@mozilla.org
2136865a8a implement JSOP_MOD 2008-07-15 23:19:29 -04:00
shaver@mozilla.org
1c6e05b518 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
14d275934b Fix uncomplete range check for slot numbers of interned globals. 2008-07-15 17:10:52 -07:00
Andreas Gal
6aa74fd10e Added math-partial-sums.js for danderson. 2008-07-15 17:07:24 -07:00
Andreas Gal
0cd1df652c Remove dead code. 2008-07-15 16:25:19 -07:00
Andreas Gal
d0ac13e8c9 Aliasing cleanup for LIR.h. Patch submitted for upstream review. 2008-07-15 16:17:34 -07:00
Andreas Gal
319455e0ce Strict aliasing cleanup. 2008-07-15 16:14:00 -07:00
Andreas Gal
22112d7fad Add a few consts to char* pointers to pacify gcc 4.2. 2008-07-15 16:04:08 -07:00
Andreas Gal
6686004130 Compilation fixes for gcc 4.2. Ripp out write-barrier code in our avmplus glue layer. 2008-07-15 15:58:43 -07:00