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

Unified Diff: src/compilation-cache.h

Issue 6286043: Direct call to eval passes strict mode through. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Extra argument to Resolve*Eval* Created 9 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/codegen-inl.h ('k') | src/compilation-cache.cc » ('j') | src/compiler.h » ('J')
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 37e21be99d4ac471a8f865320d7be4c74f810f8b..2618d545bc705e59d07d712cabd5dbde29c57872 100644
--- a/src/compilation-cache.h
+++ b/src/compilation-cache.h
@@ -51,7 +51,8 @@ class CompilationCache {
// contain a script for the given source string.
static Handle<SharedFunctionInfo> LookupEval(Handle<String> source,
Martin Maly 2011/02/02 23:56:22 compiled pieces of eval code are cached so we must
Lasse Reichstein 2011/02/03 12:36:01 Good catch. We wouldn't want that.
Handle<Context> context,
- bool is_global);
+ bool is_global,
+ bool is_strict);
// Returns the regexp data associated with the given regexp if it
// is in cache, otherwise an empty handle.
« no previous file with comments | « src/codegen-inl.h ('k') | src/compilation-cache.cc » ('j') | src/compiler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698