--- 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();