diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-03-03 14:41:31 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-07 16:55:12 +0100 |
commit | 245f5ce7bb194438fc643e5c928382f47556e2f2 (patch) | |
tree | 73d82c57dddf8e8e0c206cd50fe8af4542d3f299 /src/qml/compiler/qv4compiler_p.h | |
parent | 4c4bddb0254acbc53b80e804bbbc26cfdd4e87a1 (diff) |
Add a Line instruction to the interpreter
This unifies the way we handle line numbers in the
JIT and Interpreter.
Remove the now unused lineNumberMapping code and data.
Change-Id: I1d60b1fbb77e70b531fa73d93410683e84dd1e3c
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4compiler_p.h')
-rw-r--r-- | src/qml/compiler/qv4compiler_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qml/compiler/qv4compiler_p.h b/src/qml/compiler/qv4compiler_p.h index a917ea3d94..6fd597a3b3 100644 --- a/src/qml/compiler/qv4compiler_p.h +++ b/src/qml/compiler/qv4compiler_p.h @@ -77,8 +77,6 @@ struct Q_QML_EXPORT JSUnitGenerator { int registerConstant(ReturnedValue v); - void registerLineNumberMapping(IR::Function *function, const QVector<uint> &mappings); - int registerJSClass(int count, IR::ExprList *args); QV4::CompiledData::Unit *generateUnit(int *totalUnitSize = 0); @@ -92,7 +90,6 @@ struct Q_QML_EXPORT JSUnitGenerator { QList<CompiledData::Lookup> lookups; QVector<CompiledData::RegExp> regexps; QVector<ReturnedValue> constants; - QHash<IR::Function *, QVector<uint> > lineNumberMappingsPerFunction; QList<QList<CompiledData::JSClassMember> > jsClasses; uint jsClassDataSize; uint headerSize; |