Index: test/cctest/wasm/wasm-module-runner.h |
diff --git a/test/cctest/wasm/wasm-module-runner.h b/test/cctest/wasm/wasm-module-runner.h |
index 5af466f4dfebbe3e851ae0ec0aeeb48c96ea3b99..a28b3cb944321ff89c19ef87a220cc8e1d630079 100644 |
--- a/test/cctest/wasm/wasm-module-runner.h |
+++ b/test/cctest/wasm/wasm-module-runner.h |
@@ -33,12 +33,12 @@ const Handle<JSObject> InstantiateModuleForTesting(Isolate* isolate, |
int32_t CallWasmFunctionForTesting(Isolate* isolate, Handle<JSObject> instance, |
ErrorThrower& thrower, const char* name, |
int argc, Handle<Object> argv[], |
- bool asm_js = false); |
+ ModuleOrigin origin); |
// Decode, verify, and run the function labeled "main" in the |
// given encoded module. The module should have no imports. |
int32_t CompileAndRunWasmModule(Isolate* isolate, const byte* module_start, |
- const byte* module_end, bool asm_js = false); |
+ const byte* module_end, ModuleOrigin origin); |
// Interprets the given module, starting at the function specified by |
// {function_index}. The return type of the function has to be int32. The module |