Commit 8a4a737a authored by yangguo@chromium.org's avatar yangguo@chromium.org

Fixing r9262 for shared library build.

Review URL: http://codereview.chromium.org/7888013

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9263 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 113434a6
...@@ -1160,10 +1160,11 @@ bool Shell::SetOptions(int argc, char* argv[]) { ...@@ -1160,10 +1160,11 @@ bool Shell::SetOptions(int argc, char* argv[]) {
#endif // V8_SHARED #endif // V8_SHARED
options.num_isolates++; options.num_isolates++;
} else if (strcmp(argv[i], "-p") == 0) { } else if (strcmp(argv[i], "-p") == 0) {
options.num_parallel_files++;
#ifdef V8_SHARED #ifdef V8_SHARED
printf("D8 with shared library does not support multi-threading\n"); printf("D8 with shared library does not support multi-threading\n");
return false; return false;
#else
options.num_parallel_files++;
#endif // V8_SHARED #endif // V8_SHARED
} }
#ifdef V8_SHARED #ifdef V8_SHARED
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment