Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 783c36d1de42cc138c584b58cec1770bb40ba517..af07e6847e1ade8048ba665cc27d57c6fdd7755a 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -2745,7 +2745,7 @@ TEST(DebugStepKeyedLoadLoop) { |
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); |
Yang
2012/03/07 18:28:36
We have exactly one debug break more whenever a fo
|
v8::Debug::SetDebugEventListener(NULL); |
CheckDebuggerUnloaded(); |
@@ -2792,7 +2792,7 @@ TEST(DebugStepKeyedStoreLoop) { |
foo->Call(env->Global(), kArgc, args); |
// With stepping all break locations are hit. |
- CHECK_EQ(32, break_point_hit_count); |
+ CHECK_EQ(33, break_point_hit_count); |
v8::Debug::SetDebugEventListener(NULL); |
CheckDebuggerUnloaded(); |
@@ -2836,7 +2836,7 @@ TEST(DebugStepNamedLoadLoop) { |
foo->Call(env->Global(), 0, NULL); |
// With stepping all break locations are hit. |
- CHECK_EQ(53, break_point_hit_count); |
+ CHECK_EQ(54, break_point_hit_count); |
v8::Debug::SetDebugEventListener(NULL); |
CheckDebuggerUnloaded(); |
@@ -2880,7 +2880,7 @@ static void DoDebugStepNamedStoreLoop(int expected) { |
// Test of the stepping mechanism for named load in a loop. |
TEST(DebugStepNamedStoreLoop) { |
- DoDebugStepNamedStoreLoop(22); |
+ DoDebugStepNamedStoreLoop(23); |
} |
@@ -3252,7 +3252,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(50, break_point_hit_count); |
+ CHECK_EQ(51, break_point_hit_count); |
// Looping 100 times. |
step_action = StepIn; |
@@ -3260,7 +3260,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(455, break_point_hit_count); |
+ CHECK_EQ(456, break_point_hit_count); |
// Get rid of the debug event listener. |
v8::Debug::SetDebugEventListener(NULL); |
@@ -3304,7 +3304,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(53, break_point_hit_count); |
+ CHECK_EQ(54, break_point_hit_count); |
// Looping 100 times. |
step_action = StepIn; |
@@ -3312,7 +3312,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(503, break_point_hit_count); |
+ CHECK_EQ(504, break_point_hit_count); |
// Get rid of the debug event listener. |
v8::Debug::SetDebugEventListener(NULL); |