Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index 8194db658f049af39787230f522791e9681fcdbd..d5baad813c93d43a424e7489d73acc9df9cc6d0a 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -1204,15 +1204,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(eax, Heap::kUndefinedValueRootIndex); |
- __ j(equal, loop_statement.break_label()); |
- __ CompareRoot(eax, Heap::kNullValueRootIndex); |
- __ j(equal, loop_statement.break_label()); |
- |
// var iterator = iterable[Symbol.iterator](); |
VisitForEffect(stmt->assign_iterator()); |