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

Side by Side Diff: src/d8.cc

Issue 1943923002: [Interpreter] Do not write Ignition dispatch counters to file by default. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix spelling. Created 4 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
« no previous file with comments | « no previous file | src/flag-definitions.h » ('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 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 2477 matching lines...) Expand 10 before | Expand all | Expand 10 after
2488 result = RunMain(isolate, argc, argv, last_run); 2488 result = RunMain(isolate, argc, argv, last_run);
2489 } 2489 }
2490 2490
2491 // Run interactive shell if explicitly requested or if no script has been 2491 // Run interactive shell if explicitly requested or if no script has been
2492 // executed, but never on --test 2492 // executed, but never on --test
2493 if (options.use_interactive_shell()) { 2493 if (options.use_interactive_shell()) {
2494 RunShell(isolate); 2494 RunShell(isolate);
2495 } 2495 }
2496 2496
2497 #ifndef V8_SHARED 2497 #ifndef V8_SHARED
2498 if (i::FLAG_ignition && i::FLAG_trace_ignition_dispatches) { 2498 if (i::FLAG_ignition && i::FLAG_trace_ignition_dispatches &&
2499 i::FLAG_trace_ignition_dispatches_output_file != nullptr) {
2499 WriteIgnitionDispatchCountersFile(isolate); 2500 WriteIgnitionDispatchCountersFile(isolate);
2500 } 2501 }
2501 #endif 2502 #endif
2502 2503
2503 // Shut down contexts and collect garbage. 2504 // Shut down contexts and collect garbage.
2504 evaluation_context_.Reset(); 2505 evaluation_context_.Reset();
2505 #ifndef V8_SHARED 2506 #ifndef V8_SHARED
2506 stringify_function_.Reset(); 2507 stringify_function_.Reset();
2507 #endif // !V8_SHARED 2508 #endif // !V8_SHARED
2508 CollectGarbage(isolate); 2509 CollectGarbage(isolate);
(...skipping 16 matching lines...) Expand all
2525 } 2526 }
2526 2527
2527 } // namespace v8 2528 } // namespace v8
2528 2529
2529 2530
2530 #ifndef GOOGLE3 2531 #ifndef GOOGLE3
2531 int main(int argc, char* argv[]) { 2532 int main(int argc, char* argv[]) {
2532 return v8::Shell::Main(argc, argv); 2533 return v8::Shell::Main(argc, argv);
2533 } 2534 }
2534 #endif 2535 #endif
OLDNEW
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698