aboutsummaryrefslogtreecommitdiff
path: root/src/buildvm_x86.dasc
diff options
context:
space:
mode:
authorMike Pall <mike>2010-03-01 06:46:45 +0100
committerMike Pall <mike>2010-03-01 06:54:35 +0100
commit5d0b65519cca129913e598045d94bef0387164db (patch)
treeda657c18bb60dea5211efe9baa3820fdcacdde86 /src/buildvm_x86.dasc
parente7b737aa1202b06950b4ca4ec206b04bdd5a3681 (diff)
downloadluajit-5d0b65519cca129913e598045d94bef0387164db.tar.gz
luajit-5d0b65519cca129913e598045d94bef0387164db.tar.bz2
luajit-5d0b65519cca129913e598045d94bef0387164db.zip
Enable tracing of recursion.
Now compiles tail-recursion, up-recursion and down-recursion. Benchmarks vs. Lua: fib 20x, ack 23x, binary-trees 4.7x.
Diffstat (limited to 'src/buildvm_x86.dasc')
-rw-r--r--src/buildvm_x86.dasc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buildvm_x86.dasc b/src/buildvm_x86.dasc
index a3e65174..fbeb4f29 100644
--- a/src/buildvm_x86.dasc
+++ b/src/buildvm_x86.dasc
@@ -4790,8 +4790,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
4790 4790
4791 case BC_FUNCF: 4791 case BC_FUNCF:
4792#if LJ_HASJIT 4792#if LJ_HASJIT
4793 | // NYI: Disabled, until the tracer supports recursion/upcalls/leaves. 4793 | hotcall RB
4794 | // hotcall RB
4795#endif 4794#endif
4796 case BC_FUNCV: /* NYI: compiled vararg functions. */ 4795 case BC_FUNCV: /* NYI: compiled vararg functions. */
4797 | // Fall through. Assumes BC_IFUNCF/BC_IFUNCV follow and ins_AD is a no-op. 4796 | // Fall through. Assumes BC_IFUNCF/BC_IFUNCV follow and ins_AD is a no-op.