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

Unified Diff: pkg/compiler/lib/src/kernel/world_builder.dart

Issue 2813093002: Remove BackendClasses and JavaScriptBackendClasses. (Closed)
Patch Set: . Created 3 years, 8 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/js_backend/resolution_listener.dart ('k') | pkg/compiler/lib/src/native/behavior.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/world_builder.dart
diff --git a/pkg/compiler/lib/src/kernel/world_builder.dart b/pkg/compiler/lib/src/kernel/world_builder.dart
index 5b8527a68fdcfad09c767f2a336097cbad23fcf7..5e9272a55585b5cb4b4b2fbf67c50c6c88cd31c0 100644
--- a/pkg/compiler/lib/src/kernel/world_builder.dart
+++ b/pkg/compiler/lib/src/kernel/world_builder.dart
@@ -7,7 +7,6 @@ library dart2js.kernel.world_builder;
import 'package:kernel/ast.dart' as ir;
import '../common.dart';
-import '../common/backend_api.dart';
import '../common/resolution.dart';
import '../compile_time_constants.dart';
import '../constants/constant_system.dart';
@@ -20,6 +19,7 @@ import '../elements/elements.dart';
import '../elements/entities.dart';
import '../elements/types.dart';
import '../js_backend/constant_system_javascript.dart';
+import '../js_backend/native_data.dart' show NativeData;
import '../js_backend/no_such_method_registry.dart';
import '../native/native.dart' as native;
import '../native/resolver.dart';
@@ -864,7 +864,10 @@ class KernelBehaviorBuilder extends native.BehaviorBuilder {
final CommonElements commonElements;
final ConstantEnvironment constants;
- KernelBehaviorBuilder(this.commonElements, this.constants);
+ KernelBehaviorBuilder(
+ this.commonElements,
+ this.constants,
+ );
@override
bool get trustJSInteropTypeAnnotations {
@@ -878,8 +881,8 @@ class KernelBehaviorBuilder extends native.BehaviorBuilder {
}
@override
- BackendClasses get backendClasses {
- throw new UnimplementedError("KernelNativeBehaviorComputer.backendClasses");
+ NativeData get nativeData {
+ throw new UnimplementedError("KernelNativeBehaviorComputer.nativeData");
}
}
@@ -928,11 +931,6 @@ class _EvaluationEnvironment implements Environment {
}
@override
- BackendClasses get backendClasses {
- throw new UnimplementedError("_EvaluationEnvironment.backendClasses");
- }
-
- @override
InterfaceType substByContext(InterfaceType base, InterfaceType target) {
if (base.typeArguments.isNotEmpty) {
throw new UnimplementedError("_EvaluationEnvironment.substByContext");
« no previous file with comments | « pkg/compiler/lib/src/js_backend/resolution_listener.dart ('k') | pkg/compiler/lib/src/native/behavior.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698