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

Unified Diff: src/compilation-cache.h

Issue 40007: Disable the compilation caching for scripts to make it... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 10 months 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-ia32.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 1404)
+++ src/compilation-cache.h (working copy)
@@ -67,26 +67,25 @@
static Handle<FixedArray> LookupRegExp(Handle<String> source,
JSRegExp::Flags flags);
+ // Associate the (source, kind) pair to the boilerplate. This may
+ // overwrite an existing mapping.
+ static void PutScript(Handle<String> source,
+ Entry entry,
+ Handle<JSFunction> boilerplate);
+
+ // Associate the (source, context->closure()->shared(), kind) triple
+ // with the boilerplate. This may overwrite an existing mapping.
+ static void PutEval(Handle<String> source,
+ Handle<Context> context,
+ Entry entry,
+ Handle<JSFunction> boilerplate);
+
// Associate the (source, flags) pair to the given regexp data.
// This may overwrite an existing mapping.
static void PutRegExp(Handle<String> source,
JSRegExp::Flags flags,
Handle<FixedArray> data);
- // Associate the (source, kind) pair to the boilerplate. This may
- // overwrite an existing mapping.
- static void PutFunction(Handle<String> source,
- Entry entry,
- Handle<JSFunction> boilerplate);
-
- // Associate the (source, context->closure()->shared(), kind)
- // triple with the boilerplate. This may overwrite an existing
- // mapping.
- static void PutEvalFunction(Handle<String> source,
- Handle<Context> context,
- Entry entry,
- Handle<JSFunction> boilerplate);
-
// Clear the cache - also used to initialize the cache at startup.
static void Clear();
« no previous file with comments | « src/codegen-ia32.cc ('k') | src/compilation-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698