diff options
Diffstat (limited to 'deps/v8/src/wasm/wasm-interpreter.h')
-rw-r--r-- | deps/v8/src/wasm/wasm-interpreter.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/deps/v8/src/wasm/wasm-interpreter.h b/deps/v8/src/wasm/wasm-interpreter.h index 88d21c37d1..29b78c5a61 100644 --- a/deps/v8/src/wasm/wasm-interpreter.h +++ b/deps/v8/src/wasm/wasm-interpreter.h @@ -16,7 +16,6 @@ class AccountingAllocator; namespace internal { class WasmInstanceObject; -struct WasmContext; namespace wasm { @@ -88,19 +87,6 @@ class InterpretedFrame { // An interpreter capable of executing WebAssembly. class V8_EXPORT_PRIVATE WasmInterpreter { public: - // Open a HeapObjectsScope before running any code in the interpreter which - // needs access to the instance object or needs to call to JS functions. - class V8_EXPORT_PRIVATE HeapObjectsScope { - public: - HeapObjectsScope(WasmInterpreter* interpreter, - Handle<WasmInstanceObject> instance); - ~HeapObjectsScope(); - - private: - char data[3 * sizeof(void*)]; // must match sizeof(HeapObjectsScopeImpl). - DISALLOW_COPY_AND_ASSIGN(HeapObjectsScope); - }; - // State machine for a Thread: // +---------Run()/Step()--------+ // V | @@ -181,7 +167,8 @@ class V8_EXPORT_PRIVATE WasmInterpreter { }; WasmInterpreter(Isolate* isolate, const WasmModule* module, - const ModuleWireBytes& wire_bytes, WasmContext* wasm_context); + const ModuleWireBytes& wire_bytes, + Handle<WasmInstanceObject> instance); ~WasmInterpreter(); //========================================================================== |