Commit 3abe95de authored by Andreas Haas's avatar Andreas Haas Committed by V8 LUCI CQ

[wasm] Add missing ClearThreadInWasmScope

R=clemensb@chromium.org

Bug: chromium:1274976
Change-Id: I7878c44fcf11ef7b8b850ff50cdd1062c6e8122a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3306979Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78160}
parent 667187fc
...@@ -295,6 +295,7 @@ RUNTIME_FUNCTION(Runtime_WasmCompileWrapper) { ...@@ -295,6 +295,7 @@ RUNTIME_FUNCTION(Runtime_WasmCompileWrapper) {
} }
RUNTIME_FUNCTION(Runtime_WasmTriggerTierUp) { RUNTIME_FUNCTION(Runtime_WasmTriggerTierUp) {
ClearThreadInWasmScope clear_wasm_flag(isolate);
HandleScope scope(isolate); HandleScope scope(isolate);
DCHECK_EQ(1, args.length()); DCHECK_EQ(1, args.length());
CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0); CONVERT_ARG_HANDLE_CHECKED(WasmInstanceObject, instance, 0);
......
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