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

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

Issue 2424623002: [wasm] Use a Managed<WasmModule> to hold metadata about modules. (Closed)
Patch Set: 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 802893c79fb2132ae96fcafdb263b891c42fb0aa..21a3735c17ee275d385a8e1f6b9bf9064f211a51 100644
--- a/src/runtime/runtime-internal.cc
+++ b/src/runtime/runtime-internal.cc
@@ -633,7 +633,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::IsWasmModule(JSObject::cast(object));
return *isolate->factory()->ToBoolean(is_wasm_object);
}

Powered by Google App Engine
This is Rietveld 408576698