Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index b46a201240ace18de63c56e60af31b0a2aee4130..4f76bef01457fc37ff8612aaeedc04e099ad699b 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -406,6 +406,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 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()); |