Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 1c94c9ed14231048baa0e9f5130101a18804c2a5..5611831c2f8680a0ed7182d2fc0a5fc68c2de771 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -681,7 +681,7 @@ MaybeHandle<Code> GetOptimizedCode(Handle<JSFunction> function, |
const int kMaxOptCount = |
FLAG_deopt_every_n_times == 0 ? FLAG_max_opt_count : 1000; |
if (info->shared_info()->opt_count() > kMaxOptCount) { |
- info->AbortOptimization(kOptimizedTooManyTimes); |
+ info->AbortOptimization(kDeoptimizedTooManyTimes); |
return MaybeHandle<Code>(); |
} |