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..7caf1492958a9d21fa02c79af7a3fa7ebfbb22a0 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* may_produced_nan) { |
titzer
2016/10/20 10:53:24
Same here. s/may_produced_nan/possible_nondetermin
ahaas
2016/10/20 13:43:23
Done.
|
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); |
} |
+ *may_produced_nan = thread->MayProducedNaN(); |
if (interpreter_result == WasmInterpreter::FINISHED) { |
WasmVal val = thread->GetReturnValue(); |
return val.to<int32_t>(); |