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

Side by Side Diff: src/d8.cc

Issue 9307038: Fix compile error on linux shared. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after
1478 : Testing::kStressTypeDeopt); 1478 : Testing::kStressTypeDeopt);
1479 int stress_runs = Testing::GetStressRuns(); 1479 int stress_runs = Testing::GetStressRuns();
1480 for (int i = 0; i < stress_runs && result == 0; i++) { 1480 for (int i = 0; i < stress_runs && result == 0; i++) {
1481 printf("============ Stress %d/%d ============\n", i + 1, stress_runs); 1481 printf("============ Stress %d/%d ============\n", i + 1, stress_runs);
1482 Testing::PrepareStressRun(i); 1482 Testing::PrepareStressRun(i);
1483 options.last_run = (i == stress_runs - 1); 1483 options.last_run = (i == stress_runs - 1);
1484 result = RunMain(argc, argv); 1484 result = RunMain(argc, argv);
1485 } 1485 }
1486 printf("======== Full Deoptimization =======\n"); 1486 printf("======== Full Deoptimization =======\n");
1487 Testing::DeoptimizeAll(); 1487 Testing::DeoptimizeAll();
1488 #if !defined(V8_SHARED)
1488 } else if (i::FLAG_stress_runs > 0) { 1489 } else if (i::FLAG_stress_runs > 0) {
1489 int stress_runs = i::FLAG_stress_runs; 1490 int stress_runs = i::FLAG_stress_runs;
1490 for (int i = 0; i < stress_runs && result == 0; i++) { 1491 for (int i = 0; i < stress_runs && result == 0; i++) {
1491 printf("============ Run %d/%d ============\n", i + 1, stress_runs); 1492 printf("============ Run %d/%d ============\n", i + 1, stress_runs);
1492 result = RunMain(argc, argv); 1493 result = RunMain(argc, argv);
1493 } 1494 }
1495 #endif
1494 } else { 1496 } else {
1495 result = RunMain(argc, argv); 1497 result = RunMain(argc, argv);
1496 } 1498 }
1497 1499
1498 1500
1499 #if !defined(V8_SHARED) && defined(ENABLE_DEBUGGER_SUPPORT) 1501 #if !defined(V8_SHARED) && defined(ENABLE_DEBUGGER_SUPPORT)
1500 // Run remote debugger if requested, but never on --test 1502 // Run remote debugger if requested, but never on --test
1501 if (i::FLAG_remote_debugger && !options.test_shell) { 1503 if (i::FLAG_remote_debugger && !options.test_shell) {
1502 InstallUtilityScript(); 1504 InstallUtilityScript();
1503 RunRemoteDebugger(i::FLAG_debugger_port); 1505 RunRemoteDebugger(i::FLAG_debugger_port);
(...skipping 25 matching lines...) Expand all
1529 } 1531 }
1530 1532
1531 } // namespace v8 1533 } // namespace v8
1532 1534
1533 1535
1534 #ifndef GOOGLE3 1536 #ifndef GOOGLE3
1535 int main(int argc, char* argv[]) { 1537 int main(int argc, char* argv[]) {
1536 return v8::Shell::Main(argc, argv); 1538 return v8::Shell::Main(argc, argv);
1537 } 1539 }
1538 #endif 1540 #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