Index: src/compiler/code-generator-impl.h |
diff --git a/src/compiler/code-generator-impl.h b/src/compiler/code-generator-impl.h |
index b5b5451b7bab5fe4262be6d3e819b623a73883fa..76e5820746a59aea762bc3164a531274d2f3d048 100644 |
--- a/src/compiler/code-generator-impl.h |
+++ b/src/compiler/code-generator-impl.h |
@@ -72,7 +72,9 @@ class InstructionOperandConverter { |
return gen_->schedule()->GetBlockById(block_id); |
} |
- Register OutputRegister() { return ToRegister(instr_->Output()); } |
+ Register OutputRegister(int index = 0) { |
+ return ToRegister(instr_->OutputAt(index)); |
+ } |
DoubleRegister OutputDoubleRegister() { |
return ToDoubleRegister(instr_->Output()); |