| Index: sdk/lib/_internal/compiler/implementation/ssa/interceptor_simplifier.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/interceptor_simplifier.dart b/sdk/lib/_internal/compiler/implementation/ssa/interceptor_simplifier.dart
|
| index f3c309899b9dfaa9d5723f4ddca759fd0a28ada7..61d0a755cf7fa663a06adb31cda906ed6fd3758d 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/interceptor_simplifier.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/interceptor_simplifier.dart
|
| @@ -130,7 +130,7 @@ class SsaSimplifyInterceptors extends HBaseVisitor
|
| // code is completely insensitive to the specific instance subclasses, we
|
| // can use the non-leaf class directly.
|
| ClassElement element = input.instructionType.singleClass(compiler);
|
| - if (element != null && element.isNative()) {
|
| + if (element != null && element.isNative) {
|
| constantInterceptor = element;
|
| }
|
| }
|
| @@ -139,7 +139,7 @@ class SsaSimplifyInterceptors extends HBaseVisitor
|
|
|
| // If we just happen to be in an instance method of the constant
|
| // interceptor, `this` is a shorter alias.
|
| - if (constantInterceptor == work.element.getEnclosingClass() &&
|
| + if (constantInterceptor == work.element.enclosingClass &&
|
| graph.thisInstruction != null) {
|
| return graph.thisInstruction;
|
| }
|
| @@ -263,13 +263,13 @@ class SsaSimplifyInterceptors extends HBaseVisitor
|
|
|
| Selector selector = node.selector;
|
| HInstruction instruction;
|
| - if (selector.isGetter()) {
|
| + if (selector.isGetter) {
|
| instruction = new HInvokeDynamicGetter(
|
| selector,
|
| node.element,
|
| <HInstruction>[constant, node.inputs[1]],
|
| node.instructionType);
|
| - } else if (selector.isSetter()) {
|
| + } else if (selector.isSetter) {
|
| instruction = new HInvokeDynamicSetter(
|
| selector,
|
| node.element,
|
|
|