Index: src/compilation-cache.h |
diff --git a/src/compilation-cache.h b/src/compilation-cache.h |
index f57db3db575fd1235537a183574fb445826e5470..1978340dc785c555081a88688784945302365cf2 100644 |
--- a/src/compilation-cache.h |
+++ b/src/compilation-cache.h |
@@ -109,7 +109,7 @@ class CompilationCacheEval: public CompilationSubCache { |
MaybeHandle<SharedFunctionInfo> Lookup(Handle<String> source, |
Handle<SharedFunctionInfo> outer_info, |
- StrictMode strict_mode, |
+ LanguageMode language_mode, |
int scope_position); |
void Put(Handle<String> source, Handle<SharedFunctionInfo> outer_info, |
@@ -155,7 +155,7 @@ class CompilationCache { |
// contain a script for the given source string. |
MaybeHandle<SharedFunctionInfo> LookupEval( |
Handle<String> source, Handle<SharedFunctionInfo> outer_info, |
- Handle<Context> context, StrictMode strict_mode, int scope_position); |
+ Handle<Context> context, LanguageMode language_mode, int scope_position); |
// Returns the regexp data associated with the given regexp if it |
// is in cache, otherwise an empty handle. |