Chromium Code Reviews| Index: src/compiler.h |
| diff --git a/src/compiler.h b/src/compiler.h |
| index 47eaeea3bcbe9231ae1cee1ae97a9085dc5034d8..788e5d19bd88c17948c17e258e6361649c3e9942 100644 |
| --- a/src/compiler.h |
| +++ b/src/compiler.h |
| @@ -280,6 +280,9 @@ class Compiler : public AllStatic { |
| static const int kMaxInliningLevels = 3; |
| + // Call count before primitive functions trigger their own optimization. |
| + static const int kCallsUntilPrimitiveOpt = 200; |
| + |
| // All routines return a SharedFunctionInfo. |
| // If an error occurs an exception is raised and the return handle |
| // contains NULL. |