Index: runtime/vm/il_printer.cc |
=================================================================== |
--- runtime/vm/il_printer.cc (revision 28797) |
+++ runtime/vm/il_printer.cc (working copy) |
@@ -73,7 +73,7 @@ |
void FlowGraphPrinter::PrintOneInstruction(Instruction* instr, |
bool print_locations) { |
- char str[1000]; |
+ char str[4000]; |
BufferFormatter f(str, sizeof(str)); |
instr->PrintTo(&f); |
if (FLAG_print_environments && (instr->env() != NULL)) { |
@@ -97,8 +97,8 @@ |
const String& dst_name, |
bool eliminated) { |
const char* compile_type_name = "unknown"; |
- if (value != NULL) { |
- compile_type_name = value->Type()->ToCString(); |
+ if (value != NULL && value->reaching_type_ != NULL) { |
+ compile_type_name = value->reaching_type_->ToCString(); |
} |
OS::Print("%s type check: compile type %s is %s specific than " |
"type '%s' of '%s'.\n", |
@@ -232,7 +232,7 @@ |
void Value::PrintTo(BufferFormatter* f) const { |
PrintUse(f, *definition()); |
if ((reaching_type_ != NULL) && |
- (reaching_type_ != definition()->Type())) { |
+ (reaching_type_ != definition()->type_)) { |
f->Print(" "); |
reaching_type_->PrintTo(f); |
} |