Index: test/mjsunit/debug-step-stub-callfunction.js |
=================================================================== |
--- test/mjsunit/debug-step-stub-callfunction.js (revision 1198) |
+++ test/mjsunit/debug-step-stub-callfunction.js (working copy) |
@@ -42,7 +42,7 @@ |
}; |
// Add the debug event listener. |
-Debug.addListener(listener); |
+Debug.setListener(listener); |
// Use 'eval' to ensure that the call to print is through CodeStub CallFunction. |
// See Ia32CodeGenerator::VisitCall and Ia32CodeGenerator::CallWithArguments. |
@@ -70,4 +70,4 @@ |
assertEquals(4, break_break_point_hit_count); |
// Get rid of the debug event listener. |
-Debug.removeListener(listener); |
+Debug.setListener(null); |