Don't try to abort JIT compilation if the JIT component is not loaded.
[INTERPRETER] * BUG: Don't try to abort JIT compilation if the JIT component is not loaded.
This commit is contained in:
parent
3f7095bbd9
commit
eb8c871740
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@ void JIT_abort(void)
|
|||
{
|
||||
static GB_FUNCTION _func;
|
||||
|
||||
if (!_component_loaded)
|
||||
return;
|
||||
|
||||
if (GB_GetFunction(&_func, CLASS_find_global("Jit"), "_Abort", NULL, NULL))
|
||||
ERROR_panic("Unable to find JIT._Abort() method");
|
||||
|
||||
|
|
Loading…
Reference in a new issue