Index: src/compiler/arm/instruction-selector-arm.cc |
diff --git a/src/compiler/arm/instruction-selector-arm.cc b/src/compiler/arm/instruction-selector-arm.cc |
index ed58bbabe634dd9f54cc2275b83885ae5d39832d..267a961a0c25d3f93382c9aad5ed832ce5418700 100644 |
--- a/src/compiler/arm/instruction-selector-arm.cc |
+++ b/src/compiler/arm/instruction-selector-arm.cc |
@@ -868,8 +868,10 @@ void InstructionSelector::VisitCall(Node* node) { |
opcode |= MiscField::encode(descriptor->flags()); |
// Emit the call instruction. |
+ InstructionOperand** first_output = |
+ buffer.outputs.size() > 0 ? &buffer.outputs.front() : NULL; |
Instruction* call_instr = |
- Emit(opcode, buffer.outputs.size(), &buffer.outputs.front(), |
+ Emit(opcode, buffer.outputs.size(), first_output, |
buffer.instruction_args.size(), &buffer.instruction_args.front()); |
call_instr->MarkAsCall(); |
} |