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

Unified Diff: pkg/compiler/lib/src/backend_strategy.dart

Issue 2999723002: Add stub versions of KernelInferrerEngine and friends (Closed)
Patch Set: Created 3 years, 4 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
Index: pkg/compiler/lib/src/backend_strategy.dart
diff --git a/pkg/compiler/lib/src/backend_strategy.dart b/pkg/compiler/lib/src/backend_strategy.dart
index 432926636240ad592762e99f3402ccbcb79b71ed..aabc367dc0f5b180293160e9f0daf5de7ef284fe 100644
--- a/pkg/compiler/lib/src/backend_strategy.dart
+++ b/pkg/compiler/lib/src/backend_strategy.dart
@@ -14,6 +14,7 @@ import 'js_backend/js_backend.dart';
import 'js_backend/native_data.dart';
import 'js_emitter/sorter.dart';
import 'ssa/ssa.dart';
+import 'types/types.dart';
import 'universe/world_builder.dart';
import 'world.dart';
@@ -48,4 +49,10 @@ abstract class BackendStrategy {
/// Creates a [SourceSpan] from [spannable] in context of [currentElement].
SourceSpan spanFromSpannable(Spannable spannable, Entity currentElement);
+
+ TypesInferrer createTypesInferrer(ClosedWorldRefiner closedWorldRefiner,
+ {bool disableTypeInference: false});
+
+ GlobalTypeInferenceResults createTypesInferrerResults(
Siggi Cherem (dart-lang) 2017/08/09 16:22:42 does this need to be in this strategy? Can't it be
Johnni Winther 2017/08/10 09:00:49 Good idea. Done.
+ TypesInferrer typesInferrer, ClosedWorld closedWorld);
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/kernel_inferrer_engine.dart » ('j') | pkg/compiler/lib/src/types/types.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698