| Index: dart/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart b/dart/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
|
| index 8595cc5b9b1b02275584493dd1b622d64e19ac25..6333b0e147d6325fa4013090c8fdf40c83f7f00c 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
|
| @@ -459,7 +459,7 @@ class SsaConstantFolder extends HBaseVisitor implements OptimizationPhase {
|
| HType leftType = types[left];
|
| if (leftType.isExact()) {
|
| HBoundedType type = leftType;
|
| - Element element = type.lookupMember(Elements.OPERATOR_EQUALS);
|
| + Element element = type.lookupMember(const SourceString('=='));
|
| if (element != null) {
|
| // If the left-hand side is guaranteed to be a non-primitive
|
| // type and and it defines operator==, we emit a call to that
|
|
|