diff options
author | Mike Pall <mike> | 2011-06-03 17:12:46 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-06-03 17:15:44 +0200 |
commit | eec28aa9fdf5f733a4f7d2628fc060eac66ab713 (patch) | |
tree | d37d099e35e86df696d0b130cf98b098cd604d12 /src/lj_opt_split.c | |
parent | 77bb8de93da29cc3b1a3fbc2f605f8b70841657b (diff) | |
download | luajit-eec28aa9fdf5f733a4f7d2628fc060eac66ab713.tar.gz luajit-eec28aa9fdf5f733a4f7d2628fc060eac66ab713.tar.bz2 luajit-eec28aa9fdf5f733a4f7d2628fc060eac66ab713.zip |
Move math helpers to lj_vmmath.c. Add missing log2/exp2 for Symbian.
Diffstat (limited to 'src/lj_opt_split.c')
-rw-r--r-- | src/lj_opt_split.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_opt_split.c b/src/lj_opt_split.c index ea9b6fe3..0a1d87cb 100644 --- a/src/lj_opt_split.c +++ b/src/lj_opt_split.c | |||
@@ -274,7 +274,7 @@ static void split_ir(jit_State *J) | |||
274 | IRIns *irm12 = IR(irm3->op1); | 274 | IRIns *irm12 = IR(irm3->op1); |
275 | IRIns *irl1 = IR(irm12->op1); | 275 | IRIns *irl1 = IR(irm12->op1); |
276 | if (irm12->op1 > J->loopref && irl1->o == IR_CALLN && | 276 | if (irm12->op1 > J->loopref && irl1->o == IR_CALLN && |
277 | irl1->op2 == IRCALL_log2) { | 277 | irl1->op2 == IRCALL_lj_vm_log2) { |
278 | IRRef tmp = irl1->op1; /* Recycle first two args from LOG2. */ | 278 | IRRef tmp = irl1->op1; /* Recycle first two args from LOG2. */ |
279 | IRRef arg3 = irm3->op2, arg4 = irm4->op2; | 279 | IRRef arg3 = irm3->op2, arg4 = irm4->op2; |
280 | J->cur.nins--; | 280 | J->cur.nins--; |