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

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

Issue 2786593004: Use entities in NativeResolutionEnqueuer and make it reusable for kernel (Closed)
Patch Set: Created 3 years, 9 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/no_such_method_resolver.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/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 80a67d597da80091303069cc782b9a58e8574de3..1356c0f4b3bfca4757e098f5ac9e797a423fe39a 100644
--- a/pkg/compiler/lib/src/kernel/world_builder.dart
+++ b/pkg/compiler/lib/src/kernel/world_builder.dart
@@ -23,9 +23,11 @@ import '../js_backend/backend_helpers.dart';
import '../js_backend/constant_system_javascript.dart';
import '../js_backend/no_such_method_registry.dart';
import '../native/native.dart' as native;
+import '../native/resolver.dart';
import 'element_adapter.dart';
import 'elements.dart';
+part 'native_class_resolver.dart';
part 'no_such_method_resolver.dart';
/// World builder used for creating elements and types corresponding to Kernel
@@ -550,6 +552,11 @@ class KernelElementEnvironment implements ElementEnvironment {
}
@override
+ bool isSubtype(DartType a, DartType b) {
+ throw new UnimplementedError('KernelElementEnvironment.isSubtype');
+ }
+
+ @override
ConstructorEntity lookupConstructor(ClassEntity cls, String name,
{bool required: false}) {
ConstructorEntity constructor = worldBuilder.lookupConstructor(cls, name);
« no previous file with comments | « pkg/compiler/lib/src/kernel/no_such_method_resolver.dart ('k') | pkg/compiler/lib/src/native/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698