| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index c0c0e477bf8dd65c5a76c4ca79eb3c56cc8417c0..dfd6e938a25ba6c2c580dbfd452260b120ce471a 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -912,10 +912,15 @@ void TypeSwitchInfo::TypeSwitchInfoVerify() {
|
| }
|
|
|
|
|
| +void AllocationSite::AllocationSiteVerify() {
|
| + CHECK(IsAllocationSite());
|
| +}
|
| +
|
| +
|
| void AllocationSiteInfo::AllocationSiteInfoVerify() {
|
| CHECK(IsAllocationSiteInfo());
|
| - VerifyHeapPointer(payload());
|
| - CHECK(payload()->IsObject());
|
| + VerifyHeapPointer(allocation_site());
|
| + CHECK(!IsValid() || GetAllocationSite()->IsAllocationSite());
|
| }
|
|
|
|
|
|
|