Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index cd7adfeeba9d98740fd2af3816b5a2f11227f9d4..1c3ca691f4c81484d79832a85b5bb77580280582 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -5623,7 +5623,7 @@ void StackCheckStub::Generate(MacroAssembler* masm) { |
// argument, so give it a Smi. |
__ mov(r0, Operand(Smi::FromInt(0))); |
__ push(r0); |
- __ TailCallRuntime(ExternalReference(Runtime::kStackGuard), 1); |
+ __ TailCallRuntime(ExternalReference(Runtime::kStackGuard), 1, 1); |
__ StubReturn(1); |
} |
@@ -5678,6 +5678,13 @@ void UnarySubStub::Generate(MacroAssembler* masm) { |
} |
+int CEntryStub::MinorKey() { |
+ ASSERT(result_size_ <= 2); |
+ // Result returned in r0 or r0+r1 by default. |
+ return 0; |
+} |
+ |
+ |
void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) { |
// r0 holds the exception. |
@@ -6195,7 +6202,7 @@ void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) { |
// by calling the runtime system. |
__ bind(&slow); |
__ push(r1); |
- __ TailCallRuntime(ExternalReference(Runtime::kGetArgumentsProperty), 1); |
+ __ TailCallRuntime(ExternalReference(Runtime::kGetArgumentsProperty), 1, 1); |
} |
@@ -6216,7 +6223,7 @@ void ArgumentsAccessStub::GenerateNewObject(MacroAssembler* masm) { |
// Do the runtime call to allocate the arguments object. |
__ bind(&runtime); |
- __ TailCallRuntime(ExternalReference(Runtime::kNewArgumentsFast), 3); |
+ __ TailCallRuntime(ExternalReference(Runtime::kNewArgumentsFast), 3, 1); |
} |