Index: src/compilation-cache.h |
=================================================================== |
--- src/compilation-cache.h (revision 3427) |
+++ src/compilation-cache.h (working copy) |
@@ -31,7 +31,20 @@ |
namespace v8 { |
namespace internal { |
+class CompilationCachePrivateData; |
+class CompilationCacheData { |
+ public: |
+ CompilationCachePrivateData& private_data_; |
+ private: |
+ CompilationCacheData(); |
+ ~CompilationCacheData(); |
+ |
+ friend class V8Context; |
+ friend class CompilationCache; |
+ DISALLOW_COPY_AND_ASSIGN(CompilationCacheData); |
+}; |
+ |
// The compilation cache keeps function boilerplates for compiled |
// scripts and evals. The boilerplates are looked up using the source |
// string as the key. For regular expressions the compilation data is cached. |