fix JIT support for property accessor with failure argument

This commit is contained in:
Matthew Flatt 2011-07-06 17:10:11 -06:00
parent 4475d12169
commit 8cd1e9ff81

View File

@ -1734,7 +1734,7 @@ static int common4b(mz_jit_state *jitter, void *_data)
}
jit_retval(JIT_R0);
VALIDATE_RESULT(JIT_R0);
if (ii == 1) {
if (i == 1) {
/* second argument was pushed early */
jit_addi_p(JIT_RUNSTACK, JIT_RUNSTACK, WORDS_TO_BYTES(2));
} else {