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

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

Issue 10383065: Start creating a MemberSet abstraction, and use it to fold getters/setters into field accesses. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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: lib/compiler/implementation/ssa/tracer.dart
===================================================================
--- lib/compiler/implementation/ssa/tracer.dart (revision 7416)
+++ lib/compiler/implementation/ssa/tracer.dart (working copy)
@@ -232,12 +232,12 @@
String visitExit(HExit node) => "exit";
String visitFieldGet(HFieldGet node) {
- return 'get ${node.element.name.slowToString()}';
+ return 'get ${node.name.slowToString()}';
}
String visitFieldSet(HFieldSet node) {
String valueId = temporaryId(node.value);
- return 'set ${node.element.name.slowToString()} to $valueId';
+ return 'set ${node.name.slowToString()} to $valueId';
}
String visitGoto(HGoto node) {

Powered by Google App Engine
This is Rietveld 408576698