Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index dcdffb748051a55f51d983823b21f8af7c34a9fc..b3be8f7671136b3ec8a9ac7235e83008021614fe 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -243,7 +243,7 @@ MaybeHandle<JSArray> Runtime::GetInternalProperties(Isolate* isolate, |
result->set(4, *receiver); |
result->set(5, generator->receiver()); |
return factory->NewJSArrayWithElements(result); |
- } else if (Object::IsPromise(object)) { |
+ } else if (object->IsJSPromise()) { |
Handle<JSObject> promise = Handle<JSObject>::cast(object); |
Handle<Object> status_obj = |