Index: src/wasm/wasm-module.cc |
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc |
index f297d749fec39e5fa3e9c8b325272b3ef635e552..6fc0008dd14139cffefc7b75dd37490e3e7f4f00 100644 |
--- a/src/wasm/wasm-module.cc |
+++ b/src/wasm/wasm-module.cc |
@@ -318,8 +318,7 @@ bool AllocateGlobals(ErrorThrower* thrower, Isolate* isolate, |
} // namespace |
WasmModule::WasmModule() |
- : shared_isolate(nullptr), |
- module_start(nullptr), |
+ : module_start(nullptr), |
module_end(nullptr), |
min_mem_pages(0), |
max_mem_pages(0), |
@@ -625,7 +624,6 @@ MaybeHandle<JSObject> WasmModule::Instantiate(Isolate* isolate, |
Handle<JSArrayBuffer> memory) { |
HistogramTimerScope wasm_instantiate_module_time_scope( |
isolate->counters()->wasm_instantiate_module_time()); |
- this->shared_isolate = isolate; // TODO(titzer): have a real shared isolate. |
ErrorThrower thrower(isolate, "WasmModule::Instantiate()"); |
Factory* factory = isolate->factory(); |