| Index: pkg/compiler/lib/src/ssa/builder.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
|
| index 3b8f1fe6a2a395cbe0d61ec6ce06e98ee1d77c4e..b641cf7fc9cd7fc745461bce78439afc4db4231e 100644
|
| --- a/pkg/compiler/lib/src/ssa/builder.dart
|
| +++ b/pkg/compiler/lib/src/ssa/builder.dart
|
| @@ -3134,7 +3134,7 @@ class SsaBuilder extends ast.Visitor
|
| if (!Selectors.noSuchMethod_.signatureApplies(element)) {
|
| element = coreClasses.objectClass.lookupMember(Identifiers.noSuchMethod_);
|
| }
|
| - if (compiler.enabledInvokeOn && !element.enclosingClass.isObject) {
|
| + if (backend.hasInvokeOnSupport && !element.enclosingClass.isObject) {
|
| // Register the call as dynamic if [noSuchMethod] on the super
|
| // class is _not_ the default implementation from [Object], in
|
| // case the [noSuchMethod] implementation calls
|
| @@ -5488,7 +5488,7 @@ class SsaBuilder extends ast.Visitor
|
|
|
| _inferredTypeOfNewList(ast.Node node) =>
|
| inferenceResults.typeOfNewList(sourceElement, node) ??
|
| - compiler.commonMasks.dynamicType;
|
| + compiler.closedWorld.commonMasks.dynamicType;
|
|
|
| visitConditional(ast.Conditional node) {
|
| SsaBranchBuilder brancher = new SsaBranchBuilder(this, compiler, node);
|
|
|