1
0
forked from GitHub/gf-core

push a stack frame around recursive calls to guarantee that a nested call to a failing function will not crash

This commit is contained in:
kr.angelov
2014-10-06 09:21:08 +00:00
parent 889c0f3df4
commit a50315396f

View File

@@ -1027,7 +1027,10 @@ pgf_jit_function(PgfReader* rdr, PgfAbstr* abstr,
gu_printf(out, err, "\n");
#endif
jit_pushr_p(JIT_R2);
jit_pushr_p(JIT_FP);
jit_movr_p(JIT_FP, JIT_SP);
jit_callr(JIT_R0);
jit_popr_p(JIT_FP);
jit_popr_p(JIT_VCLOS);
break;
}