| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 735c77a2eca0b8e6ec227a5f488b630ce3a563ff..10ff1453ce279d098d2e4be3b72732742a34ae39 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -9083,7 +9083,7 @@ static ObjectPair CompileGlobalEval(Isolate* isolate,
|
| if (native_context->allow_code_gen_from_strings()->IsFalse() &&
|
| !CodeGenerationFromStringsAllowed(isolate, native_context)) {
|
| Handle<Object> error_message =
|
| - context->ErrorMessageForCodeGenerationFromStrings();
|
| + native_context->ErrorMessageForCodeGenerationFromStrings();
|
| isolate->Throw(*isolate->factory()->NewEvalError(
|
| "code_gen_from_strings", HandleVector<Object>(&error_message, 1)));
|
| return MakePair(Failure::Exception(), NULL);
|
|
|