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

Side by Side Diff: runtime/vm/program_visitor.cc

Issue 2990173002: Revert "[vm] Don't enable the profiler by default. Enable the profiler at startup with --observe, o… (Closed)
Patch Set: Created 3 years, 4 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 | « runtime/vm/profiler_test.cc ('k') | runtime/vm/service.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 (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/program_visitor.h" 5 #include "vm/program_visitor.h"
6 6
7 #include "vm/deopt_instructions.h" 7 #include "vm/deopt_instructions.h"
8 #include "vm/hash_map.h" 8 #include "vm/hash_map.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/object_store.h" 10 #include "vm/object_store.h"
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 591
592 // TODO(rmacnak): Bind static calls whose target has been compiled. Forward 592 // TODO(rmacnak): Bind static calls whose target has been compiled. Forward
593 // references to disabled code. 593 // references to disabled code.
594 ShareMegamorphicBuckets(); 594 ShareMegamorphicBuckets();
595 DedupStackMaps(); 595 DedupStackMaps();
596 DedupPcDescriptors(); 596 DedupPcDescriptors();
597 NOT_IN_PRECOMPILED(DedupDeoptEntries()); 597 NOT_IN_PRECOMPILED(DedupDeoptEntries());
598 DedupCodeSourceMaps(); 598 DedupCodeSourceMaps();
599 DedupLists(); 599 DedupLists();
600 600
601 #if defined(PRODUCT) 601 if (!FLAG_profiler) {
602 // Reduces binary size but obfuscates profiler results. 602 // Reduces binary size but obfuscates profiler results.
603 DedupInstructions(); 603 DedupInstructions();
604 #endif 604 }
605 } 605 }
606 606
607 } // namespace dart 607 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/profiler_test.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698