Skip to content
Snippets Groups Projects
Commit eb8c8717 authored by gambas's avatar gambas
Browse files

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.
parent 3f7095bb
No related branches found
No related tags found
No related merge requests found
Pipeline #51292546 passed
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment