diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-08-14 20:06:03 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-08-15 10:35:40 +0200 |
commit | a9346f9b43f0657dc97957e922e5764702c9c511 (patch) | |
tree | 970741a9369293bb86959e95edfe855a008ca641 /src/qml/compiler/qv4compileddata_p.h | |
parent | 335a903d4b1de7511be76d55f736c9f0c7643727 (diff) |
Move codeRef out of QV4::Function
Change-Id: I65700b9cc4907aaa28623a95204e88f87fccfd49
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4compileddata_p.h')
-rw-r--r-- | src/qml/compiler/qv4compileddata_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4compileddata_p.h b/src/qml/compiler/qv4compileddata_p.h index 859f4f4d5b..70e9d90f29 100644 --- a/src/qml/compiler/qv4compileddata_p.h +++ b/src/qml/compiler/qv4compileddata_p.h @@ -45,6 +45,7 @@ #include <QVector> #include <QStringList> #include <private/qv4value_def_p.h> +#include <private/qv4executableallocator_p.h> QT_BEGIN_NAMESPACE @@ -108,6 +109,7 @@ struct Function }; QV4::Value (*code)(ExecutionContext *, const uchar *); + quint32 index; // in CompilationUnit's function table quint32 nameIndex; quint32 sourceFileIndex; qint64 flags; @@ -248,6 +250,7 @@ struct CompilationUnit QV4::Function *linkToEngine(QV4::ExecutionEngine *engine); + virtual QV4::ExecutableAllocator::ChunkOfPages *chunkForFunction(int /*functionIndex*/) { return 0; } // ### runtime data // pointer to qml data for QML unit |