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

Unified Diff: vm/intermediate_language.h

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/il_printer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/intermediate_language.h
===================================================================
--- vm/intermediate_language.h (revision 7699)
+++ vm/intermediate_language.h (working copy)
@@ -1027,21 +1027,18 @@
};
-class ExtractConstructorInstantiatorComp : public TemplateComputation<2> {
+class ExtractConstructorInstantiatorComp : public TemplateComputation<1> {
public:
ExtractConstructorInstantiatorComp(ConstructorCallNode* ast_node,
- Value* instantiator,
- Value* discard_value)
+ Value* instantiator)
: ast_node_(*ast_node) {
ASSERT(instantiator != NULL);
inputs_[0] = instantiator;
- inputs_[1] = discard_value;
}
DECLARE_COMPUTATION(ExtractConstructorInstantiator)
Value* instantiator() { return inputs_[0]; }
- Value* discard_value() { return inputs_[1]; }
const AbstractTypeArguments& type_arguments() const {
return ast_node_.type_arguments();
}
« no previous file with comments | « vm/il_printer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698