Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1526)

Unified Diff: pkg/compiler/lib/src/native/behavior.dart

Issue 2975433002: Assert that we don't mix K and J elements (Closed)
Patch Set: Updated cf. comments Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/kernel/native_basic_data.dart ('k') | pkg/compiler/lib/src/native/enqueue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « pkg/compiler/lib/src/kernel/native_basic_data.dart ('k') | pkg/compiler/lib/src/native/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698