Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1170)

Unified Diff: src/wasm/wasm-js.cc

Issue 2748473004: [wasm] Transferrable modules (Closed)
Patch Set: Transferrable modules Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698