diff options
Diffstat (limited to 'src/qml/compiler/qv4compiler_p.h')
-rw-r--r-- | src/qml/compiler/qv4compiler_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4compiler_p.h b/src/qml/compiler/qv4compiler_p.h index b875833463..42ef3242ea 100644 --- a/src/qml/compiler/qv4compiler_p.h +++ b/src/qml/compiler/qv4compiler_p.h @@ -71,6 +71,8 @@ struct Q_QML_EXPORT JSUnitGenerator { int registerRegExp(QQmlJS::V4IR::RegExp *regexp); + int registerConstant(ReturnedValue v); + void registerLineNumberMapping(QQmlJS::V4IR::Function *function, const QVector<uint> &mappings); int registerJSClass(QQmlJS::V4IR::ExprList *args); @@ -85,6 +87,7 @@ struct Q_QML_EXPORT JSUnitGenerator { QHash<QQmlJS::V4IR::Function *, uint> functionOffsets; QList<CompiledData::Lookup> lookups; QVector<CompiledData::RegExp> regexps; + QVector<ReturnedValue> constants; QHash<QQmlJS::V4IR::Function *, QVector<uint> > lineNumberMappingsPerFunction; QList<QList<CompiledData::JSClassMember> > jsClasses; uint jsClassDataSize; |