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

Side by Side Diff: src/d8.cc

Issue 6995110: fixed style mistake found in presubmit.py (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 OnExit(); 897 OnExit();
898 return 1; 898 return 1;
899 } 899 }
900 } 900 }
901 } 901 }
902 902
903 // Start preemption if threads have been created and preemption is enabled. 903 // Start preemption if threads have been created and preemption is enabled.
904 if (threads.length() > 0 && use_preemption) { 904 if (threads.length() > 0 && use_preemption) {
905 Locker::StartPreemption(preemption_interval); 905 Locker::StartPreemption(preemption_interval);
906 } 906 }
907
908 } 907 }
909 908
910 for (int i = 0; i < threads.length(); i++) { 909 for (int i = 0; i < threads.length(); i++) {
911 i::Thread* thread = threads[i]; 910 i::Thread* thread = threads[i];
912 thread->Join(); 911 thread->Join();
913 delete thread; 912 delete thread;
914 } 913 }
915 OnExit(); 914 OnExit();
916 return 0; 915 return 0;
917 } 916 }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 if (run_shell) { 972 if (run_shell) {
974 InstallUtilityScript(); 973 InstallUtilityScript();
975 RunShell(); 974 RunShell();
976 } 975 }
977 976
978 v8::V8::Dispose(); 977 v8::V8::Dispose();
979 978
980 return result; 979 return result;
981 } 980 }
982 981
983 } // namespace v8 982 } // namespace v8
984 983
985 984
986 #ifndef GOOGLE3 985 #ifndef GOOGLE3
987 int main(int argc, char* argv[]) { 986 int main(int argc, char* argv[]) {
988 return v8::Shell::Main(argc, argv); 987 return v8::Shell::Main(argc, argv);
989 } 988 }
990 #endif 989 #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