| Index: runtime/vm/il_printer.h
|
| diff --git a/runtime/vm/il_printer.h b/runtime/vm/il_printer.h
|
| index bc19c75d1b9d76a42d51cc6f59c568d764cf584a..b800ab798ea16792f0ec82d88470516bcb1cd8f3 100644
|
| --- a/runtime/vm/il_printer.h
|
| +++ b/runtime/vm/il_printer.h
|
| @@ -35,6 +35,8 @@ class ParsedFunction;
|
| // Graph printing.
|
| class FlowGraphPrinter : public ValueObject {
|
| public:
|
| + static const intptr_t kPrintAll = -1;
|
| +
|
| FlowGraphPrinter(const FlowGraph& flow_graph,
|
| bool print_locations = false)
|
| : function_(flow_graph.function()),
|
| @@ -57,8 +59,10 @@ class FlowGraphPrinter : public ValueObject {
|
|
|
| static void PrintGraph(const char* phase, FlowGraph* flow_graph);
|
|
|
| - // Debugging helper function.
|
| - static void PrintICData(const ICData& ic_data);
|
| + // Debugging helper function. If 'num_checks_to_print' is not specified
|
| + // all checks will be printed.
|
| + static void PrintICData(const ICData& ic_data,
|
| + intptr_t num_checks_to_print = kPrintAll);
|
|
|
| static bool ShouldPrint(const Function& function);
|
|
|
|
|