Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: src/d8.cc

Issue 280223002: Fix windows x64 build. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 // Defined when linking against shared lib on Windows. 6 // Defined when linking against shared lib on Windows.
7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED) 7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED)
8 #define V8_SHARED 8 #define V8_SHARED
9 #endif 9 #endif
10 10
(...skipping 1335 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 if (Shell::options.last_run) { 1346 if (Shell::options.last_run) {
1347 thread_->Join(); 1347 thread_->Join();
1348 } else { 1348 } else {
1349 done_semaphore_.Wait(); 1349 done_semaphore_.Wait();
1350 } 1350 }
1351 } 1351 }
1352 #endif // !V8_SHARED 1352 #endif // !V8_SHARED
1353 1353
1354 1354
1355 void SetFlagsFromString(const char* flags) { 1355 void SetFlagsFromString(const char* flags) {
1356 v8::V8::SetFlagsFromString(flags, strlen(flags)); 1356 v8::V8::SetFlagsFromString(flags, static_cast<int>(strlen(flags)));
1357 } 1357 }
1358 1358
1359 1359
1360 bool Shell::SetOptions(int argc, char* argv[]) { 1360 bool Shell::SetOptions(int argc, char* argv[]) {
1361 bool logfile_per_isolate = false; 1361 bool logfile_per_isolate = false;
1362 for (int i = 0; i < argc; i++) { 1362 for (int i = 0; i < argc; i++) {
1363 // Turn '_' into '-'. 1363 // Turn '_' into '-'.
1364 // for (char* c = arg; *c != '\0'; c++) if (*c == '_') *c = '-'; 1364 // for (char* c = arg; *c != '\0'; c++) if (*c == '_') *c = '-';
1365 if (strcmp(argv[i], "--stress-opt") == 0) { 1365 if (strcmp(argv[i], "--stress-opt") == 0) {
1366 options.stress_opt = true; 1366 options.stress_opt = true;
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1728 } 1728 }
1729 1729
1730 } // namespace v8 1730 } // namespace v8
1731 1731
1732 1732
1733 #ifndef GOOGLE3 1733 #ifndef GOOGLE3
1734 int main(int argc, char* argv[]) { 1734 int main(int argc, char* argv[]) {
1735 return v8::Shell::Main(argc, argv); 1735 return v8::Shell::Main(argc, argv);
1736 } 1736 }
1737 #endif 1737 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698