| Index: test/fuzzer/wasm-code.cc
|
| diff --git a/test/fuzzer/wasm-code.cc b/test/fuzzer/wasm-code.cc
|
| index 75a0f48b8dfd071d69b42b2f771a81866d197d81..7a8163badd64189cd27f50cb2292b1669b55664d 100644
|
| --- a/test/fuzzer/wasm-code.cc
|
| +++ b/test/fuzzer/wasm-code.cc
|
| @@ -136,7 +136,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
| i_isolate, instance, &compiler_thrower, "main", arraysize(arguments),
|
| arguments, v8::internal::wasm::ModuleOrigin::kWasmOrigin);
|
| }
|
| - if (result_interpreted == bit_cast<int32_t>(0xdeadbeef)) {
|
| + if (result_interpreted == bit_cast<int32_t>(0xdeadbeef) &&
|
| + !possible_nondeterminism) {
|
| CHECK(i_isolate->has_pending_exception());
|
| i_isolate->clear_pending_exception();
|
| } else {
|
|
|