Chromium Code Reviews| Index: src/objects-debug.cc |
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
| index 75320677c557e18bce4085eef8e3793614623ce0..0eb042903b5832c26df7d20ea940dadefa8af17d 100644 |
| --- a/src/objects-debug.cc |
| +++ b/src/objects-debug.cc |
| @@ -922,6 +922,11 @@ void PromiseContainer::PromiseContainerVerify() { |
| after_debug_event()->ObjectVerify(); |
| } |
| +void PromiseReactionJobInfo::PromiseReactionJobInfoVerify() { |
| + CHECK(IsPromiseReactionJobInfo()); |
| + CHECK(tasks()->IsJSArray() || tasks()->IsCallable()); |
|
adamk
2016/10/12 16:18:11
Aren't there more things you could check here? Bas
gsathya
2016/10/12 20:08:53
Yeah I was curious about this too. I guess you mis
|
| +} |
| + |
| void JSModuleNamespace::JSModuleNamespaceVerify() { |
| CHECK(IsJSModuleNamespace()); |
| module()->ObjectVerify(); |