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

Unified Diff: pkg/compiler/lib/src/common/codegen.dart

Issue 2888413004: Add KernelCodegenWorkItem stub (Closed)
Patch Set: Add comment Created 3 years, 7 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/common/codegen.dart
diff --git a/pkg/compiler/lib/src/common/codegen.dart b/pkg/compiler/lib/src/common/codegen.dart
index 6f22d66136c224fa67a15470776e3bde3c5c458b..5ac8a74faaea083c75d5eeb44276ddad70087067 100644
--- a/pkg/compiler/lib/src/common/codegen.dart
+++ b/pkg/compiler/lib/src/common/codegen.dart
@@ -5,7 +5,7 @@
library dart2js.common.codegen;
import '../elements/elements.dart'
- show AsyncMarker, ClassElement, LocalFunctionElement, MemberElement;
+ show AsyncMarker, ClassElement, LocalFunctionElement;
import '../elements/entities.dart';
import '../elements/types.dart' show DartType, InterfaceType;
import '../universe/use.dart' show ConstantUse, DynamicUse, StaticUse, TypeUse;
@@ -110,12 +110,11 @@ class _CodegenImpact extends WorldImpactBuilderImpl implements CodegenImpact {
// TODO(johnniwinther): Split this class into interface and implementation.
// TODO(johnniwinther): Move this implementation to the JS backend.
class CodegenRegistry {
- final MemberElement currentElement;
+ final MemberEntity currentElement;
final _CodegenImpact worldImpact;
- CodegenRegistry(MemberElement currentElement)
- : this.currentElement = currentElement,
- this.worldImpact = new _CodegenImpact();
+ CodegenRegistry(this.currentElement)
+ : this.worldImpact = new _CodegenImpact();
bool get isForResolution => false;
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/inferrer_engine.dart » ('j') | pkg/compiler/lib/src/source_file_provider.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698