Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(681)

Unified Diff: runtime/vm/flow_graph_type_propagator.cc

Issue 1314673008: Migrate logging infrastructure Isolate->Thread (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix test. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/flow_graph_type_propagator.cc
diff --git a/runtime/vm/flow_graph_type_propagator.cc b/runtime/vm/flow_graph_type_propagator.cc
index c80005dd942637abfbc9f28b6202c919d130395a..3448fd039d899b9653beb0060d97f1b03e225524 100644
--- a/runtime/vm/flow_graph_type_propagator.cc
+++ b/runtime/vm/flow_graph_type_propagator.cc
@@ -74,13 +74,13 @@ void FlowGraphTypePropagator::Propagate() {
while (!worklist_.is_empty()) {
Definition* def = RemoveLastFromWorklist();
if (FLAG_trace_type_propagation) {
- ISL_Print("recomputing type of v%" Pd ": %s\n",
+ THR_Print("recomputing type of v%" Pd ": %s\n",
def->ssa_temp_index(),
def->Type()->ToCString());
}
if (def->RecomputeType()) {
if (FLAG_trace_type_propagation) {
- ISL_Print(" ... new type %s\n", def->Type()->ToCString());
+ THR_Print(" ... new type %s\n", def->Type()->ToCString());
}
for (Value::Iterator it(def->input_use_list());
!it.Done();
@@ -267,7 +267,7 @@ void FlowGraphTypePropagator::VisitValue(Value* value) {
value->SetReachingType(type);
if (FLAG_trace_type_propagation) {
- ISL_Print("reaching type to v%" Pd " for v%" Pd " is %s\n",
+ THR_Print("reaching type to v%" Pd " for v%" Pd " is %s\n",
value->instruction()->IsDefinition() ?
value->instruction()->AsDefinition()->ssa_temp_index() : -1,
value->definition()->ssa_temp_index(),
@@ -552,7 +552,7 @@ intptr_t CompileType::ToNullableCid() {
cid_ = type_class.id();
} else if (FLAG_use_cha_deopt) {
if (FLAG_trace_cha) {
- ISL_Print(" **(CHA) Compile type not subclassed: %s\n",
+ THR_Print(" **(CHA) Compile type not subclassed: %s\n",
type_class.ToCString());
}
cha->AddToLeafClasses(type_class);
@@ -698,7 +698,7 @@ bool PhiInstr::RecomputeType() {
CompileType result = CompileType::None();
for (intptr_t i = 0; i < InputCount(); i++) {
if (FLAG_trace_type_propagation) {
- ISL_Print(" phi %" Pd " input %" Pd ": v%" Pd " has reaching type %s\n",
+ THR_Print(" phi %" Pd " input %" Pd ": v%" Pd " has reaching type %s\n",
ssa_temp_index(),
i,
InputAt(i)->definition()->ssa_temp_index(),
@@ -795,7 +795,7 @@ CompileType ParameterInstr::ComputeType() const {
} else {
if (FLAG_use_cha_deopt) {
if (FLAG_trace_cha) {
- ISL_Print(" **(CHA) Computing exact type of parameters, "
+ THR_Print(" **(CHA) Computing exact type of parameters, "
"no subclasses: %s\n",
type_class.ToCString());
}

Powered by Google App Engine
This is Rietveld 408576698