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

Unified Diff: pkg/compiler/lib/src/js_backend/runtime_types.dart

Issue 2807593002: Use entities in impact transformers. (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
Index: pkg/compiler/lib/src/js_backend/runtime_types.dart
diff --git a/pkg/compiler/lib/src/js_backend/runtime_types.dart b/pkg/compiler/lib/src/js_backend/runtime_types.dart
index 677fbb783fb5e718c0d6eaaa37e281b2afca626f..3101e8d617b8045e74e18b75ac7a311bf68b2a7c 100644
--- a/pkg/compiler/lib/src/js_backend/runtime_types.dart
+++ b/pkg/compiler/lib/src/js_backend/runtime_types.dart
@@ -29,7 +29,7 @@ abstract class RuntimeTypesNeed {
/// Interface for computing classes and methods that need runtime types.
abstract class RuntimeTypesNeedBuilder {
/// Registers that [cls] contains a type variable literal.
- void registerClassUsingTypeVariableExpression(ClassElement cls);
+ void registerClassUsingTypeVariableExpression(ClassEntity cls);
/// Registers that if [element] needs reified runtime type information then so
/// does [dependency].
@@ -44,7 +44,7 @@ abstract class RuntimeTypesNeedBuilder {
///
/// Here `A` need reified runtime type information because `B` needs it in
/// order to generate the check against `B<int>`.
- void registerRtiDependency(ClassElement element, ClassElement dependency);
+ void registerRtiDependency(ClassEntity element, ClassEntity dependency);
/// Computes the [RuntimeTypesNeed] for the data registered with this builder.
RuntimeTypesNeed computeRuntimeTypesNeed(
« no previous file with comments | « pkg/compiler/lib/src/js_backend/impact_transformer.dart ('k') | pkg/compiler/lib/src/kernel/world_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698