Index: pkg/compiler/lib/src/native/behavior.dart |
diff --git a/pkg/compiler/lib/src/native/behavior.dart b/pkg/compiler/lib/src/native/behavior.dart |
index ea4e80f95c1b4072473d71a64c1d738db43baea3..b08a898f28288d9eb31cd11d2feef1d3358e1403 100644 |
--- a/pkg/compiler/lib/src/native/behavior.dart |
+++ b/pkg/compiler/lib/src/native/behavior.dart |
@@ -774,8 +774,8 @@ class NativeBehavior { |
metadata.add(compiler.constants.getConstantValue(annotation.constant)); |
} |
- BehaviorBuilder builder = |
- new ResolverBehaviorBuilder(compiler, compiler.backend.nativeBasicData); |
+ BehaviorBuilder builder = new ResolverBehaviorBuilder( |
+ compiler, compiler.frontendStrategy.nativeBasicData); |
return builder.buildMethodBehavior( |
type, metadata, lookupFromElement(compiler.resolution, element), |
isJsInterop: isJsInterop); |
@@ -792,8 +792,8 @@ class NativeBehavior { |
metadata.add(compiler.constants.getConstantValue(annotation.constant)); |
} |
- BehaviorBuilder builder = |
- new ResolverBehaviorBuilder(compiler, compiler.backend.nativeBasicData); |
+ BehaviorBuilder builder = new ResolverBehaviorBuilder( |
+ compiler, compiler.frontendStrategy.nativeBasicData); |
return builder.buildFieldLoadBehavior( |
type, metadata, lookupFromElement(resolution, element), |
isJsInterop: isJsInterop); |
@@ -801,8 +801,8 @@ class NativeBehavior { |
static NativeBehavior ofFieldElementStore( |
MemberElement field, Compiler compiler) { |
- BehaviorBuilder builder = |
- new ResolverBehaviorBuilder(compiler, compiler.backend.nativeBasicData); |
+ BehaviorBuilder builder = new ResolverBehaviorBuilder( |
+ compiler, compiler.frontendStrategy.nativeBasicData); |
ResolutionDartType type = field.computeType(compiler.resolution); |
return builder.buildFieldStoreBehavior(type); |
} |