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

Unified Diff: pkg/compiler/lib/src/universe/use.dart

Issue 2968383002: Add ConstructorBodyEntity (Closed)
Patch Set: Skip non-live constructor bodies Created 3 years, 5 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/universe/use.dart
diff --git a/pkg/compiler/lib/src/universe/use.dart b/pkg/compiler/lib/src/universe/use.dart
index 9997717e6cdad8c28c7320363e4c28e3feb3a06d..8c899c06cdd865c802df66c0fb05cc2ff046eb3b 100644
--- a/pkg/compiler/lib/src/universe/use.dart
+++ b/pkg/compiler/lib/src/universe/use.dart
@@ -20,7 +20,7 @@ import '../closure.dart' show BoxFieldElement;
import '../common.dart';
import '../constants/values.dart';
import '../elements/types.dart';
-import '../elements/elements.dart' show ConstructorBodyElement, Element;
+import '../elements/elements.dart' show Element;
import '../elements/entities.dart';
import '../util/util.dart' show Hashing;
import '../world.dart' show World;
@@ -246,7 +246,7 @@ class StaticUse {
/// Invocation of a constructor (body) [element] through a this or super
/// constructor call with the given [callStructure].
factory StaticUse.constructorBodyInvoke(
- ConstructorBodyElement element, CallStructure callStructure) {
+ ConstructorBodyEntity element, CallStructure callStructure) {
// TODO(johnniwinther): Use the [callStructure].
return new StaticUse.internal(element, StaticUseKind.GENERAL);
}
« no previous file with comments | « pkg/compiler/lib/src/ssa/type_builder.dart ('k') | tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698