| Index: src/compilation-cache.h
|
| diff --git a/src/compilation-cache.h b/src/compilation-cache.h
|
| index 1a2608e3aabe011af65fb82b3280c9d42b63186c..136bb97ea84fe050b0d585d71d2b4f424b098e7f 100644
|
| --- a/src/compilation-cache.h
|
| +++ b/src/compilation-cache.h
|
| @@ -74,8 +74,7 @@ class CompilationCacheScript : public CompilationSubCache {
|
|
|
| Handle<SharedFunctionInfo> Lookup(Handle<String> source, Handle<Object> name,
|
| int line_offset, int column_offset,
|
| - bool is_embedder_debug_script,
|
| - bool is_shared_cross_origin,
|
| + ScriptOriginOptions resource_options,
|
| Handle<Context> context,
|
| LanguageMode language_mode);
|
| void Put(Handle<String> source,
|
| @@ -86,7 +85,7 @@ class CompilationCacheScript : public CompilationSubCache {
|
| private:
|
| bool HasOrigin(Handle<SharedFunctionInfo> function_info, Handle<Object> name,
|
| int line_offset, int column_offset,
|
| - bool is_embedder_debug_script, bool is_shared_cross_origin);
|
| + ScriptOriginOptions resource_options);
|
|
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(CompilationCacheScript);
|
| };
|
| @@ -149,9 +148,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_embedder_debug_script,
|
| - bool is_shared_cross_origin, Handle<Context> context,
|
| - LanguageMode language_mode);
|
| + int column_offset, ScriptOriginOptions resource_options,
|
| + Handle<Context> context, LanguageMode language_mode);
|
|
|
| // Finds the shared function info for a source string for eval in a
|
| // given context. Returns an empty handle if the cache doesn't
|
|
|