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

Unified Diff: vm/flow_graph_compiler_x64.cc

Issue 10391171: Remove an unused input operand from ExtractConstructorInstantiator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
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
« no previous file with comments | « vm/flow_graph_builder.cc ('k') | vm/il_printer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/flow_graph_compiler_x64.cc
===================================================================
--- vm/flow_graph_compiler_x64.cc (revision 7699)
+++ vm/flow_graph_compiler_x64.cc (working copy)
@@ -1018,8 +1018,8 @@
void FlowGraphCompiler::VisitExtractConstructorInstantiator(
ExtractConstructorInstantiatorComp* comp) {
- __ popq(RCX); // Discard value.
- __ popq(RAX); // Instantiator.
+ ASSERT(comp->instantiator()->IsUse());
+ LoadValue(RAX, comp->instantiator());
// RAX is the instantiator AbstractTypeArguments object (or null).
// If the instantiator is null and if the type argument vector
« no previous file with comments | « vm/flow_graph_builder.cc ('k') | vm/il_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698