diff options
Diffstat (limited to 'deps/v8/src/compilation-cache.h')
-rw-r--r-- | deps/v8/src/compilation-cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/compilation-cache.h b/deps/v8/src/compilation-cache.h index ed3f1986b6..883dd4ef37 100644 --- a/deps/v8/src/compilation-cache.h +++ b/deps/v8/src/compilation-cache.h @@ -26,7 +26,7 @@ class CompilationSubCache { CompilationSubCache(Isolate* isolate, int generations) : isolate_(isolate), generations_(generations) { - tables_ = NewArray<Object*>(generations); + tables_ = NewArray<Object>(generations); } ~CompilationSubCache() { DeleteArray(tables_); } @@ -68,7 +68,7 @@ class CompilationSubCache { private: Isolate* isolate_; int generations_; // Number of generations. - Object** tables_; // Compilation cache tables - one for each generation. + Object* tables_; // Compilation cache tables - one for each generation. DISALLOW_IMPLICIT_CONSTRUCTORS(CompilationSubCache); }; |