| Index: src/compilation-cache.h
|
| diff --git a/src/compilation-cache.h b/src/compilation-cache.h
|
| index 136bb97ea84fe050b0d585d71d2b4f424b098e7f..1a2608e3aabe011af65fb82b3280c9d42b63186c 100644
|
| --- a/src/compilation-cache.h
|
| +++ b/src/compilation-cache.h
|
| @@ -74,7 +74,8 @@
|
|
|
| Handle<SharedFunctionInfo> Lookup(Handle<String> source, Handle<Object> name,
|
| int line_offset, int column_offset,
|
| - ScriptOriginOptions resource_options,
|
| + bool is_embedder_debug_script,
|
| + bool is_shared_cross_origin,
|
| Handle<Context> context,
|
| LanguageMode language_mode);
|
| void Put(Handle<String> source,
|
| @@ -85,7 +86,7 @@
|
| private:
|
| bool HasOrigin(Handle<SharedFunctionInfo> function_info, Handle<Object> name,
|
| int line_offset, int column_offset,
|
| - ScriptOriginOptions resource_options);
|
| + bool is_embedder_debug_script, bool is_shared_cross_origin);
|
|
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(CompilationCacheScript);
|
| };
|
| @@ -148,8 +149,9 @@
|
| // 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, ScriptOriginOptions resource_options,
|
| - Handle<Context> context, LanguageMode language_mode);
|
| + int column_offset, bool is_embedder_debug_script,
|
| + bool is_shared_cross_origin, 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
|
|
|