Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index c63c3bdf0064de8361a6475a9697a93139c080c3..b3b0766a8f347bba34994cd1aa301ae5aff6797b 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -2297,13 +2297,7 @@ Runtime::FunctionId TranscendentalCacheStub::RuntimeFunction() { |
void StackCheckStub::Generate(MacroAssembler* masm) { |
- // Do tail-call to runtime routine. Runtime routines expect at least one |
- // argument, so give it a Smi. |
- __ mov(r0, Operand(Smi::FromInt(0))); |
- __ push(r0); |
- __ TailCallRuntime(Runtime::kStackGuard, 1, 1); |
- |
- __ Ret(); |
+ __ TailCallRuntime(Runtime::kStackGuard, 0, 1); |
} |