| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index c7aa5e0c5c1e7c5d87d9f3f9d282f876876a6057..1f89cd08fe987b01cb8d49908a5a1001c8acb70e 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -7921,14 +7921,14 @@ static MaybeObject* Runtime_CompileString(Arguments args) {
|
|
|
| static ObjectPair CompileGlobalEval(Handle<String> source,
|
| Handle<Object> receiver,
|
| - StrictModeFlag mode) {
|
| + StrictModeFlag strict_mode) {
|
| // Deal with a normal eval call with a string argument. Compile it
|
| // and return the compiled function bound in the local context.
|
| Handle<SharedFunctionInfo> shared = Compiler::CompileEval(
|
| source,
|
| Handle<Context>(Top::context()),
|
| Top::context()->IsGlobalContext(),
|
| - mode);
|
| + strict_mode);
|
| if (shared.is_null()) return MakePair(Failure::Exception(), NULL);
|
| Handle<JSFunction> compiled = Factory::NewFunctionFromSharedFunctionInfo(
|
| shared,
|
|
|