diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2014-11-07 05:24:24 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-11-11 05:31:27 +0100 |
commit | e552ca0602186826b9dbf2435dd95303cf1bf39b (patch) | |
tree | 17925de60d6e934d2a1a4fc586caa09f3eeae366 /src/qml/jsruntime/qv4debugging.cpp | |
parent | a4b8bea95f95d4258dc04e7924eab4a11e072acb (diff) |
Use Heap object for CallData::function member
Change-Id: I5cae1b16c68751da9481a1cdae2601efa2a500a2
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4debugging.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4debugging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4debugging.cpp b/src/qml/jsruntime/qv4debugging.cpp index 64027ff6e4..fdba6e3626 100644 --- a/src/qml/jsruntime/qv4debugging.cpp +++ b/src/qml/jsruntime/qv4debugging.cpp @@ -573,7 +573,7 @@ Function *Debugger::getFunction() const { ExecutionContext *context = m_engine->currentContext(); if (CallContext *callCtx = context->asCallContext()) - return callCtx->d()->function->function(); + return callCtx->d()->function->function; else { Q_ASSERT(context->d()->type == QV4::Heap::ExecutionContext::Type_GlobalContext); return context->d()->engine->globalCode; |