Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 5d032d152e7fa6b0b06c4831e56cb984cd3230ef..120976e586e48dbc2d8705d76bab49b057c5201c 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -1263,6 +1263,12 @@ void DebugInfo::DebugInfoVerify() { |
VerifyPointer(break_points()); |
} |
+void BreakPoint::BreakPointVerify() { |
+ CHECK(IsBreakPoint()); |
+ CHECK(condition()->IsString()); |
+ VerifyPointer(condition()); |
+ VerifyPointer(data()); |
+} |
void BreakPointInfo::BreakPointInfoVerify() { |
CHECK(IsBreakPointInfo()); |