From 0fffefdf9747629521cc2f474c44c80dc21cf1ba Mon Sep 17 00:00:00 2001 From: Aurindam Jana Date: Wed, 14 Mar 2012 11:50:48 +0100 Subject: [PATCH] [V8] BreakPoint Relocation 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 --- src/3rdparty/v8/src/debug-debugger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/3rdparty/v8/src/debug-debugger.js b/src/3rdparty/v8/src/debug-debugger.js index 4740480..4e73dcd 100644 --- a/src/3rdparty/v8/src/debug-debugger.js +++ b/src/3rdparty/v8/src/debug-debugger.js @@ -452,7 +452,7 @@ ScriptBreakPoint.prototype.set = function (script) { // 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, -- 2.7.4