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

Unified Diff: lib/compiler/implementation/emitter.dart

Issue 10537118: Reapply "Collect field getters and setters in the universe"" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removed un-needed check Created 8 years, 6 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 | « no previous file | lib/compiler/implementation/enqueue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/emitter.dart
diff --git a/lib/compiler/implementation/emitter.dart b/lib/compiler/implementation/emitter.dart
index 99270ca09c8785cfe88e254b3574be63d1f1129b..f30f94791ae3e70df44c697d15822d182ec63b3e 100644
--- a/lib/compiler/implementation/emitter.dart
+++ b/lib/compiler/implementation/emitter.dart
@@ -367,13 +367,13 @@ function(collectedClasses) {
bool instanceFieldNeedsGetter(Element member) {
assert(member.kind === ElementKind.FIELD);
- return compiler.codegenWorld.hasGetter(member, compiler);
+ return compiler.codegenWorld.hasInvokedGetter(member, compiler);
}
bool instanceFieldNeedsSetter(Element member) {
assert(member.kind === ElementKind.FIELD);
return (member.modifiers === null || !member.modifiers.isFinal())
- && compiler.codegenWorld.hasSetter(member, compiler);
+ && compiler.codegenWorld.hasInvokedSetter(member, compiler);
}
String compiledFieldName(Element member) {
@@ -823,7 +823,7 @@ function(collectedClasses) {
emitCallStubForGetter(member, selectors, defineInstanceMember);
}
} else if (member.kind == ElementKind.FUNCTION) {
- if (compiler.codegenWorld.hasGetter(member, compiler)) {
+ if (compiler.codegenWorld.hasInvokedGetter(member, compiler)) {
emitDynamicFunctionGetter(member, defineInstanceMember);
}
}
« no previous file with comments | « no previous file | lib/compiler/implementation/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698