aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4mm.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-04-30 20:55:41 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-07-22 13:49:10 +0200
commitc9081fab7c63e50d2a3b7cfe3e78110a5922dc29 (patch)
tree81bdde5b1239a429a0633d5d7de20a9beb6286e3 /src/qml/jsruntime/qv4mm.cpp
parentd44cac4028df512b37b161e9f3fc9f7ba1c504bc (diff)
Rename Managed::managedData() to d() to be consistent
No need to differentiate in the name anymore, as the data structures all inherit from each other now. Change-Id: Ia41f50ce4e521f9626d874311ceb57e0e194888b Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4mm.cpp')
-rw-r--r--src/qml/jsruntime/qv4mm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4mm.cpp b/src/qml/jsruntime/qv4mm.cpp
index fdc8c9b25f..34a7c17d7c 100644
--- a/src/qml/jsruntime/qv4mm.cpp
+++ b/src/qml/jsruntime/qv4mm.cpp
@@ -363,7 +363,7 @@ void MemoryManager::sweep(bool lastSweep)
Managed *m = i->managed();
Q_ASSERT(m->inUse());
if (m->markBit()) {
- m->managedData()->markBit = 0;
+ m->d()->markBit = 0;
last = &i->next;
i = i->next;
continue;
@@ -404,7 +404,7 @@ void MemoryManager::sweep(char *chunkStart, std::size_t chunkSize, size_t size)
if (m->inUse()) {
if (m->markBit()) {
- m->managedData()->markBit = 0;
+ m->d()->markBit = 0;
} else {
// qDebug() << "-- collecting it." << m << *f << m->nextFree();
#ifdef V4_USE_VALGRIND