Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 2adddef1114ef66c4f8f6d779111ffb8a9a06b92..448aa41c5440dd6cf2713f2b58d8cfd7629fae4f 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -331,7 +331,8 @@ void FullCodeGenerator::ClearAccumulator() { |
} |
-void FullCodeGenerator::EmitStackCheck(IterationStatement* stmt) { |
+void FullCodeGenerator::EmitStackCheck(IterationStatement* stmt, |
+ Label* back_edge_target) { |
Comment cmnt(masm_, "[ Stack check"); |
Label ok; |
__ LoadRoot(ip, Heap::kStackLimitRootIndex); |
@@ -1106,7 +1107,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ add(r0, r0, Operand(Smi::FromInt(1))); |
__ push(r0); |
- EmitStackCheck(stmt); |
+ EmitStackCheck(stmt, &loop); |
__ b(&loop); |
// Remove the pointers stored on the stack. |