Chromium Code Reviews| Index: runtime/vm/il_printer.h |
| diff --git a/runtime/vm/il_printer.h b/runtime/vm/il_printer.h |
| index bc19c75d1b9d76a42d51cc6f59c568d764cf584a..acfd16c6c635a42ecd7b862562d12ecfab368eee 100644 |
| --- a/runtime/vm/il_printer.h |
| +++ b/runtime/vm/il_printer.h |
| @@ -57,8 +57,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 |
| + // or is negative, all checks will be printed. |
| + static void PrintICData(const ICData& ic_data, |
| + intptr_t num_checks_to_print = -1); |
|
zra
2016/04/27 16:28:17
It looks like this function only previously had on
srdjan
2016/04/27 18:10:22
Using kPrintAll, but leaving it as default as I of
|
| static bool ShouldPrint(const Function& function); |