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

Side by Side Diff: runtime/vm/il_printer.h

Issue 2809583002: Use off-heap data for type feedback in PolymorphicInstanceCallInstr (Closed)
Patch Set: More feedback from Slava Created 3 years, 8 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/flow_graph_type_propagator.cc ('k') | runtime/vm/il_printer.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #ifndef RUNTIME_VM_IL_PRINTER_H_ 5 #ifndef RUNTIME_VM_IL_PRINTER_H_
6 #define RUNTIME_VM_IL_PRINTER_H_ 6 #define RUNTIME_VM_IL_PRINTER_H_
7 7
8 #include "vm/flow_graph.h" 8 #include "vm/flow_graph.h"
9 #include "vm/intermediate_language.h" 9 #include "vm/intermediate_language.h"
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 bool eliminated); 55 bool eliminated);
56 static void PrintBlock(BlockEntryInstr* block, bool print_locations); 56 static void PrintBlock(BlockEntryInstr* block, bool print_locations);
57 57
58 static void PrintGraph(const char* phase, FlowGraph* flow_graph); 58 static void PrintGraph(const char* phase, FlowGraph* flow_graph);
59 59
60 // Debugging helper function. If 'num_checks_to_print' is not specified 60 // Debugging helper function. If 'num_checks_to_print' is not specified
61 // all checks will be printed. 61 // all checks will be printed.
62 static void PrintICData(const ICData& ic_data, 62 static void PrintICData(const ICData& ic_data,
63 intptr_t num_checks_to_print = kPrintAll); 63 intptr_t num_checks_to_print = kPrintAll);
64 64
65 // Debugging helper function. If 'num_checks_to_print' is not specified
66 // all checks will be printed.
67 static void PrintCidRangeData(const CallTargets& ic_data,
68 intptr_t num_checks_to_print = kPrintAll);
69
65 static bool ShouldPrint(const Function& function); 70 static bool ShouldPrint(const Function& function);
66 71
67 static bool PassesFilter(const char* filter, const Function& function); 72 static bool PassesFilter(const char* filter, const Function& function);
68 73
69 private: 74 private:
70 const Function& function_; 75 const Function& function_;
71 const GrowableArray<BlockEntryInstr*>& block_order_; 76 const GrowableArray<BlockEntryInstr*>& block_order_;
72 const bool print_locations_; 77 const bool print_locations_;
73 }; 78 };
74 79
75 } // namespace dart 80 } // namespace dart
76 81
77 #endif // RUNTIME_VM_IL_PRINTER_H_ 82 #endif // RUNTIME_VM_IL_PRINTER_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_type_propagator.cc ('k') | runtime/vm/il_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698