Index: pkg/compiler/lib/src/tracer.dart |
diff --git a/pkg/compiler/lib/src/tracer.dart b/pkg/compiler/lib/src/tracer.dart |
index 849186048e07bec3fa51de20b4da3cc6c692bd36..32327c3b05eea8016a07a19ff2c41635d7ea3064 100644 |
--- a/pkg/compiler/lib/src/tracer.dart |
+++ b/pkg/compiler/lib/src/tracer.dart |
@@ -57,10 +57,10 @@ class Tracer extends TracerUtil { |
if (irObject is ssa.HGraph) { |
new HTracer(output, compiler, context).traceGraph(name, irObject); |
} |
- else if (irObject is cps_ir.RootNode) { |
+ else if (irObject is cps_ir.FunctionDefinition) { |
new IRTracer(output).traceGraph(name, irObject); |
} |
- else if (irObject is tree_ir.RootNode) { |
+ else if (irObject is tree_ir.FunctionDefinition) { |
new TreeTracer(output).traceGraph(name, irObject); |
} |
} |