Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index e7c5d0d691f5358db854baba4cf818553f4c58bd..305cd4dafd9e1e0b3ec98b9a620a8cf81a696382 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -1033,8 +1033,8 @@ void PromiseResolveThenableJobInfo::PromiseResolveThenableJobInfoVerify() { |
CHECK(then()->IsJSReceiver()); |
CHECK(resolve()->IsJSFunction()); |
CHECK(reject()->IsJSFunction()); |
- CHECK(debug_id()->IsNumber() || debug_id()->IsUndefined(isolate)); |
- CHECK(debug_name()->IsString() || debug_name()->IsUndefined(isolate)); |
+ VerifySmiField(kDebugIdOffset); |
+ VerifySmiField(kDebugNameOffset); |
CHECK(context()->IsContext()); |
} |
@@ -1053,8 +1053,8 @@ void PromiseReactionJobInfo::PromiseReactionJobInfoVerify() { |
CHECK(deferred_on_reject()->IsUndefined(isolate) || |
deferred_on_reject()->IsCallable() || |
deferred_on_reject()->IsFixedArray()); |
- CHECK(debug_id()->IsNumber() || debug_id()->IsUndefined(isolate)); |
- CHECK(debug_name()->IsString() || debug_name()->IsUndefined(isolate)); |
+ VerifySmiField(kDebugIdOffset); |
+ VerifySmiField(kDebugNameOffset); |
CHECK(context()->IsContext()); |
} |