Revision: 10962
Author:   [email protected]
Date:     Thu Mar  8 00:09:27 2012
Log:      Un-braindead-ify test-debug/DebugBreakLoop

Review URL: https://chromiumcodereview.appspot.com/9623007
http://code.google.com/p/v8/source/detail?r=10962

Modified:
 /branches/bleeding_edge/test/cctest/test-debug.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-debug.cc Mon Feb 20 05:48:24 2012 +++ /branches/bleeding_edge/test/cctest/test-debug.cc Thu Mar 8 00:09:27 2012
@@ -7208,10 +7208,10 @@
// Receive 100 breaks for each test and then terminate JavaScript execution.
   static const int kBreaksPerTest = 100;

-  for (int i = 0; i < 1 && loop_bodies[i] != NULL; i++) {
+  for (int i = 0; loop_bodies[i] != NULL; i++) {
     // Perform a lazy deoptimization after various numbers of breaks
     // have been hit.
-    for (int j = 0; j < 10; j++) {
+    for (int j = 0; j < 11; j++) {
       break_point_hit_count_deoptimize = j;
       if (j == 10) {
         break_point_hit_count_deoptimize = kBreaksPerTest;

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to