Revision: 9263
Author:   [email protected]
Date:     Tue Sep 13 07:31:54 2011
Log:      Fixing r9262 for shared library build.

Review URL: http://codereview.chromium.org/7888013
http://code.google.com/p/v8/source/detail?r=9263

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

=======================================
--- /branches/bleeding_edge/src/d8.cc   Tue Sep 13 06:16:13 2011
+++ /branches/bleeding_edge/src/d8.cc   Tue Sep 13 07:31:54 2011
@@ -1160,10 +1160,11 @@
 #endif  // V8_SHARED
       options.num_isolates++;
     } else if (strcmp(argv[i], "-p") == 0) {
-      options.num_parallel_files++;
 #ifdef V8_SHARED
       printf("D8 with shared library does not support multi-threading\n");
       return false;
+#else
+      options.num_parallel_files++;
 #endif  // V8_SHARED
     }
 #ifdef V8_SHARED

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

Reply via email to