bugfix in the RET instruction

This commit is contained in:
kr.angelov
2014-09-29 13:04:49 +00:00
parent cb79e8667e
commit 0d08417efe

View File

@@ -1089,7 +1089,7 @@ pgf_jit_function(PgfReader* rdr, PgfAbstr* abstr,
}
if (b-(a+1) > 0)
jit_subi_p(JIT_SP, JIT_SP, (b-(a+1))*sizeof(PgfClosure*));
jit_addi_p(JIT_SP, JIT_SP, (b-(a+1))*sizeof(PgfClosure*));
jit_bare_ret(a*sizeof(PgfClosure*));
break;
}