aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-01-09 19:48:56 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2015-01-12 11:04:30 +0100
commit53e144ae8dec84f70870a5e315c3043b16b57d92 (patch)
tree8ddc93adb025c19d1c45daab39a6c63b1f1b561b /src/qml/jsruntime/qv4engine_p.h
parent7a0d121f9eafee9dfb948dce01de8204c4385e94 (diff)
Fold the inUse flag into the internalClass pointer
Revert the flag (ie. flag == 0 means the item is used), and fold it into the second lowest bit of the internalClass/nextFree field. Change-Id: I7b690fdce00d16aa538fa70a269a755511477c5c Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r--src/qml/jsruntime/qv4engine_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h
index 87aa3bb16f..017b2a8c52 100644
--- a/src/qml/jsruntime/qv4engine_p.h
+++ b/src/qml/jsruntime/qv4engine_p.h
@@ -411,7 +411,7 @@ void Managed::mark(QV4::ExecutionEngine *engine)
inline
void Heap::Base::mark(QV4::ExecutionEngine *engine)
{
- Q_ASSERT(inUse);
+ Q_ASSERT(inUse());
if (markBit)
return;
markBit = 1;