Index: runtime/vm/il_printer.cc |
diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc |
index 9e0b653f327d927169a9773509844f0f25468d33..c691b857ff5f7d491484e7ee71093fb5a60154c9 100644 |
--- a/runtime/vm/il_printer.cc |
+++ b/runtime/vm/il_printer.cc |
@@ -83,11 +83,11 @@ bool FlowGraphPrinter::ShouldPrint(const Function& function) { |
void FlowGraphPrinter::PrintGraph(const char* phase, FlowGraph* flow_graph) { |
- LogBlock lb(Isolate::Current()); |
- ISL_Print("*** BEGIN CFG\n%s\n", phase); |
+ LogBlock lb; |
+ THR_Print("*** BEGIN CFG\n%s\n", phase); |
FlowGraphPrinter printer(*flow_graph); |
printer.PrintBlocks(); |
- ISL_Print("*** END CFG\n"); |
+ THR_Print("*** END CFG\n"); |
fflush(stdout); |
} |
@@ -96,19 +96,19 @@ void FlowGraphPrinter::PrintBlock(BlockEntryInstr* block, |
bool print_locations) { |
// Print the block entry. |
PrintOneInstruction(block, print_locations); |
- ISL_Print("\n"); |
+ THR_Print("\n"); |
// And all the successors in the block. |
for (ForwardInstructionIterator it(block); !it.Done(); it.Advance()) { |
Instruction* current = it.Current(); |
PrintOneInstruction(current, print_locations); |
- ISL_Print("\n"); |
+ THR_Print("\n"); |
} |
} |
void FlowGraphPrinter::PrintBlocks() { |
if (!function_.IsNull()) { |
- ISL_Print("==== %s\n", function_.ToFullyQualifiedCString()); |
+ THR_Print("==== %s\n", function_.ToFullyQualifiedCString()); |
} |
for (intptr_t i = 0; i < block_order_.length(); ++i) { |
@@ -134,12 +134,12 @@ void FlowGraphPrinter::PrintOneInstruction(Instruction* instr, |
instr->locs()->PrintTo(&f); |
} |
if (instr->lifetime_position() != -1) { |
- ISL_Print("%3" Pd ": ", instr->lifetime_position()); |
+ THR_Print("%3" Pd ": ", instr->lifetime_position()); |
} |
- if (!instr->IsBlockEntry()) ISL_Print(" "); |
- ISL_Print("%s", str); |
+ if (!instr->IsBlockEntry()) THR_Print(" "); |
+ THR_Print("%s", str); |
if (FLAG_trace_inlining_intervals) { |
- ISL_Print(" iid: %" Pd "", instr->inlining_id()); |
+ THR_Print(" iid: %" Pd "", instr->inlining_id()); |
} |
} |
@@ -154,7 +154,7 @@ void FlowGraphPrinter::PrintTypeCheck(const ParsedFunction& parsed_function, |
if (value != NULL && value->reaching_type_ != NULL) { |
compile_type_name = value->reaching_type_->ToCString(); |
} |
- ISL_Print("%s type check: compile type %s is %s specific than " |
+ THR_Print("%s type check: compile type %s is %s specific than " |
"type '%s' of '%s'.\n", |
eliminated ? "Eliminated" : "Generated", |
compile_type_name, |
@@ -228,9 +228,9 @@ void FlowGraphPrinter::PrintICData(const ICData& ic_data) { |
char buffer[1024]; |
BufferFormatter f(buffer, sizeof(buffer)); |
PrintICDataHelper(&f, ic_data); |
- ISL_Print("%s ", buffer); |
+ THR_Print("%s ", buffer); |
const Array& a = Array::Handle(ic_data.arguments_descriptor()); |
- ISL_Print(" arg-desc %" Pd "\n", a.Length()); |
+ THR_Print(" arg-desc %" Pd "\n", a.Length()); |
} |