| Index: test/cctest/test-debug.cc
|
| diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc
|
| index 2540a3dfe5adc3dcbdf70ae0cd5748d3edbb6967..9572ba05241ec06e94261ac8e50f20f7b2bfa53f 100644
|
| --- a/test/cctest/test-debug.cc
|
| +++ b/test/cctest/test-debug.cc
|
| @@ -2847,7 +2847,7 @@ TEST(DebugStepKeyedLoadLoop) {
|
| foo->Call(env->Global(), kArgc, args);
|
|
|
| // With stepping all break locations are hit.
|
| - CHECK_EQ(34, break_point_hit_count);
|
| + CHECK_EQ(35, break_point_hit_count);
|
|
|
| v8::Debug::SetDebugEventListener2(NULL);
|
| CheckDebuggerUnloaded();
|
| @@ -2894,7 +2894,7 @@ TEST(DebugStepKeyedStoreLoop) {
|
| foo->Call(env->Global(), kArgc, args);
|
|
|
| // With stepping all break locations are hit.
|
| - CHECK_EQ(33, break_point_hit_count);
|
| + CHECK_EQ(34, break_point_hit_count);
|
|
|
| v8::Debug::SetDebugEventListener2(NULL);
|
| CheckDebuggerUnloaded();
|
| @@ -2938,7 +2938,7 @@ TEST(DebugStepNamedLoadLoop) {
|
| foo->Call(env->Global(), 0, NULL);
|
|
|
| // With stepping all break locations are hit.
|
| - CHECK_EQ(54, break_point_hit_count);
|
| + CHECK_EQ(55, break_point_hit_count);
|
|
|
| v8::Debug::SetDebugEventListener2(NULL);
|
| CheckDebuggerUnloaded();
|
| @@ -2982,7 +2982,7 @@ static void DoDebugStepNamedStoreLoop(int expected) {
|
|
|
| // Test of the stepping mechanism for named load in a loop.
|
| TEST(DebugStepNamedStoreLoop) {
|
| - DoDebugStepNamedStoreLoop(23);
|
| + DoDebugStepNamedStoreLoop(24);
|
| }
|
|
|
|
|
| @@ -3354,7 +3354,7 @@ TEST(DebugStepForContinue) {
|
| v8::Handle<v8::Value> argv_10[argc] = { v8::Number::New(10) };
|
| result = foo->Call(env->Global(), argc, argv_10);
|
| CHECK_EQ(5, result->Int32Value());
|
| - CHECK_EQ(51, break_point_hit_count);
|
| + CHECK_EQ(52, break_point_hit_count);
|
|
|
| // Looping 100 times.
|
| step_action = StepIn;
|
| @@ -3362,7 +3362,7 @@ TEST(DebugStepForContinue) {
|
| v8::Handle<v8::Value> argv_100[argc] = { v8::Number::New(100) };
|
| result = foo->Call(env->Global(), argc, argv_100);
|
| CHECK_EQ(50, result->Int32Value());
|
| - CHECK_EQ(456, break_point_hit_count);
|
| + CHECK_EQ(457, break_point_hit_count);
|
|
|
| // Get rid of the debug event listener.
|
| v8::Debug::SetDebugEventListener2(NULL);
|
| @@ -3406,7 +3406,7 @@ TEST(DebugStepForBreak) {
|
| v8::Handle<v8::Value> argv_10[argc] = { v8::Number::New(10) };
|
| result = foo->Call(env->Global(), argc, argv_10);
|
| CHECK_EQ(9, result->Int32Value());
|
| - CHECK_EQ(54, break_point_hit_count);
|
| + CHECK_EQ(55, break_point_hit_count);
|
|
|
| // Looping 100 times.
|
| step_action = StepIn;
|
| @@ -3414,7 +3414,7 @@ TEST(DebugStepForBreak) {
|
| v8::Handle<v8::Value> argv_100[argc] = { v8::Number::New(100) };
|
| result = foo->Call(env->Global(), argc, argv_100);
|
| CHECK_EQ(99, result->Int32Value());
|
| - CHECK_EQ(504, break_point_hit_count);
|
| + CHECK_EQ(505, break_point_hit_count);
|
|
|
| // Get rid of the debug event listener.
|
| v8::Debug::SetDebugEventListener2(NULL);
|
|
|