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

Unified Diff: runtime/vm/parser.cc

Issue 10905182: Refactor building of StoreStaticField and StoreLocal to manually preserve value. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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
« runtime/vm/flow_graph_builder.cc ('K') | « runtime/vm/flow_graph_builder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.cc
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
index 95efcf223f0c70f0efccc3a2c2dc09f6324fe959..2340bf36c020e3811a01e3e5cde2c3a83d65bb48 100644
--- a/runtime/vm/parser.cc
+++ b/runtime/vm/parser.cc
@@ -6744,7 +6744,9 @@ AstNode* Parser::CreateAssignmentNode(AstNode* original, AstNode* rhs) {
if ((result != NULL) &&
(result->IsStoreIndexedNode() ||
result->IsInstanceSetterNode() ||
- result->IsStaticSetterNode())) {
+ result->IsStaticSetterNode() ||
+ result->IsStoreStaticFieldNode() ||
+ result->IsStoreLocalNode())) {
EnsureExpressionTemp();
}
return result;
« runtime/vm/flow_graph_builder.cc ('K') | « runtime/vm/flow_graph_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698