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