Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 5d38a16aee6ef566ecce9664c3f37018a60869bc..75ad294561a0210902f259941c24a917c5d6b7f2 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -2860,7 +2860,7 @@ TEST(DebugStepKeyedLoadLoop) { |
foo->Call(env->Global(), kArgc, args); |
// With stepping all break locations are hit. |
- CHECK_EQ(35, break_point_hit_count); |
+ CHECK_EQ(45, break_point_hit_count); |
v8::Debug::SetDebugEventListener(NULL); |
CheckDebuggerUnloaded(); |
@@ -2908,7 +2908,7 @@ TEST(DebugStepKeyedStoreLoop) { |
foo->Call(env->Global(), kArgc, args); |
// With stepping all break locations are hit. |
- CHECK_EQ(34, break_point_hit_count); |
+ CHECK_EQ(44, break_point_hit_count); |
v8::Debug::SetDebugEventListener(NULL); |
CheckDebuggerUnloaded(); |
@@ -2952,7 +2952,7 @@ TEST(DebugStepNamedLoadLoop) { |
foo->Call(env->Global(), 0, NULL); |
// With stepping all break locations are hit. |
- CHECK_EQ(55, break_point_hit_count); |
+ CHECK_EQ(65, break_point_hit_count); |
v8::Debug::SetDebugEventListener(NULL); |
CheckDebuggerUnloaded(); |
@@ -2995,9 +2995,7 @@ static void DoDebugStepNamedStoreLoop(int expected) { |
// Test of the stepping mechanism for named load in a loop. |
-TEST(DebugStepNamedStoreLoop) { |
- DoDebugStepNamedStoreLoop(24); |
-} |
+TEST(DebugStepNamedStoreLoop) { DoDebugStepNamedStoreLoop(34); } |
// Test the stepping mechanism with different ICs. |
@@ -3330,14 +3328,14 @@ TEST(DebugStepFor) { |
break_point_hit_count = 0; |
v8::Handle<v8::Value> argv_10[argc] = { v8::Number::New(isolate, 10) }; |
foo->Call(env->Global(), argc, argv_10); |
- CHECK_EQ(23, break_point_hit_count); |
+ CHECK_EQ(45, break_point_hit_count); |
// Looping 100 times. |
step_action = StepIn; |
break_point_hit_count = 0; |
v8::Handle<v8::Value> argv_100[argc] = { v8::Number::New(isolate, 100) }; |
foo->Call(env->Global(), argc, argv_100); |
- CHECK_EQ(203, break_point_hit_count); |
+ CHECK_EQ(405, break_point_hit_count); |
// Get rid of the debug event listener. |
v8::Debug::SetDebugEventListener(NULL); |
@@ -3381,7 +3379,7 @@ TEST(DebugStepForContinue) { |
v8::Handle<v8::Value> argv_10[argc] = { v8::Number::New(isolate, 10) }; |
result = foo->Call(env->Global(), argc, argv_10); |
CHECK_EQ(5, result->Int32Value()); |
- CHECK_EQ(52, break_point_hit_count); |
+ CHECK_EQ(62, break_point_hit_count); |
// Looping 100 times. |
step_action = StepIn; |
@@ -3389,7 +3387,7 @@ TEST(DebugStepForContinue) { |
v8::Handle<v8::Value> argv_100[argc] = { v8::Number::New(isolate, 100) }; |
result = foo->Call(env->Global(), argc, argv_100); |
CHECK_EQ(50, result->Int32Value()); |
- CHECK_EQ(457, break_point_hit_count); |
+ CHECK_EQ(557, break_point_hit_count); |
// Get rid of the debug event listener. |
v8::Debug::SetDebugEventListener(NULL); |
@@ -3434,7 +3432,7 @@ TEST(DebugStepForBreak) { |
v8::Handle<v8::Value> argv_10[argc] = { v8::Number::New(isolate, 10) }; |
result = foo->Call(env->Global(), argc, argv_10); |
CHECK_EQ(9, result->Int32Value()); |
- CHECK_EQ(55, break_point_hit_count); |
+ CHECK_EQ(64, break_point_hit_count); |
// Looping 100 times. |
step_action = StepIn; |
@@ -3442,7 +3440,7 @@ TEST(DebugStepForBreak) { |
v8::Handle<v8::Value> argv_100[argc] = { v8::Number::New(isolate, 100) }; |
result = foo->Call(env->Global(), argc, argv_100); |
CHECK_EQ(99, result->Int32Value()); |
- CHECK_EQ(505, break_point_hit_count); |
+ CHECK_EQ(604, break_point_hit_count); |
// Get rid of the debug event listener. |
v8::Debug::SetDebugEventListener(NULL); |
@@ -3473,7 +3471,7 @@ TEST(DebugStepForIn) { |
step_action = StepIn; |
break_point_hit_count = 0; |
foo->Call(env->Global(), 0, NULL); |
- CHECK_EQ(6, break_point_hit_count); |
+ CHECK_EQ(7, break_point_hit_count); |
// Create a function for testing stepping. Run it to allow it to get |
// optimized. |
@@ -3490,7 +3488,7 @@ TEST(DebugStepForIn) { |
step_action = StepIn; |
break_point_hit_count = 0; |
foo->Call(env->Global(), 0, NULL); |
- CHECK_EQ(8, break_point_hit_count); |
+ CHECK_EQ(9, break_point_hit_count); |
// Get rid of the debug event listener. |
v8::Debug::SetDebugEventListener(NULL); |