From: ulan@chromium.org Date: Wed, 1 Feb 2012 17:28:04 +0000 (+0000) Subject: Fix compile error on linux shared. X-Git-Tag: upstream/4.7.83~17468 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0cae1aa7a312b87ba64ad4172b33bb958a159276;p=platform%2Fupstream%2Fv8.git Fix compile error on linux shared. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9307038 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10581 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/d8.cc b/src/d8.cc index 31beaf9..94e3270 100644 --- a/src/d8.cc +++ b/src/d8.cc @@ -1485,12 +1485,14 @@ int Shell::Main(int argc, char* argv[]) { } 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); }