Index: src/debug/debug.h |
diff --git a/src/debug/debug.h b/src/debug/debug.h |
index 8ef0c60505b59f0471ca1661eb98f81d8ca751dd..5c733a988573df8b1f168d4ce33bf6d1bceaf39d 100644 |
--- a/src/debug/debug.h |
+++ b/src/debug/debug.h |
@@ -88,6 +88,8 @@ class BreakLocation { |
inline int position() const { return position_; } |
+ debug::BreakLocationType type() const; |
+ |
private: |
BreakLocation(Handle<AbstractCode> abstract_code, DebugBreakType type, |
int code_offset, int position) |
@@ -313,7 +315,7 @@ class Debug { |
bool PrepareFunctionForBreakPoints(Handle<SharedFunctionInfo> shared); |
bool GetPossibleBreakpoints(Handle<Script> script, int start_position, |
int end_position, bool restrict_to_function, |
- std::set<int>* positions); |
+ std::vector<BreakLocation>* locations); |
void RecordGenerator(Handle<JSGeneratorObject> generator_object); |