| Index: src/compilation-cache.cc
|
| ===================================================================
|
| --- src/compilation-cache.cc (revision 3046)
|
| +++ src/compilation-cache.cc (working copy)
|
| @@ -49,14 +49,14 @@
|
| static const int kRegExpGenerations = 2;
|
| #endif
|
|
|
| -// Initial of each compilation cache table allocated.
|
| +// Initial size of each compilation cache table allocated.
|
| static const int kInitialCacheSize = 64;
|
|
|
| // The compilation cache consists of several generational sub-caches which uses
|
| // this class as a base class. A sub-cache contains a compilation cache tables
|
| -// for each generation of the sub-cache. As the same source code string has
|
| -// different compiled code for scripts and evals. Internally, we use separate
|
| -// sub-caches to avoid getting the wrong kind of result when looking up.
|
| +// for each generation of the sub-cache. Since the same source code string has
|
| +// different compiled code for scripts and evals, we use separate sub-caches
|
| +// for different compilation modes, to avoid retrieving the wrong result.
|
| class CompilationSubCache {
|
| public:
|
| explicit CompilationSubCache(int generations): generations_(generations) {
|
|
|