| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 22b35943f25e1d3f148fdce3c830e31cb0b10cbb..e0c8ae3d25ef9b0ca5be9194010e3b1235781f20 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -401,6 +401,8 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() {
|
| // TODO(turbofan): Make try-catch work and remove this bailout.
|
| info()->function()->dont_optimize_reason() != kTryCatchStatement &&
|
| info()->function()->dont_optimize_reason() != kTryFinallyStatement &&
|
| + // TODO(turbofan): Make ES6 for-of work and remove this bailout.
|
| + info()->function()->dont_optimize_reason() != kForOfStatement &&
|
| // TODO(turbofan): Make OSR work and remove this bailout.
|
| !info()->is_osr()) {
|
| compiler::Pipeline pipeline(info());
|
|
|