| Index: src/compilation-cache.h
|
| diff --git a/src/compilation-cache.h b/src/compilation-cache.h
|
| index fe623dc79830bd34739d8f4d8cec3c330fe92c04..6799b1cb91c735fb6c8a1aa023dea8acfe6e315d 100644
|
| --- a/src/compilation-cache.h
|
| +++ b/src/compilation-cache.h
|
| @@ -114,14 +114,12 @@ class CompilationCacheEval: public CompilationSubCache {
|
| : CompilationSubCache(isolate, generations) { }
|
|
|
| MaybeHandle<SharedFunctionInfo> Lookup(Handle<String> source,
|
| - Handle<Context> context,
|
| + Handle<SharedFunctionInfo> outer_info,
|
| StrictMode strict_mode,
|
| int scope_position);
|
|
|
| - void Put(Handle<String> source,
|
| - Handle<Context> context,
|
| - Handle<SharedFunctionInfo> function_info,
|
| - int scope_position);
|
| + void Put(Handle<String> source, Handle<SharedFunctionInfo> outer_info,
|
| + Handle<SharedFunctionInfo> function_info, int scope_position);
|
|
|
| private:
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(CompilationCacheEval);
|
| @@ -161,8 +159,8 @@ class CompilationCache {
|
| // given context. Returns an empty handle if the cache doesn't
|
| // contain a script for the given source string.
|
| MaybeHandle<SharedFunctionInfo> LookupEval(
|
| - Handle<String> source, Handle<Context> context, StrictMode strict_mode,
|
| - int scope_position);
|
| + Handle<String> source, Handle<SharedFunctionInfo> outer_info,
|
| + Handle<Context> context, StrictMode strict_mode, int scope_position);
|
|
|
| // Returns the regexp data associated with the given regexp if it
|
| // is in cache, otherwise an empty handle.
|
| @@ -177,10 +175,9 @@ class CompilationCache {
|
|
|
| // Associate the (source, context->closure()->shared(), kind) triple
|
| // with the shared function info. This may overwrite an existing mapping.
|
| - void PutEval(Handle<String> source,
|
| + void PutEval(Handle<String> source, Handle<SharedFunctionInfo> outer_info,
|
| Handle<Context> context,
|
| - Handle<SharedFunctionInfo> function_info,
|
| - int scope_position);
|
| + Handle<SharedFunctionInfo> function_info, int scope_position);
|
|
|
| // Associate the (source, flags) pair to the given regexp data.
|
| // This may overwrite an existing mapping.
|
|
|