Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index ed12769ab20424446b7493a78b0c6af24f50d570..821d4a11330f60e9bffb71d6205c28395d98276f 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -668,8 +668,7 @@ void Accessors::ScriptEvalFromScriptPositionGetter( |
Script::cast(Handle<JSValue>::cast(object)->value()), isolate); |
Handle<Object> result = isolate->factory()->undefined_value(); |
if (script->compilation_type() == Script::COMPILATION_TYPE_EVAL) { |
- result = |
- Handle<Object>(Smi::FromInt(script->eval_from_position()), isolate); |
+ result = Handle<Object>(Smi::FromInt(script->GetEvalPosition()), isolate); |
} |
info.GetReturnValue().Set(Utils::ToLocal(result)); |
} |