Index: lib/compiler/implementation/ssa/tracer.dart |
diff --git a/lib/compiler/implementation/ssa/tracer.dart b/lib/compiler/implementation/ssa/tracer.dart |
index 4e453141e73aa97cad12628710b1d17e9c1ffedd..b3ebb4628830c1b8e77b601f489d88906ef1bacc 100644 |
--- a/lib/compiler/implementation/ssa/tracer.dart |
+++ b/lib/compiler/implementation/ssa/tracer.dart |
@@ -165,8 +165,7 @@ class HInstructionStringifier implements HVisitor<String> { |
String temporaryId(HInstruction instruction) { |
String prefix; |
- HType type = instruction.propagatedType; |
- switch (type) { |
+ switch (instruction.type) { |
case HType.MUTABLE_ARRAY: prefix = 'a'; break; |
case HType.READABLE_ARRAY: prefix = 'roa'; break; |
case HType.BOOLEAN: prefix = 'b'; break; |
@@ -403,7 +402,7 @@ class HInstructionStringifier implements HVisitor<String> { |
String visitTypeGuard(HTypeGuard node) { |
String type; |
- switch (node.propagatedType) { |
+ switch (node.type) { |
case HType.MUTABLE_ARRAY: type = "mutable_array"; break; |
case HType.READABLE_ARRAY: type = "readable_array"; break; |
case HType.BOOLEAN: type = "bool"; break; |