Index: runtime/vm/il_printer.cc |
diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc |
index 204725c782151251a79330a95e0cc5b12a9320b9..510454522037c49191d843e4a938aca3d0739bf8 100644 |
--- a/runtime/vm/il_printer.cc |
+++ b/runtime/vm/il_printer.cc |
@@ -1275,8 +1275,15 @@ const char* Environment::ToCString() const { |
return Thread::Current()->zone()->MakeCopyOfString(buffer); |
} |
+ |
#else // PRODUCT |
+ |
+const char* Instruction::ToCString() const { |
+ return DebugName(); |
+} |
+ |
+ |
void FlowGraphPrinter::PrintOneInstruction(Instruction* instr, |
bool print_locations) { |
UNREACHABLE(); |