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

Side by Side Diff: src/d8.cc

Issue 2443573002: [compiler] Prepare for partially shipping Ignition. (Closed)
Patch Set: Rebased. Created 4 years, 1 month 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/frames.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 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 #include <errno.h> 5 #include <errno.h>
6 #include <stdlib.h> 6 #include <stdlib.h>
7 #include <string.h> 7 #include <string.h>
8 #include <sys/stat.h> 8 #include <sys/stat.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 2904 matching lines...) Expand 10 before | Expand all | Expand 10 after
2915 bool last_run = true; 2915 bool last_run = true;
2916 result = RunMain(isolate, argc, argv, last_run); 2916 result = RunMain(isolate, argc, argv, last_run);
2917 } 2917 }
2918 2918
2919 // Run interactive shell if explicitly requested or if no script has been 2919 // Run interactive shell if explicitly requested or if no script has been
2920 // executed, but never on --test 2920 // executed, but never on --test
2921 if (options.use_interactive_shell()) { 2921 if (options.use_interactive_shell()) {
2922 RunShell(isolate); 2922 RunShell(isolate);
2923 } 2923 }
2924 2924
2925 if (i::FLAG_ignition && i::FLAG_trace_ignition_dispatches && 2925 if (i::FLAG_trace_ignition_dispatches &&
2926 i::FLAG_trace_ignition_dispatches_output_file != nullptr) { 2926 i::FLAG_trace_ignition_dispatches_output_file != nullptr) {
2927 WriteIgnitionDispatchCountersFile(isolate); 2927 WriteIgnitionDispatchCountersFile(isolate);
2928 } 2928 }
2929 2929
2930 // Shut down contexts and collect garbage. 2930 // Shut down contexts and collect garbage.
2931 evaluation_context_.Reset(); 2931 evaluation_context_.Reset();
2932 stringify_function_.Reset(); 2932 stringify_function_.Reset();
2933 CollectGarbage(isolate); 2933 CollectGarbage(isolate);
2934 } 2934 }
2935 OnExit(isolate); 2935 OnExit(isolate);
(...skipping 12 matching lines...) Expand all
2948 } 2948 }
2949 2949
2950 } // namespace v8 2950 } // namespace v8
2951 2951
2952 2952
2953 #ifndef GOOGLE3 2953 #ifndef GOOGLE3
2954 int main(int argc, char* argv[]) { 2954 int main(int argc, char* argv[]) {
2955 return v8::Shell::Main(argc, argv); 2955 return v8::Shell::Main(argc, argv);
2956 } 2956 }
2957 #endif 2957 #endif
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698