diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2012-03-28 10:25:15 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-03 16:22:04 +0200 |
commit | 7a2400641295603b37221dfae2b5ba289dd2a1c9 (patch) | |
tree | 061362a465e3c45a0866587cc3b81fe8d85d38b5 /src/qml/qml/v4/qv4irbuilder.cpp | |
parent | faa4e0254525baf9eef6971810c839d01fca57ab (diff) |
Add floats to the high level IR type system.
Change-Id: If78870000eb72231e6eac67ec8a3d6441b5a4877
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'src/qml/qml/v4/qv4irbuilder.cpp')
-rw-r--r-- | src/qml/qml/v4/qv4irbuilder.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/qml/v4/qv4irbuilder.cpp b/src/qml/qml/v4/qv4irbuilder.cpp index 57cea57088..b8210b863f 100644 --- a/src/qml/qml/v4/qv4irbuilder.cpp +++ b/src/qml/qml/v4/qv4irbuilder.cpp @@ -61,6 +61,9 @@ static IR::Type irTypeFromVariantType(int t, QQmlEnginePrivate *engine, const QM case QMetaType::Int: return IR::IntType; + case QMetaType::Float: + return IR::FloatType; + case QMetaType::Double: return IR::NumberType; |