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

Side by Side Diff: src/d8.cc

Issue 7205023: (draft) Random fixes to D8 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: merge 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 | src/d8-debug.cc » ('j') | 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 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 result = RunMain(argc, argv); 957 result = RunMain(argc, argv);
958 } 958 }
959 printf("======== Full Deoptimization =======\n"); 959 printf("======== Full Deoptimization =======\n");
960 v8::Testing::DeoptimizeAll(); 960 v8::Testing::DeoptimizeAll();
961 } else { 961 } else {
962 result = RunMain(argc, argv); 962 result = RunMain(argc, argv);
963 } 963 }
964 964
965 #ifdef ENABLE_DEBUGGER_SUPPORT 965 #ifdef ENABLE_DEBUGGER_SUPPORT
966 if (i::FLAG_remote_debugger) { 966 if (i::FLAG_remote_debugger) {
967 InstallUtilityScript();
967 RunRemoteDebugger(i::FLAG_debugger_port); 968 RunRemoteDebugger(i::FLAG_debugger_port);
968 return 0; 969 return 0;
969 } 970 }
970 #endif 971 #endif
971 972
972 if (run_shell) { 973 if (run_shell) {
973 InstallUtilityScript(); 974 InstallUtilityScript();
974 RunShell(); 975 RunShell();
975 } 976 }
976 977
977 v8::V8::Dispose(); 978 v8::V8::Dispose();
978 979
979 return result; 980 return result;
980 } 981 }
981 982
982 } // namespace v8 983 } // namespace v8
983 984
984 985
985 #ifndef GOOGLE3 986 #ifndef GOOGLE3
986 int main(int argc, char* argv[]) { 987 int main(int argc, char* argv[]) {
987 return v8::Shell::Main(argc, argv); 988 return v8::Shell::Main(argc, argv);
988 } 989 }
989 #endif 990 #endif
OLDNEW
« no previous file with comments | « no previous file | src/d8-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698