Index: src/messages.cc |
diff --git a/src/messages.cc b/src/messages.cc |
index 2726055c2ca8bdab7a43a28965105d0921413eac..141a9ad315edf7dc64db1c30824115a8ca4bb880 100644 |
--- a/src/messages.cc |
+++ b/src/messages.cc |
@@ -367,8 +367,8 @@ MaybeHandle<String> FormatEvalOrigin(Isolate* isolate, Handle<Script> script) { |
builder.AppendString(Handle<String>::cast(name_obj)); |
Script::PositionInfo info; |
- if (eval_from_script->GetPositionInfo(script->GetEvalPosition(), &info, |
- Script::NO_OFFSET)) { |
+ if (Script::GetPositionInfo(eval_from_script, script->GetEvalPosition(), |
+ &info, Script::NO_OFFSET)) { |
builder.AppendCString(":"); |
Handle<String> str = isolate->factory()->NumberToString( |