Revision: 10581
Author:   [email protected]
Date:     Wed Feb  1 09:28:04 2012
Log:      Fix compile error on linux shared.

BUG=
TEST=

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

Modified:
 /branches/bleeding_edge/src/d8.cc

=======================================
--- /branches/bleeding_edge/src/d8.cc   Wed Feb  1 08:47:06 2012
+++ /branches/bleeding_edge/src/d8.cc   Wed Feb  1 09:28:04 2012
@@ -1485,12 +1485,14 @@
     }
     printf("======== Full Deoptimization =======\n");
     Testing::DeoptimizeAll();
+#if !defined(V8_SHARED)
   } else if (i::FLAG_stress_runs > 0) {
     int stress_runs = i::FLAG_stress_runs;
     for (int i = 0; i < stress_runs && result == 0; i++) {
       printf("============ Run %d/%d ============\n", i + 1, stress_runs);
       result = RunMain(argc, argv);
     }
+#endif
   } else {
     result = RunMain(argc, argv);
   }

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

Reply via email to