Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 75320677c557e18bce4085eef8e3793614623ce0..bcf004b4aedc309acb43efc1910f85f3db0d234b 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -922,6 +922,19 @@ void PromiseContainer::PromiseContainerVerify() { |
after_debug_event()->ObjectVerify(); |
} |
+void PromiseReactionJobInfo::PromiseReactionJobInfoVerify() { |
+ Isolate* isolate = GetIsolate(); |
+ CHECK(IsPromiseReactionJobInfo()); |
+ CHECK(value()->IsObject()); |
+ CHECK(tasks()->IsJSArray() || tasks()->IsCallable()); |
+ CHECK(deferred()->IsJSObject() || deferred()->IsUndefined(isolate)); |
+ CHECK(before_debug_event()->IsJSObject() || |
+ before_debug_event()->IsUndefined(isolate)); |
+ CHECK(after_debug_event()->IsJSObject() || |
+ after_debug_event()->IsUndefined(isolate)); |
+ CHECK(context()->IsContext()); |
+} |
+ |
void JSModuleNamespace::JSModuleNamespaceVerify() { |
CHECK(IsJSModuleNamespace()); |
module()->ObjectVerify(); |