Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 77d5524aa9aa63fcaae95214b74eb7a493393632..cd880105336ba4722d29759e52ccca1b9c10f7c9 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -2132,7 +2132,7 @@ void FullCodeGenerator::EmitGeneratorResume(Expression *generator, |
__ LoadRoot(r2, Heap::kTheHoleValueRootIndex); |
Label push_argument_holes, push_frame; |
__ bind(&push_argument_holes); |
- __ sub(r3, r3, Operand(1), SetCC); |
+ __ sub(r3, r3, Operand(Smi::FromInt(1)), SetCC); |
__ b(mi, &push_frame); |
__ push(r2); |
__ jmp(&push_argument_holes); |