Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index df83019f15e4a9c349d425da19257592618f3d13..06226ca671d0372a2068bbe055fc7d80c3ace75e 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -2142,7 +2142,7 @@ void FullCodeGenerator::EmitGeneratorResume(Expression *generator, |
__ LoadRoot(a2, Heap::kTheHoleValueRootIndex); |
Label push_argument_holes, push_frame; |
__ bind(&push_argument_holes); |
- __ Subu(a3, a3, Operand(1)); |
+ __ Subu(a3, a3, Operand(Smi::FromInt(1))); |
__ Branch(&push_frame, lt, a3, Operand(zero_reg)); |
__ push(a2); |
__ jmp(&push_argument_holes); |