Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index c27e7ace744c73b6e5521744309fec6eed8e8ccd..c8ebe2014b003e4808443513ef598a6df0abdd8d 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -900,6 +900,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()); |