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

Unified Diff: vm/intermediate_language.cc

Issue 10831176: Make CreateArrayComp a call by using explicit push-argument instructions. (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
Index: vm/intermediate_language.cc
===================================================================
--- vm/intermediate_language.cc (revision 10278)
+++ vm/intermediate_language.cc (working copy)
@@ -188,29 +188,6 @@
}
-intptr_t CreateArrayComp::InputCount() const {
- return ElementCount() + 1;
-}
-
-
-Value* CreateArrayComp::InputAt(intptr_t i) const {
- if (i == 0) {
- return element_type();
- } else {
- return ElementAt(i - 1);
- }
-}
-
-
-void CreateArrayComp::SetInputAt(intptr_t i, Value* value) {
- if (i == 0) {
- inputs_[0] = value;
- } else {
- (*elements_)[i - 1] = value;
- }
-}
-
-
intptr_t BranchInstr::InputCount() const {
return 2;
}

Powered by Google App Engine
This is Rietveld 408576698