Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 7d426a045eb9b2584e22e207ee0607ca39191e7a..a472c12d37f754375453d8ff2dfcefe9d0e37c13 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -900,6 +900,14 @@ void Box::BoxVerify() { |
value()->ObjectVerify(); |
} |
+void PromiseContainer::PromiseContainerVerify() { |
+ CHECK(IsPromiseContainer()); |
+ promise()->ObjectVerify(); |
+ thenable()->ObjectVerify(); |
+ VerifyPointer(then()); |
+ VerifyPointer(resolve()); |
+ VerifyPointer(reject()); |
+} |
void PrototypeInfo::PrototypeInfoVerify() { |
CHECK(IsPrototypeInfo()); |