aot pass all tests
This commit is contained in:
@@ -5366,6 +5366,10 @@ JSValue js_regexp_toString (JSContext *ctx, JSValue this_val, int argc, JSValue
|
||||
|
||||
int lre_check_timeout (void *opaque) {
|
||||
JSContext *ctx = opaque;
|
||||
if (cell_rt_native_active ()) {
|
||||
atomic_store_explicit (&ctx->pause_flag, 0, memory_order_relaxed);
|
||||
return 0;
|
||||
}
|
||||
return atomic_load_explicit (&ctx->pause_flag, memory_order_relaxed) >= 2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user