Version 3.20.4
Fixed garbage-collection issue that causes a crash on ARM (Chromium issue 254570)
Performance and stability improvements on all platforms.
git-svn-id: http://v8.googlecode.com/svn/trunk@15597 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index a7189c5..b42a35a 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -914,10 +914,15 @@
}
+void AllocationSite::AllocationSiteVerify() {
+ CHECK(IsAllocationSite());
+}
+
+
void AllocationSiteInfo::AllocationSiteInfoVerify() {
CHECK(IsAllocationSiteInfo());
- VerifyHeapPointer(payload());
- CHECK(payload()->IsObject());
+ VerifyHeapPointer(allocation_site());
+ CHECK(!IsValid() || GetAllocationSite()->IsAllocationSite());
}