Chromium Code Reviews

Unified Diff: src/objects-debug.cc

Issue 2314903004: [promises] Move PromiseResolveThenableJob to c++ (Closed)
Patch Set: reorder Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 5a5888995533a64f6978831e431c7fc2cb668e58..925481cd3a28c2114b20526737fd96256a255e7c 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());
+ promise()->ObjectVerify();
+ thenable()->ObjectVerify();
+ then()->ObjectVerify();
+ resolve()->ObjectVerify();
+ reject()->ObjectVerify();
+ before_debug_event()->ObjectVerify();
+ after_debug_event()->ObjectVerify();
+}
void PrototypeInfo::PrototypeInfoVerify() {
CHECK(IsPrototypeInfo());

Powered by Google App Engine