Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 4072f8f00d225ecd106ffb0df29e549fa98d2e6e..acb0a9f5d48dc812723bca0ec5ec93f9ad694185 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -289,6 +289,12 @@ void CodeCache::CodeCacheVerify() { |
} |
+void PolymorphicCodeCache::PolymorphicCodeCacheVerify() { |
+ VerifyHeapPointer(cache()); |
+ ASSERT(cache()->IsUndefined() || cache()->IsPolymorphicCodeCacheHashTable()); |
+} |
+ |
+ |
void FixedArray::FixedArrayVerify() { |
for (int i = 0; i < length(); i++) { |
Object* e = get(i); |