Chromium Code Reviews| Index: runtime/vm/il_printer.cc |
| diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc |
| index 12bcc099bfcca0378f67a7b12cad9bb2a423beb6..2de1f1df849308cc29354f98c877f749fb321432 100644 |
| --- a/runtime/vm/il_printer.cc |
| +++ b/runtime/vm/il_printer.cc |
| @@ -11,6 +11,8 @@ |
| namespace dart { |
| +#ifndef PRODUCT |
| + |
| DEFINE_FLAG(bool, print_environments, false, "Print SSA environments."); |
| DEFINE_FLAG(charp, print_flow_graph_filter, NULL, |
| "Print only IR of functions with matching names"); |
| @@ -1217,4 +1219,39 @@ const char* Environment::ToCString() const { |
| return Thread::Current()->zone()->MakeCopyOfString(buffer); |
| } |
| +#else |
|
rmacnak
2016/02/08 22:42:36
// PRODUCT
Cutch
2016/02/08 23:07:56
Done.
|
| + |
| +void FlowGraphPrinter::PrintOneInstruction(Instruction* instr, |
| + bool print_locations) { |
|
rmacnak
2016/02/08 22:42:36
UNREACHABLE()
Cutch
2016/02/08 23:07:56
Done.
|
| +} |
| + |
| + |
| +void FlowGraphPrinter::PrintTypeCheck(const ParsedFunction& parsed_function, |
| + TokenPosition token_pos, |
| + Value* value, |
| + const AbstractType& dst_type, |
| + const String& dst_name, |
| + bool eliminated) { |
| +} |
| + |
| + |
| +void FlowGraphPrinter::PrintBlock(BlockEntryInstr* block, |
| + bool print_locations) { |
| +} |
| + |
| + |
| +void FlowGraphPrinter::PrintGraph(const char* phase, FlowGraph* flow_graph) { |
| +} |
| + |
| + |
| +void FlowGraphPrinter::PrintICData(const ICData& ic_data) { |
| +} |
| + |
| + |
| +bool FlowGraphPrinter::ShouldPrint(const Function& function) { |
| + return false; |
| +} |
| + |
| +#endif |
| + |
| } // namespace dart |