Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 58525b854a6e4461d40a5e68bd515b31d4df6ca0..a697bdc7702c463fe8fd326d9ef698e75be6b8bc 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -899,6 +899,16 @@ void Box::BoxVerify() { |
value()->ObjectVerify(); |
} |
+void PromiseContainer::PromiseContainerVerify() { |
+ CHECK(IsPromiseContainer()); |
+ thenable()->ObjectVerify(); |
+ then()->ObjectVerify(); |
+ resolve()->ObjectVerify(); |
+ reject()->ObjectVerify(); |
+ before_debug_event()->ObjectVerify(); |
+ after_debug_event()->ObjectVerify(); |
+} |
+ |
void Module::ModuleVerify() { |
CHECK(IsModule()); |
CHECK(code()->IsSharedFunctionInfo() || code()->IsJSFunction()); |