Index: src/wasm/wasm-js.cc |
diff --git a/src/wasm/wasm-js.cc b/src/wasm/wasm-js.cc |
index 56def4e76d2ab66150838ac600b99c8654b8d27d..19c5930cc148cd956c60e6dabd93db7d6e0bfbf1 100644 |
--- a/src/wasm/wasm-js.cc |
+++ b/src/wasm/wasm-js.cc |
@@ -762,6 +762,8 @@ Handle<JSFunction> InstallGetter(Isolate* isolate, Handle<JSObject> object, |
void WasmJs::Install(Isolate* isolate) { |
Handle<JSGlobalObject> global = isolate->global_object(); |
Handle<Context> context(global->native_context(), isolate); |
+ Handle<Context> native_context = isolate->native_context(); |
jbroman
2017/03/13 18:53:38
remove separate change (I assume debugging code)?
Mircea Trofin
2017/03/15 18:02:28
yup! thanks for the catch.
|
+ USE(native_context); |
// TODO(titzer): once FLAG_expose_wasm is gone, this should become a DCHECK. |
if (context->get(Context::WASM_FUNCTION_MAP_INDEX)->IsMap()) return; |