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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 19569002: Replace ChainContextInstr with existing IL instructions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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 | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
===================================================================
--- runtime/vm/flow_graph_optimizer.cc (revision 25088)
+++ runtime/vm/flow_graph_optimizer.cc (working copy)
@@ -3791,7 +3791,6 @@
*is_load = true;
break;
- case Instruction::kChainContext:
case Instruction::kStoreContext:
kind_ = kContext;
break;
@@ -4017,7 +4016,7 @@
return Alias::VMField(store_vm_field->offset_in_bytes());
}
- if (instr->IsStoreContext() || instr->IsChainContext()) {
+ if (instr->IsStoreContext()) {
return Alias::CurrentContext();
}
@@ -4259,7 +4258,7 @@
return store_static_field->value()->definition();
}
- if (instr->IsStoreContext() || instr->IsChainContext()) {
+ if (instr->IsStoreContext()) {
return instr->InputAt(0)->definition();
}
@@ -5510,9 +5509,6 @@
void ConstantPropagator::VisitStoreContext(StoreContextInstr* instr) { }
-void ConstantPropagator::VisitChainContext(ChainContextInstr* instr) { }
-
-
void ConstantPropagator::VisitCatchEntry(CatchEntryInstr* instr) { }
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698