Index: src/runtime/runtime-compiler.cc |
diff --git a/src/runtime/runtime-compiler.cc b/src/runtime/runtime-compiler.cc |
index 89a6fa15d243f2ba3b8dd62ff7206220afa3cbe0..28f8254ce070cde4ed427b7a86e53fd72a34f566 100644 |
--- a/src/runtime/runtime-compiler.cc |
+++ b/src/runtime/runtime-compiler.cc |
@@ -305,11 +305,10 @@ bool CodeGenerationFromStringsAllowed(Isolate* isolate, |
} |
} |
- |
static Object* CompileGlobalEval(Isolate* isolate, Handle<String> source, |
Handle<SharedFunctionInfo> outer_info, |
LanguageMode language_mode, |
- int scope_position) { |
+ int eval_position) { |
Handle<Context> context = Handle<Context>(isolate->context()); |
Handle<Context> native_context = Handle<Context>(context->native_context()); |
@@ -333,7 +332,7 @@ static Object* CompileGlobalEval(Isolate* isolate, Handle<String> source, |
ASSIGN_RETURN_ON_EXCEPTION_VALUE( |
isolate, compiled, |
Compiler::GetFunctionFromEval(source, outer_info, context, language_mode, |
- restriction, scope_position), |
+ restriction, eval_position), |
isolate->heap()->exception()); |
return *compiled; |
} |