| Index: src/x64/lithium-x64.cc
|
| ===================================================================
|
| --- src/x64/lithium-x64.cc (revision 11390)
|
| +++ src/x64/lithium-x64.cc (working copy)
|
| @@ -110,22 +110,17 @@
|
| }
|
|
|
|
|
| -template<int R, int I, int T>
|
| -void LTemplateInstruction<R, I, T>::PrintDataTo(StringStream* stream) {
|
| +void LInstruction::PrintDataTo(StringStream* stream) {
|
| stream->Add("= ");
|
| - for (int i = 0; i < inputs_.length(); i++) {
|
| + for (int i = 0; i < InputCount(); i++) {
|
| if (i > 0) stream->Add(" ");
|
| - inputs_[i]->PrintTo(stream);
|
| + InputAt(i)->PrintTo(stream);
|
| }
|
| }
|
|
|
|
|
| -template<int R, int I, int T>
|
| -void LTemplateInstruction<R, I, T>::PrintOutputOperandTo(StringStream* stream) {
|
| - for (int i = 0; i < results_.length(); i++) {
|
| - if (i > 0) stream->Add(" ");
|
| - results_[i]->PrintTo(stream);
|
| - }
|
| +void LInstruction::PrintOutputOperandTo(StringStream* stream) {
|
| + if (HasResult()) result()->PrintTo(stream);
|
| }
|
|
|
|
|
|
|