Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 303f830a7e27e569cefddd2252e1c528ffbdbacb..9e42c4109db38bb8481bbe8fe18978388d43aef2 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1276,15 +1276,6 @@ void FullCodeGenerator::VisitForOfStatement(ForOfStatement* stmt) { |
Iteration loop_statement(this, stmt); |
increment_loop_depth(); |
- // var iterable = subject |
- VisitForAccumulatorValue(stmt->assign_iterable()); |
- |
- // As with for-in, skip the loop if the iterator is null or undefined. |
- __ CompareRoot(r0, Heap::kUndefinedValueRootIndex); |
- __ b(eq, loop_statement.break_label()); |
- __ CompareRoot(r0, Heap::kNullValueRootIndex); |
- __ b(eq, loop_statement.break_label()); |
- |
// var iterator = iterable[Symbol.iterator](); |
VisitForEffect(stmt->assign_iterator()); |