Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: src/compilation-cache.h

Issue 435003: Patch for allowing several V8 instances in process:... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/codegen.cc ('k') | src/compilation-cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « src/codegen.cc ('k') | src/compilation-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698