Index: src/wasm/wasm-interpreter.h |
diff --git a/src/wasm/wasm-interpreter.h b/src/wasm/wasm-interpreter.h |
index 360362b994c02640b77c325ef01935337c9f5a42..d3ad48990d3a84335d603c72bba9b598cbd68511 100644 |
--- a/src/wasm/wasm-interpreter.h |
+++ b/src/wasm/wasm-interpreter.h |
@@ -17,8 +17,8 @@ namespace internal { |
namespace wasm { |
// forward declarations. |
+struct ModuleBytesEnv; |
struct WasmFunction; |
-struct WasmInstance; |
class WasmInterpreterInternals; |
typedef size_t pc_t; |
@@ -135,7 +135,7 @@ class V8_EXPORT_PRIVATE WasmInterpreter { |
bool GetBreakpoint(const WasmFunction* function, int pc); |
}; |
- WasmInterpreter(WasmInstance* instance, AccountingAllocator* allocator); |
+ WasmInterpreter(const ModuleBytesEnv& env, AccountingAllocator* allocator); |
~WasmInterpreter(); |
//========================================================================== |