| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 0bd973045a1aaf3dc1c476c910cbd9e97cb22930..84fd607433fc36771c98d03e0c24c59adfa9749d 100755
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -207,7 +207,8 @@ static bool MakeCrankshaftCode(CompilationInfo* info) {
|
|
|
| // Limit the number of times we re-compile a functions with
|
| // the optimizing compiler.
|
| - const int kMaxOptCount = FLAG_deopt_every_n_times == 0 ? 10 : 1000;
|
| + const int kMaxOptCount =
|
| + FLAG_deopt_every_n_times == 0 ? kDefaultMaxOptCount : 1000;
|
| if (info->shared_info()->opt_count() > kMaxOptCount) {
|
| AbortAndDisable(info);
|
| // True indicates the compilation pipeline is still going, not
|
|
|