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

Unified Diff: vm/parser.cc

Issue 10825176: Refactor our IL instruction for static setters. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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 | « vm/intermediate_language_x64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/parser.cc
===================================================================
--- vm/parser.cc (revision 10216)
+++ vm/parser.cc (working copy)
@@ -6470,7 +6470,9 @@
AstNode* Parser::CreateAssignmentNode(AstNode* original, AstNode* rhs) {
AstNode* result = original->MakeAssignmentNode(rhs);
if ((result != NULL) &&
- (result->IsStoreIndexedNode() || result->IsInstanceSetterNode())) {
+ (result->IsStoreIndexedNode() ||
+ result->IsInstanceSetterNode() ||
+ result->IsStaticSetterNode())) {
hausner 2012/08/03 22:32:52 FWIW, I don't think that for static setters you ne
Florian Schneider 2012/08/06 09:06:25 We still need to preserve the value if the setter
EnsureExpressionTemp();
}
return result;
« no previous file with comments | « vm/intermediate_language_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698