| Index: src/compilation-cache.h
|
| diff --git a/src/compilation-cache.h b/src/compilation-cache.h
|
| index a7c84b7b5d1b3bc51104635bc1f834e3c980ad6b..cbd9924ebb414d2c99cbf1e59893dccca66d8b1e 100644
|
| --- a/src/compilation-cache.h
|
| +++ b/src/compilation-cache.h
|
| @@ -72,10 +72,9 @@ class CompilationCacheScript : public CompilationSubCache {
|
| public:
|
| CompilationCacheScript(Isolate* isolate, int generations);
|
|
|
| - Handle<SharedFunctionInfo> Lookup(Handle<String> source,
|
| - Handle<Object> name,
|
| - int line_offset,
|
| - int column_offset,
|
| + Handle<SharedFunctionInfo> Lookup(Handle<String> source, Handle<Object> name,
|
| + int line_offset, int column_offset,
|
| + bool is_internal_script,
|
| bool is_shared_cross_origin,
|
| Handle<Context> context);
|
| void Put(Handle<String> source,
|
| @@ -83,10 +82,8 @@ class CompilationCacheScript : public CompilationSubCache {
|
| Handle<SharedFunctionInfo> function_info);
|
|
|
| private:
|
| - bool HasOrigin(Handle<SharedFunctionInfo> function_info,
|
| - Handle<Object> name,
|
| - int line_offset,
|
| - int column_offset,
|
| + bool HasOrigin(Handle<SharedFunctionInfo> function_info, Handle<Object> name,
|
| + int line_offset, int column_offset, bool is_internal_script,
|
| bool is_shared_cross_origin);
|
|
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(CompilationCacheScript);
|
| @@ -150,7 +147,8 @@ class CompilationCache {
|
| // script for the given source string with the right origin.
|
| MaybeHandle<SharedFunctionInfo> LookupScript(
|
| Handle<String> source, Handle<Object> name, int line_offset,
|
| - int column_offset, bool is_shared_cross_origin, Handle<Context> context);
|
| + int column_offset, bool is_internal_script, bool is_shared_cross_origin,
|
| + Handle<Context> context);
|
|
|
| // Finds the shared function info for a source string for eval in a
|
| // given context. Returns an empty handle if the cache doesn't
|
|
|