aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4debugging.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-04-06 00:29:53 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-07-22 13:48:55 +0200
commit1019b1cabf2cfb479cd1997989f1674d2a398c9e (patch)
tree8273fbb9a24438916106e9a92ccbf08f36ab502e /src/qml/jsruntime/qv4debugging.cpp
parent1b008d6fb89c82d4a31d30cc1abe3128c723a851 (diff)
Move data of FunctionObject into an inner struct
Change-Id: Ic00b1761565f9f8881b665a3fecca723239e2279 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4debugging.cpp')
-rw-r--r--src/qml/jsruntime/qv4debugging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4debugging.cpp b/src/qml/jsruntime/qv4debugging.cpp
index 06c6dbb4d9..9917426284 100644
--- a/src/qml/jsruntime/qv4debugging.cpp
+++ b/src/qml/jsruntime/qv4debugging.cpp
@@ -517,7 +517,7 @@ Function *Debugger::getFunction() const
{
ExecutionContext *context = m_engine->currentContext();
if (CallContext *callCtx = context->asCallContext())
- return callCtx->function->function;
+ return callCtx->function->function();
else {
Q_ASSERT(context->type == QV4::ExecutionContext::Type_GlobalContext);
return context->engine->globalCode;