Index: src/debug/debug.h |
diff --git a/src/debug/debug.h b/src/debug/debug.h |
index 30cbe77f8b37aa71895d49b54c60c29fe29cd88c..4d591d053134560189e9f7fa4e16dc324771ed58 100644 |
--- a/src/debug/debug.h |
+++ b/src/debug/debug.h |
@@ -501,11 +501,8 @@ |
void Iterate(ObjectVisitor* v); |
bool CheckExecutionState(int id) { |
- return CheckExecutionState() && break_id() == id; |
- } |
- |
- bool CheckExecutionState() { |
- return is_active() && !debug_context().is_null() && break_id() != 0; |
+ return is_active() && !debug_context().is_null() && break_id() != 0 && |
+ break_id() == id; |
} |
// Flags and states. |