diff options
| author | Mike Pall <mike> | 2009-12-08 19:49:20 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2009-12-08 19:49:20 +0100 |
| commit | 1d1fed48a002dfc0919135911057ebc255a53e0a (patch) | |
| tree | c5c6643908374bb8f02f4c7691332d32f6645986 /src/lj_opt_loop.c | |
| parent | 55b16959717084884fd4a0cbae6d19e3786c20c7 (diff) | |
| download | luajit-2.0.0-beta2.tar.gz luajit-2.0.0-beta2.tar.bz2 luajit-2.0.0-beta2.zip | |
RELEASE LuaJIT-2.0.0-beta2v2.0.0-beta2
Diffstat (limited to 'src/lj_opt_loop.c')
| -rw-r--r-- | src/lj_opt_loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_opt_loop.c b/src/lj_opt_loop.c index adc0c476..05e9409e 100644 --- a/src/lj_opt_loop.c +++ b/src/lj_opt_loop.c | |||
| @@ -286,7 +286,7 @@ static void loop_unroll(jit_State *J) | |||
| 286 | if (!irt_sametype(t, irr->t)) { | 286 | if (!irt_sametype(t, irr->t)) { |
| 287 | if (irt_isnum(t) && irt_isinteger(irr->t)) /* Fix int->num case. */ | 287 | if (irt_isnum(t) && irt_isinteger(irr->t)) /* Fix int->num case. */ |
| 288 | subst[ins] = tref_ref(emitir(IRTN(IR_TONUM), ref, 0)); | 288 | subst[ins] = tref_ref(emitir(IRTN(IR_TONUM), ref, 0)); |
| 289 | else | 289 | else if (!(irt_isinteger(t) && irt_isinteger(irr->t))) |
| 290 | lj_trace_err(J, LJ_TRERR_TYPEINS); | 290 | lj_trace_err(J, LJ_TRERR_TYPEINS); |
| 291 | } | 291 | } |
| 292 | } | 292 | } |
