Do not return undefined breakpoint.
This patch should be squashed into --
61fd072c17785c93001ffa9532c61f166e03b385 [V8] Add flag to avoid
breakpoint relocation -- in the next V8 rebase as this code only
improves code in that patch
Change-Id: I83a3867f5052eb308af5c28874a25d51ad475ff7
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
// Check for any relocation and compare it with the breakpoint_relocation flag
if (actual_location.line != line && !%AllowBreakPointRelocation()) {
%ClearBreakPoint(break_point);
- return break_point;
+ return;
}
break_point.actual_location = { line: actual_location.line,
column: actual_location.column,