| Index: test/common/wasm/wasm-module-runner.cc
|
| diff --git a/test/common/wasm/wasm-module-runner.cc b/test/common/wasm/wasm-module-runner.cc
|
| index 01c4b624b09a08e542acbcf46db826b17e56e8f1..7629233ed94bb3eedc0f510e0c185c25c2a71c7f 100644
|
| --- a/test/common/wasm/wasm-module-runner.cc
|
| +++ b/test/common/wasm/wasm-module-runner.cc
|
| @@ -114,7 +114,7 @@ int32_t CompileAndRunWasmModule(Isolate* isolate, const byte* module_start,
|
|
|
| int32_t InterpretWasmModule(Isolate* isolate, ErrorThrower* thrower,
|
| const WasmModule* module, int function_index,
|
| - WasmVal* args) {
|
| + WasmVal* args, bool* possible_nondeterminism) {
|
| CHECK(module != nullptr);
|
|
|
| Zone zone(isolate->allocator(), ZONE_NAME);
|
| @@ -165,6 +165,7 @@ int32_t InterpretWasmModule(Isolate* isolate, ErrorThrower* thrower,
|
| if (instance.mem_start) {
|
| free(instance.mem_start);
|
| }
|
| + *possible_nondeterminism = thread->PossibleNondeterminism();
|
| if (interpreter_result == WasmInterpreter::FINISHED) {
|
| WasmVal val = thread->GetReturnValue();
|
| return val.to<int32_t>();
|
|
|