Chromium Code Reviews| Index: src/objects-debug.cc |
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
| index 75320677c557e18bce4085eef8e3793614623ce0..3e0ddd3d0a2385d03239558c37b8bf68876a79b7 100644 |
| --- a/src/objects-debug.cc |
| +++ b/src/objects-debug.cc |
| @@ -922,6 +922,16 @@ void PromiseContainer::PromiseContainerVerify() { |
| after_debug_event()->ObjectVerify(); |
| } |
| +void PromiseHandleInfo::PromiseHandleInfoVerify() { |
| + CHECK(IsPromiseHandleInfo()); |
| + value()->ObjectVerify(); |
| + tasks()->ObjectVerify(); |
| + deferred()->ObjectVerify(); |
| + before_debug_event()->ObjectVerify(); |
| + after_debug_event()->ObjectVerify(); |
| + reaction_context()->ObjectVerify(); |
|
adamk
2016/10/11 23:14:30
I think I led you down the wrong path here the fir
gsathya
2016/10/12 02:00:44
Why is tasks special? Don't we want to check if de
|
| +} |
| + |
| void JSModuleNamespace::JSModuleNamespaceVerify() { |
| CHECK(IsJSModuleNamespace()); |
| module()->ObjectVerify(); |