Index: test/mjsunit/regress/regress-debug-code-recompilation.js |
diff --git a/test/mjsunit/regress/regress-debug-code-recompilation.js b/test/mjsunit/regress/regress-debug-code-recompilation.js |
index 4723ec130734db46bafde3e3051e6637a2cea0fc..2f81d0cb5479daaeeeb7025e8ed209364e568e48 100644 |
--- a/test/mjsunit/regress/regress-debug-code-recompilation.js |
+++ b/test/mjsunit/regress/regress-debug-code-recompilation.js |
@@ -29,6 +29,7 @@ |
// Flags: --expose-debug-as debug |
Debug = debug.Debug |
+Debug.setListener(function(){}); |
function f() {a=1;b=2}; |
function g() { |
@@ -46,3 +47,5 @@ Debug.clearBreakPoint(bp); |
%OptimizeFunctionOnNextCall(Debug.setBreakPoint); |
bp = Debug.setBreakPoint(f, 0, 0); |
Debug.clearBreakPoint(bp); |
+ |
+Debug.setListener(null); |