Chromium Code Reviews| Index: src/objects-debug.cc |
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
| index 5a5888995533a64f6978831e431c7fc2cb668e58..eb9abee57095af657e1c417aebb83ed8a9264472 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(); |
| + VerifyPointer(then()); |
| + VerifyPointer(resolve()); |
| + VerifyPointer(reject()); |
|
adamk
2016/09/08 22:28:18
Why aren't these also using ObjectVerify()?
gsathya
2016/09/14 00:39:14
The other structs use VerifyPointer so I made all
|
| + before_debug_event()->ObjectVerify(); |
| + after_debug_event()->ObjectVerify(); |
| +} |
| void PrototypeInfo::PrototypeInfoVerify() { |
| CHECK(IsPrototypeInfo()); |