Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 1cd524f17c64e882141810686f730a46363d14d8..41372e46946314cfb1eee5ecd624c3b02ecd9313 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -221,7 +221,7 @@ MaybeHandle<JSArray> Runtime::GetInternalProperties(Isolate* isolate, |
Handle<JSObject> promise = Handle<JSObject>::cast(object); |
Handle<Object> status_obj = |
- DebugGetProperty(promise, isolate->promise_status()); |
+ DebugGetProperty(promise, isolate->factory()->promise_status_symbol()); |
RUNTIME_ASSERT_HANDLIFIED(status_obj->IsSmi(), JSArray); |
const char* status = "rejected"; |
int status_val = Handle<Smi>::cast(status_obj)->value(); |
@@ -244,7 +244,7 @@ MaybeHandle<JSArray> Runtime::GetInternalProperties(Isolate* isolate, |
result->set(1, *status_str); |
Handle<Object> value_obj = |
- DebugGetProperty(promise, isolate->promise_value()); |
+ DebugGetProperty(promise, isolate->factory()->promise_value_symbol()); |
Handle<String> promise_value = |
factory->NewStringFromAsciiChecked("[[PromiseValue]]"); |
result->set(2, *promise_value); |