fix bug in inlined unsafe arithmetic branch

svn: r16431
This commit is contained in:
Matthew Flatt 2009-10-26 16:40:18 +00:00
parent c84296c42d
commit 535958988c

View File

@ -3818,6 +3818,8 @@ static int generate_arith(mz_jit_state *jitter, Scheme_Object *rator, Scheme_Obj
}
--jitter->unbox;
jitter->unbox_depth -= (rand2 ? 2 : 1);
if (for_branch)
mz_rs_sync(); /* needed if arguments were unboxed */
generate_double_arith(jitter, arith, cmp, 0, !!rand2, 0,
&refd, &refdt, branch_short, 1, 1, jitter->unbox);
CHECK_LIMIT();