Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 4d90c97aba2a2ba1f2ffcd108c0798919a353487..edb1853954c7935796bcf01196eca2ab0550d70b 100755 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -567,7 +567,7 @@ Handle<SharedFunctionInfo> Compiler::CompileEval(Handle<String> source, |
CompilationInfo info(script); |
info.MarkAsEval(); |
if (is_global) info.MarkAsGlobal(); |
- if (strict_mode == kStrictMode) info.MarkAsStrict(); |
+ if (strict_mode == kStrictMode) info.MarkAsStrictMode(); |
info.SetCallingContext(context); |
result = MakeFunctionInfo(&info); |
if (!result.is_null()) { |