Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index c9c2480fa2c6dbf326b1bc3314bb5d46de302cd8..ecac5cba69065c1226df0d281d14fd66db6cb5af 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -118,7 +118,7 @@ bool CompilationInfo::ShouldSelfOptimize() { |
FLAG_crankshaft && |
!function()->flags()->Contains(kDontSelfOptimize) && |
!function()->flags()->Contains(kDontOptimize) && |
- function()->scope()->allows_lazy_recompilation() && |
+ function()->scope()->AllowsLazyRecompilation() && |
(shared_info().is_null() || !shared_info()->optimization_disabled()); |
} |