| Index: src/mips64/full-codegen-mips64.cc
|
| diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc
|
| index 6ac77e268439cca56644733eba2821ceb30d485c..212d917e397faf3935620a55a60d848ce6ff438e 100644
|
| --- a/src/mips64/full-codegen-mips64.cc
|
| +++ b/src/mips64/full-codegen-mips64.cc
|
| @@ -1267,16 +1267,6 @@ void FullCodeGenerator::VisitForOfStatement(ForOfStatement* stmt) {
|
| Iteration loop_statement(this, stmt);
|
| increment_loop_depth();
|
|
|
| - // var iterable = subject
|
| - VisitForAccumulatorValue(stmt->assign_iterable());
|
| - __ mov(a0, v0);
|
| -
|
| - // As with for-in, skip the loop if the iterator is null or undefined.
|
| - __ LoadRoot(at, Heap::kUndefinedValueRootIndex);
|
| - __ Branch(loop_statement.break_label(), eq, a0, Operand(at));
|
| - __ LoadRoot(at, Heap::kNullValueRootIndex);
|
| - __ Branch(loop_statement.break_label(), eq, a0, Operand(at));
|
| -
|
| // var iterator = iterable[Symbol.iterator]();
|
| VisitForEffect(stmt->assign_iterator());
|
|
|
|
|