Lines Matching refs:breakpoints
220 // If the frame position is not in the list of breakpoints, return that
224 int DeadBreakpoint(WasmFrame* frame, base::Vector<const int> breakpoints) {
228 if (std::binary_search(breakpoints.begin(), breakpoints.end(), offset)) {
236 int DeadBreakpoint(int func_index, base::Vector<const int> breakpoints,
242 return DeadBreakpoint(wasm_frame, breakpoints);
271 // Recompile the function with Liftoff, setting the new breakpoints.
330 // Hold the mutex while modifying breakpoints, to ensure consistency when
331 // multiple isolates set/remove breakpoints at the same time.
337 // Get the set of previously set breakpoints, to check later whether a new
342 std::vector<int>& breakpoints =
345 std::lower_bound(breakpoints.begin(), breakpoints.end(), offset);
346 if (insertion_point != breakpoints.end() && *insertion_point == offset) {
350 breakpoints.insert(insertion_point, offset);
376 std::set<int> breakpoints;
380 for (int offset : it->second) breakpoints.insert(offset);
382 return {breakpoints.begin(), breakpoints.end()};
385 void UpdateBreakpoints(int func_index, base::Vector<int> breakpoints,
390 func_index, breakpoints, dead_breakpoint);
429 std::vector<int> breakpoints = FindAllBreakpoints(func_index);
430 int dead_breakpoint = DeadBreakpoint(frame, base::VectorOf(breakpoints));
432 func_index, base::VectorOf(breakpoints), dead_breakpoint);
456 // Hold the mutex while modifying breakpoints, to ensure consistency when
457 // multiple isolates set/remove breakpoints at the same time.
464 std::vector<int>& breakpoints =
468 std::lower_bound(breakpoints.begin(), breakpoints.end(), offset);
469 if (insertion_point == breakpoints.end()) return;
471 breakpoints.erase(insertion_point);
673 // After installing a Liftoff code object with a different set of breakpoints,
675 // code. The frame layout itself should be independent of breakpoints.
733 // Keeps track of the currently set breakpoints (by offset within that
939 // Special handling for on-entry breakpoints.
1031 // Check if there are no more breakpoints at this location.
1033 // Update array by moving breakpoints up one position.
1044 // Special handling for instrumentation breakpoints.