Commit cd3d4b5e authored by Clemens Backes's avatar Clemens Backes Committed by V8 LUCI CQ

[wasm][test] Fix for gcc 7.4

This fixes a compiler warning on gcc 7.4.

R=ahaas@chromium.org
CC=machenbach@chromium.org

Bug: v8:11716
Change-Id: I385765f1ac3de17eea1bb56109869636f8ae9d95
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2862779
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Auto-Submit: Clemens Backes <clemensb@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74310}
parent a43f3818
......@@ -246,7 +246,9 @@ class TrapHandlerTest : public TestWithIsolate,
.Call();
EXPECT_TRUE(g_test_handler_executed);
g_test_handler_executed = false;
if (check_wasm_flag) EXPECT_FALSE(GetThreadInWasmFlag());
if (check_wasm_flag) {
EXPECT_FALSE(GetThreadInWasmFlag());
}
}
bool test_handler_executed() { return g_test_handler_executed; }
......
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