Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(631)

Unified Diff: src/compilation-cache.h

Issue 894683003: Introduce LanguageMode, drop StrictMode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased (w/ conflicts) Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/compilation-cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/compilation-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698