Index: lib/compiler/implementation/ssa/nodes.dart |
diff --git a/lib/compiler/implementation/ssa/nodes.dart b/lib/compiler/implementation/ssa/nodes.dart |
index 336f1f4da4fae6ad80e820cd84d6c70eb606cc77..c9b49f5c7e0c00d88747a0b73f75bd0a23ca4d35 100644 |
--- a/lib/compiler/implementation/ssa/nodes.dart |
+++ b/lib/compiler/implementation/ssa/nodes.dart |
@@ -2081,11 +2081,10 @@ class HIndexAssign extends HInvokeStatic { |
} |
class HIs extends HInstruction { |
- // TODO(ahe): This should be a Type, not Element. |
- final Element typeExpression; |
+ final Type typeName; |
ahe
2012/04/12 15:05:23
Thank you! The name is not optimal, if you have an
|
final bool nullOk; |
- HIs(this.typeExpression, HInstruction expression, [nullOk = false]) |
+ HIs(this.typeName, HInstruction expression, [nullOk = false]) |
: this.nullOk = nullOk, super(<HInstruction>[expression]); |
HInstruction get expression() => inputs[0]; |
@@ -2095,7 +2094,7 @@ class HIs extends HInstruction { |
accept(HVisitor visitor) => visitor.visitIs(this); |
- toString() => "$expression is $typeExpression"; |
+ toString() => "$expression is $typeName"; |
} |
class HIfBlockInformation { |