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

Unified Diff: src/compilation-cache.h

Issue 2156303002: Implement new Function.prototype.toString and fix CreateDynamicFunction parsing (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 3 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/builtins/builtins-global.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
diff --git a/src/compilation-cache.h b/src/compilation-cache.h
index d1c35046d5c547a6129dd4271d97f9e00c659111..229fe07d0d2bf137480dd4327256c6439799d537 100644
--- a/src/compilation-cache.h
+++ b/src/compilation-cache.h
@@ -116,12 +116,11 @@ class CompilationCacheEval: public CompilationSubCache {
InfoVectorPair Lookup(Handle<String> source,
Handle<SharedFunctionInfo> outer_info,
Handle<Context> native_context,
- LanguageMode language_mode, int scope_position);
+ LanguageMode language_mode, int position);
void Put(Handle<String> source, Handle<SharedFunctionInfo> outer_info,
Handle<SharedFunctionInfo> function_info,
- Handle<Context> native_context, Handle<Cell> literals,
- int scope_position);
+ Handle<Context> native_context, Handle<Cell> literals, int position);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(CompilationCacheEval);
@@ -164,7 +163,7 @@ class CompilationCache {
InfoVectorPair LookupEval(Handle<String> source,
Handle<SharedFunctionInfo> outer_info,
Handle<Context> context, LanguageMode language_mode,
- int scope_position);
+ int position);
// Returns the regexp data associated with the given regexp if it
// is in cache, otherwise an empty handle.
@@ -183,7 +182,7 @@ class CompilationCache {
void PutEval(Handle<String> source, Handle<SharedFunctionInfo> outer_info,
Handle<Context> context,
Handle<SharedFunctionInfo> function_info, Handle<Cell> literals,
- int scope_position);
+ int position);
// Associate the (source, flags) pair to the given regexp data.
// This may overwrite an existing mapping.
« no previous file with comments | « src/builtins/builtins-global.cc ('k') | src/compilation-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698