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

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

Issue 2050953003: [wasm] Split off debug info from wasm object (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@decode-function-offsets-table
Patch Set: Created 4 years, 6 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
« no previous file with comments | « BUILD.gn ('k') | src/v8.gyp » ('j') | src/wasm/wasm-debug.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime-internal.cc
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc
index 9d6bf6388c850fad130479c4986a6f928c228793..05b7893dd84142c8ad0e396f49cbfee1986ece41 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);
}
« no previous file with comments | « BUILD.gn ('k') | src/v8.gyp » ('j') | src/wasm/wasm-debug.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698