Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index d324916f972498bf418d8b41307b0938bd3ce8bf..3221ebf68ab6dea75becdddf9571659ee43acc6d 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -256,14 +256,14 @@ MaybeHandle<JSArray> Runtime::GetInternalProperties(Isolate* isolate, |
const char* status = "rejected"; |
int status_val = Handle<Smi>::cast(status_obj)->value(); |
switch (status_val) { |
- case +1: |
+ case kPromiseFulfilled: |
status = "resolved"; |
break; |
- case 0: |
+ case kPromisePending: |
status = "pending"; |
break; |
default: |
- DCHECK_EQ(-1, status_val); |
+ DCHECK_EQ(kPromiseRejected, status_val); |
} |
Handle<FixedArray> result = factory->NewFixedArray(2 * 2); |