Index: src/x64/lithium-x64.cc |
=================================================================== |
--- src/x64/lithium-x64.cc (revision 8261) |
+++ src/x64/lithium-x64.cc (working copy) |
@@ -113,21 +113,18 @@ |
template<int R, int I, int T> |
void LTemplateInstruction<R, I, T>::PrintDataTo(StringStream* stream) { |
stream->Add("= "); |
- inputs_.PrintOperandsTo(stream); |
+ for (int i = 0; i < inputs_.length(); i++) { |
+ if (i > 0) stream->Add(" "); |
+ inputs_[i]->PrintTo(stream); |
+ } |
} |
template<int R, int I, int T> |
void LTemplateInstruction<R, I, T>::PrintOutputOperandTo(StringStream* stream) { |
- results_.PrintOperandsTo(stream); |
-} |
- |
- |
-template<typename T, int N> |
-void OperandContainer<T, N>::PrintOperandsTo(StringStream* stream) { |
- for (int i = 0; i < N; i++) { |
+ for (int i = 0; i < results_.length(); i++) { |
if (i > 0) stream->Add(" "); |
- elems_[i]->PrintTo(stream); |
+ results_[i]->PrintTo(stream); |
} |
} |