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

Unified Diff: lib/compiler/implementation/ssa/codegen.dart

Issue 10541096: Revert "Collect field getters and setters in the universe" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « lib/compiler/implementation/enqueue.dart ('k') | lib/compiler/implementation/universe.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/codegen.dart
diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart
index 1951cec647d6d36e70014363182dfe874638fc7e..1b7e7d16c32cdbe58adca3905b604347a719b59a 100644
--- a/lib/compiler/implementation/ssa/codegen.dart
+++ b/lib/compiler/implementation/ssa/codegen.dart
@@ -1688,9 +1688,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
buffer.add('.');
buffer.add(name);
beginExpression(JSPrecedence.MEMBER_PRECEDENCE);
- Type type = node.receiver.propagatedType.computeType(compiler);
- assert(type !== null);
- world.registerFieldGetter(node.element.name, type);
} else {
use(node.receiver, JSPrecedence.EXPRESSION_PRECEDENCE);
}
@@ -1704,9 +1701,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
use(node.receiver, JSPrecedence.MEMBER_PRECEDENCE);
buffer.add('.');
buffer.add(name);
- Type type = node.receiver.propagatedType.computeType(compiler);
- assert(type !== null);
- world.registerFieldSetter(node.element.name, type);
} else {
declareInstruction(node.receiver);
}
« no previous file with comments | « lib/compiler/implementation/enqueue.dart ('k') | lib/compiler/implementation/universe.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698