Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 374682acff69e08e794c1f326347d9a477474e2e..23acbcd30f682a0563b63f428c308cf6a00f5939 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -1029,7 +1029,7 @@ void NormalizedMapCache::NormalizedMapCacheVerify() { |
void DebugInfo::DebugInfoVerify() { |
CHECK(IsDebugInfo()); |
- VerifyPointer(shared()); |
+ if (has_shared()) VerifyPointer(shared()); |
VerifyPointer(abstract_code()); |
VerifyPointer(break_points()); |
} |