Index: sdk/lib/_internal/compiler/implementation/ssa/optimize.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/ssa/optimize.dart (revision 17051) |
+++ sdk/lib/_internal/compiler/implementation/ssa/optimize.dart (working copy) |
@@ -240,7 +240,7 @@ |
return new HIndexAssign(node.inputs[1], node.inputs[2], node.inputs[3]); |
} |
} else if (selector.kind == SelectorKind.OPERATOR) { |
- if (selector.name == const SourceString('-')) { |
+ if (selector.name == const SourceString('unary-')) { |
if (input.isNumber(types)) { |
return new HNegate(input); |
} |