Index: src/objects/shared-function-info.h |
diff --git a/src/objects/shared-function-info.h b/src/objects/shared-function-info.h |
index ecdcf786c8eef236f565241a2c95c4f8786d6d44..8a68d69d43023a2c50304246534ae0f8c3d2e66e 100644 |
--- a/src/objects/shared-function-info.h |
+++ b/src/objects/shared-function-info.h |
@@ -172,6 +172,10 @@ class SharedFunctionInfo : public HeapObject { |
inline bool HasDebugInfo() const; |
DebugInfo* GetDebugInfo() const; |
+ // Break infos are contained in DebugInfo, this is a convenience method |
+ // to simplify access. |
+ bool HasBreakInfo() const; |
+ |
// A function has debug code if the compiled code has debug break slots. |
inline bool HasDebugCode() const; |