- improve the stack trace when the jit is active
This commit is contained in:
parent
64bfb1b905
commit
27ecae265d
5 changed files with 120 additions and 7 deletions
|
|
@ -26,9 +26,7 @@ JitFuncPtr JitCompile(VMScriptFunction *sfunc)
|
|||
code.setLogger(&logger);
|
||||
|
||||
JitCompiler compiler(&code, sfunc);
|
||||
CCFunc *func = compiler.Codegen();
|
||||
|
||||
return reinterpret_cast<JitFuncPtr>(AddJitFunction(&code, func));
|
||||
return reinterpret_cast<JitFuncPtr>(AddJitFunction(&code, &compiler));
|
||||
}
|
||||
catch (const CRecoverableError &e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue