Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 13ba040f1f99dee08fea4b6efb0ffe924f4b4cbe..e7491ba3f485ef98751f3ceb4eeb639112daceb8 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -619,9 +619,9 @@ RUNTIME_FUNCTION(Runtime_OrdinaryHasInstance) { |
RUNTIME_FUNCTION(Runtime_IsWasmObject) { |
HandleScope scope(isolate); |
DCHECK_EQ(1, args.length()); |
- CONVERT_ARG_HANDLE_CHECKED(Object, object, 0); |
- bool is_wasm_object = object->IsJSObject() && |
- wasm::IsWasmObject(Handle<JSObject>::cast(object)); |
+ CONVERT_ARG_CHECKED(Object, object, 0); |
+ bool is_wasm_object = |
+ object->IsJSObject() && wasm::IsWasmObject(JSObject::cast(object)); |
return *isolate->factory()->ToBoolean(is_wasm_object); |
} |