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

Unified Diff: pkg/compiler/lib/src/constants/constant_system.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/constant_system_dart.dart ('k') | pkg/compiler/lib/src/constants/evaluation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/constants/constant_system.dart
diff --git a/pkg/compiler/lib/src/constants/constant_system.dart b/pkg/compiler/lib/src/constants/constant_system.dart
index b7ceb6b6010f566e4def6780fb338896c7caba9e..3b416b1beec1a43f75f6b1dcbe1a145f05565204 100644
--- a/pkg/compiler/lib/src/constants/constant_system.dart
+++ b/pkg/compiler/lib/src/constants/constant_system.dart
@@ -4,7 +4,6 @@
library dart2js.constant_system;
-import '../common/backend_api.dart' show BackendClasses;
import '../common_elements.dart' show CommonElements;
import '../elements/resolution_types.dart' show DartTypes;
import '../elements/types.dart';
@@ -67,16 +66,10 @@ abstract class ConstantSystem {
ConstantValue createBool(bool value);
ConstantValue createNull();
ConstantValue createList(InterfaceType type, List<ConstantValue> values);
- ConstantValue createMap(
- CommonElements commonElements,
- BackendClasses backendClasses,
- InterfaceType type,
- List<ConstantValue> keys,
- List<ConstantValue> values);
- ConstantValue createType(CommonElements commonElements,
- BackendClasses backendClasses, DartType type);
- ConstantValue createSymbol(CommonElements commonElements,
- BackendClasses backendClasses, String text);
+ ConstantValue createMap(CommonElements commonElements, InterfaceType type,
+ List<ConstantValue> keys, List<ConstantValue> values);
+ ConstantValue createType(CommonElements commonElements, DartType type);
+ ConstantValue createSymbol(CommonElements commonElements, String text);
// We need to special case the subtype check for JavaScript constant
// system because an int is a double at runtime.
« no previous file with comments | « pkg/compiler/lib/src/constant_system_dart.dart ('k') | pkg/compiler/lib/src/constants/evaluation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698