src/script/api/qscriptcontextinfo.cpp
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
child 37 758a864f9613
--- a/src/script/api/qscriptcontextinfo.cpp	Mon Jun 21 22:38:13 2010 +0100
+++ b/src/script/api/qscriptcontextinfo.cpp	Thu Jul 22 16:41:55 2010 +0100
@@ -181,7 +181,7 @@
     // Get the others informations:
     JSC::JSObject *callee = frame->callee();
     if (callee && callee->inherits(&JSC::InternalFunction::info))
-        functionName = JSC::asInternalFunction(callee)->name(&frame->globalData());
+        functionName = JSC::asInternalFunction(callee)->name(frame);
     if (callee && callee->inherits(&JSC::JSFunction::info)) {
         functionType = QScriptContextInfo::ScriptFunction;
         JSC::FunctionExecutable *body = JSC::asFunction(callee)->jsExecutable();