Index: test/cctest/wasm/wasm-run-utils.h |
diff --git a/test/cctest/wasm/wasm-run-utils.h b/test/cctest/wasm/wasm-run-utils.h |
index 4daf57c2cafd372b75d1581e459d820b673874db..d63586042adddbda5c43a1239b47fca7c7466516 100644 |
--- a/test/cctest/wasm/wasm-run-utils.h |
+++ b/test/cctest/wasm/wasm-run-utils.h |
@@ -95,6 +95,8 @@ class TestingModule : public ModuleEnv { |
if (interpreter_) delete interpreter_; |
} |
+ void ChangeOriginToAsmjs() { origin = kAsmJsOrigin; } |
+ |
byte* AddMemory(uint32_t size) { |
CHECK_NULL(instance->mem_start); |
CHECK_EQ(0, instance->mem_size); |