diff options
author | Chris Adams <christopher.adams@nokia.com> | 2012-03-29 15:15:23 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-30 07:54:14 +0200 |
commit | bb5afc485d68b2ef779f858d461160c0634c3020 (patch) | |
tree | 10bc5eb7bb78db91d9ba64b1f301a09a633ad615 /src/qml/qml/v4/qv4instruction_p.h | |
parent | d2447feece42859011d7995dff5614f3d1758e64 (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.h | 6 |
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) |