aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v4/qv4instruction_p.h
diff options
context:
space:
mode:
authorChris Adams <christopher.adams@nokia.com>2012-03-29 15:15:23 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-30 07:54:14 +0200
commitbb5afc485d68b2ef779f858d461160c0634c3020 (patch)
tree10bc5eb7bb78db91d9ba64b1f301a09a633ad615 /src/qml/qml/v4/qv4instruction_p.h
parentd2447feece42859011d7995dff5614f3d1758e64 (diff)
Fix crash in QUrl-to-int conversion in v4
Also adds various unit tests for other conversion operations. Note that many of the conversion operations produce the wrong results, and have been marked with QTBUG-24706. Task-number: QTBUG-24706 Change-Id: Id96a7409e31f2e889dce6b501247f58b59fa6a98 Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'src/qml/qml/v4/qv4instruction_p.h')
-rw-r--r--src/qml/qml/v4/qv4instruction_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/v4/qv4instruction_p.h b/src/qml/qml/v4/qv4instruction_p.h
index 239cb362cc..6b09a67fc9 100644
--- a/src/qml/qml/v4/qv4instruction_p.h
+++ b/src/qml/qml/v4/qv4instruction_p.h
@@ -192,7 +192,7 @@ class QQmlNotifier;
namespace QQmlJS {
-union V4Instr {
+union Q_AUTOTEST_EXPORT V4Instr {
enum Type {
FOR_EACH_V4_INSTR(QML_V4_INSTR_ENUM)
};
@@ -400,11 +400,11 @@ FOR_EACH_V4_INSTR(QML_V4_INSTR_META_TEMPLATE);
#undef QML_V4_INSTR_META_TEMPLATE
template<int Instr>
-class V4InstrData : public V4InstrMeta<Instr>::DataType
+class Q_AUTOTEST_EXPORT V4InstrData : public V4InstrMeta<Instr>::DataType
{
};
-class Bytecode
+class Q_AUTOTEST_EXPORT Bytecode
{
Q_DISABLE_COPY(Bytecode)