Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 1446aeb392ed5806400b16ba8419cc7f9a9a72bb..7a0d9b658e96bee32369b65c588bbbc6366d2e1b 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1271,9 +1271,11 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
// just skip it. |
__ push(r1); // Enumerable. |
__ push(r3); // Current entry. |
- __ InvokeBuiltin(Builtins::FILTER_KEY, CALL_FUNCTION); |
+ __ CallRuntime(Runtime::kForInFilter, 2); |
PrepareForBailoutForId(stmt->FilterId(), TOS_REG); |
- __ mov(r3, Operand(r0), SetCC); |
+ __ mov(r3, Operand(r0)); |
+ __ LoadRoot(ip, Heap::kUndefinedValueRootIndex); |
+ __ cmp(r0, ip); |
__ b(eq, loop_statement.continue_label()); |
// Update the 'each' property or variable from the possibly filtered |