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

Unified Diff: src/runtime/runtime-internal.cc

Issue 2424623002: [wasm] Use a Managed<WasmModule> to hold metadata about modules. (Closed)
Patch Set: Review comments Created 4 years, 2 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/runtime/runtime-internal.cc
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc
index 4e4de3d74fc74f598bae99568ad8a9d90ef44551..747f27f70128ea4a1693b523ae13ca35d52bbd0d 100644
--- a/src/runtime/runtime-internal.cc
+++ b/src/runtime/runtime-internal.cc
@@ -632,7 +632,7 @@ RUNTIME_FUNCTION(Runtime_IsWasmObject) {
DCHECK_EQ(1, args.length());
CONVERT_ARG_CHECKED(Object, object, 0);
bool is_wasm_object =
- object->IsJSObject() && wasm::IsWasmObject(JSObject::cast(object));
+ object->IsJSObject() && wasm::IsWasmInstance(JSObject::cast(object));
return *isolate->factory()->ToBoolean(is_wasm_object);
}

Powered by Google App Engine
This is Rietveld 408576698