Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 5d032d152e7fa6b0b06c4831e56cb984cd3230ef..37162b9adc8495a1c361284f5559c0f4c9002f05 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -1263,6 +1263,11 @@ void DebugInfo::DebugInfoVerify() { |
VerifyPointer(break_points()); |
} |
+void BreakPoint::BreakPointVerify() { |
+ CHECK(IsBreakPoint()); |
+ VerifyPointer(condition()); |
Yang
2017/02/15 13:21:10
Let's add a check that condition is a string.
kozy
2017/02/15 16:21:33
Done.
|
+ VerifyPointer(data()); |
+} |
void BreakPointInfo::BreakPointInfoVerify() { |
CHECK(IsBreakPointInfo()); |