Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 644f7e9022e6a4066664782dc986b33168787dd7..8653d81fddcb99e381fa9b0a3bfa051c44bf63c5 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -402,6 +402,8 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() { |
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 super work and remove this bailout. |
+ info()->function()->dont_optimize_reason() != kSuperReference && |
// TODO(turbofan): Make OSR work and remove this bailout. |
!info()->is_osr()) { |
compiler::Pipeline pipeline(info()); |