aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4mm_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-09-08 21:02:07 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-11 13:02:12 +0200
commita808e4fc15dfe2aca08786f4b747dde45e455929 (patch)
tree9e3241f34f942329bfb37025a7eea5ae6c4ce611 /src/qml/jsruntime/qv4mm_p.h
parent45b34c0ecfea8192ea09909b7c83440ca4c6a60f (diff)
Add ValueRef classe and use it to make things GC safe
The ValueRef class holds a reference to a Value that is already known to the GC. ValueRef's should be used to pass Value arguments to methods. As a first step us the class to make unary operations GC safe Change-Id: Ie13e332ed95b2908df9a201a3f757db864c05ca9 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4mm_p.h')
-rw-r--r--src/qml/jsruntime/qv4mm_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4mm_p.h b/src/qml/jsruntime/qv4mm_p.h
index ef6becbb1f..abbc0a7b4e 100644
--- a/src/qml/jsruntime/qv4mm_p.h
+++ b/src/qml/jsruntime/qv4mm_p.h
@@ -44,6 +44,7 @@
#include "qv4global_p.h"
#include "qv4context_p.h"
+#include "qv4value_p.h"
#include <QScopedPointer>