Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 5045e1e11773955b8765f38284ed4c87022c75f4..0ec22bbe652ebb3dd9277a0d57428596e369b37c 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -774,6 +774,13 @@ void TypeSwitchInfo::TypeSwitchInfoVerify() { |
} |
+void AllocationSiteInfo::AllocationSiteInfoVerify() { |
+ CHECK(IsAllocationSiteInfo()); |
+ VerifyHeapPointer(payload()); |
+ CHECK(payload()->IsObject()); |
+} |
+ |
+ |
void Script::ScriptVerify() { |
CHECK(IsScript()); |
VerifyPointer(source()); |