Index: src/compilation-cache.h |
diff --git a/src/compilation-cache.h b/src/compilation-cache.h |
index 973673c524335a75e0c3d0cff60c3dba8603ebdf..e746459a1a0084dd717dcd29a3da134f4994e80f 100644 |
--- a/src/compilation-cache.h |
+++ b/src/compilation-cache.h |
@@ -80,10 +80,9 @@ class CompilationCacheScript : public CompilationSubCache { |
int line_offset, int column_offset, |
ScriptOriginOptions resource_options, |
Handle<Context> context, |
- LanguageMode language_mode); |
- void Put(Handle<String> source, |
- Handle<Context> context, |
- LanguageMode language_mode, |
+ LanguageMode language_mode, bool is_module); |
+ void Put(Handle<String> source, Handle<Context> context, |
+ LanguageMode language_mode, bool is_module, |
Handle<SharedFunctionInfo> function_info); |
private: |
@@ -153,7 +152,7 @@ class CompilationCache { |
MaybeHandle<SharedFunctionInfo> LookupScript( |
Handle<String> source, Handle<Object> name, int line_offset, |
int column_offset, ScriptOriginOptions resource_options, |
- Handle<Context> context, LanguageMode language_mode); |
+ Handle<Context> context, LanguageMode language_mode, bool is_module); |
// Finds the shared function info for a source string for eval in a |
// given context. Returns an empty handle if the cache doesn't |
@@ -169,9 +168,8 @@ class CompilationCache { |
// Associate the (source, kind) pair to the shared function |
// info. This may overwrite an existing mapping. |
- void PutScript(Handle<String> source, |
- Handle<Context> context, |
- LanguageMode language_mode, |
+ void PutScript(Handle<String> source, Handle<Context> context, |
+ LanguageMode language_mode, bool is_module, |
Handle<SharedFunctionInfo> function_info); |
// Associate the (source, context->closure()->shared(), kind) triple |