diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2016-06-06 16:19:47 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-07-19 14:50:02 +0000 |
commit | e0e50532d29d02c8bcbab01dbfb72377102eaf8f (patch) | |
tree | 93e320ee4db05727dffd3de51dd4a77019afe480 /src/qml/jit/qv4assembler_p.h | |
parent | fa06494d888727d229cd47efbe7265d61c7f7c25 (diff) |
Added basic loading of compilation units from disk
This remains hidden behind the QML_DISK_CACHE flag until all backends
support it and the verification code is in place.
Change-Id: Ic77c64e20a2dc4c43473c47640e09f8070237e85
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jit/qv4assembler_p.h')
-rw-r--r-- | src/qml/jit/qv4assembler_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jit/qv4assembler_p.h b/src/qml/jit/qv4assembler_p.h index 9373821082..748afbfba4 100644 --- a/src/qml/jit/qv4assembler_p.h +++ b/src/qml/jit/qv4assembler_p.h @@ -84,6 +84,7 @@ struct CompilationUnit : public QV4::CompiledData::CompilationUnit void linkBackendToEngine(QV4::ExecutionEngine *engine) Q_DECL_OVERRIDE; void prepareCodeOffsetsForDiskStorage(CompiledData::Unit *unit) Q_DECL_OVERRIDE; bool saveCodeToDisk(QIODevice *device, const CompiledData::Unit *unit, QString *errorString) Q_DECL_OVERRIDE; + bool memoryMapCode(QString *errorString); // Coderef + execution engine |