Searched refs:IsThreadInWasm (Results 1 – 9 of 9) sorted by relevance
138 TH_DISABLE_ASAN inline bool IsThreadInWasm() { return g_thread_in_wasm_code; } in IsThreadInWasm() function142 TH_DCHECK(!IsThreadInWasm()); in SetThreadInWasm()149 TH_DCHECK(IsThreadInWasm()); in ClearThreadInWasm()
88 if (!IsThreadInWasm()) return false; in TryHandleWasmTrap()
77 trap_handler::IsThreadInWasm()); in ClearThreadInWasmScope()82 !trap_handler::IsThreadInWasm()); in ~ClearThreadInWasmScope()106 !trap_handler::IsThreadInWasm()); in RUNTIME_FUNCTION()164 if (trap_handler::IsTrapHandlerEnabled() && trap_handler::IsThreadInWasm()) { in RUNTIME_FUNCTION()
286 return isolate->heap()->ToBoolean(trap_handler::IsThreadInWasm()); in RUNTIME_FUNCTION()
402 if (trap_handler::IsThreadInWasm()) { in SaveAndClearThreadInWasmFlag()
623 F(IsThreadInWasm, 0, 1) \
439 ThreadNotInWasmScope() : thread_was_in_wasm_(trap_handler::IsThreadInWasm()) { in ThreadNotInWasmScope()
656 if (trap_handler::IsThreadInWasm()) { in CallWasm()
1746 !trap_handler::IsThreadInWasm()); in ThrowInternal()1856 !trap_handler::IsThreadInWasm()); in ThrowInternal()