Index: src/messages.cc |
diff --git a/src/messages.cc b/src/messages.cc |
index 27ee8e43345ea289c63299174daef9c77f30533c..706fee43ee22b9bf2167bd9c4bbb74c0680f3141 100644 |
--- a/src/messages.cc |
+++ b/src/messages.cc |
@@ -168,8 +168,9 @@ Handle<Object> CallSite::GetFileName() { |
Handle<Object> CallSite::GetFunctionName() { |
- Handle<String> result = JSFunction::GetDebugName(fun_); |
+ Handle<String> result = JSFunction::GetName(fun_); |
if (result->length() != 0) return result; |
+ |
Handle<Object> script(fun_->shared()->script(), isolate_); |
if (script->IsScript() && |
Handle<Script>::cast(script)->compilation_type() == |