Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index f64534c9fc8cdca1e582165e4b25177c0e632fb1..d95ee75f4d70002d2aa7bdaca1463c61ead0f9ec 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -9228,7 +9228,7 @@ int GetSmiValue(i::Handle<i::FixedArray> array, int index) { |
bool debug::Script::GetPossibleBreakpoints( |
const debug::Location& start, const debug::Location& end, |
- std::vector<debug::Location>* locations) const { |
+ bool restrict_to_function, std::vector<debug::Location>* locations) const { |
CHECK(!start.IsEmpty()); |
i::Handle<i::Script> script = Utils::OpenHandle(this); |
if (script->type() == i::Script::TYPE_WASM) { |
@@ -9254,8 +9254,8 @@ bool debug::Script::GetPossibleBreakpoints( |
if (start_offset >= end_offset) return true; |
std::set<int> offsets; |
- if (!isolate->debug()->GetPossibleBreakpoints(script, start_offset, |
- end_offset, &offsets)) { |
+ if (!isolate->debug()->GetPossibleBreakpoints( |
+ script, start_offset, end_offset, restrict_to_function, &offsets)) { |
return false; |
} |