Commit 9fd0e9c9 authored by swift_gan's avatar swift_gan

tweak jit init checker

parent ec95d24f
......@@ -100,7 +100,7 @@ extern "C" {
}
bool canCompile() {
if (!getGlobalJitCompiler()) {
if (getGlobalJitCompiler() == nullptr || getGlobalJitCompiler() <= 0) {
LOGE("JIT not init!");
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment