diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-08-14 10:17:37 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-08-15 09:08:39 +0200 |
commit | 5f3ef18bf8c3e0e3ba1c80bcdeaece46cbb45c06 (patch) | |
tree | 645b8834e773e408bdb07b33dc8e7733335bf1e3 /src/qml/jsruntime/qv4function_p.h | |
parent | 131964a3b5ac0cb6de5f1d306035003751da907a (diff) |
Begin using the compiled data structures for runtime strings
Change-Id: Idbf278a96624bf101df35de40577b38e593f22be
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4function_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4function_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4function_p.h b/src/qml/jsruntime/qv4function_p.h index 612bbb122e..99b94baf52 100644 --- a/src/qml/jsruntime/qv4function_p.h +++ b/src/qml/jsruntime/qv4function_p.h @@ -50,6 +50,7 @@ #include <config.h> #include <assembler/MacroAssemblerCodeRef.h> #include "qv4value_def_p.h" +#include <private/qv4compileddata_p.h> QT_BEGIN_NAMESPACE @@ -90,6 +91,7 @@ struct Function { int refCount; String *name; + CompiledData::CompilationUnit *compilationUnit; Value (*code)(ExecutionContext *, const uchar *); const uchar *codeData; JSC::MacroAssemblerCodeRef codeRef; @@ -117,6 +119,7 @@ struct Function { Function(ExecutionEngine *engine, String *name) : refCount(0) , name(name) + , compilationUnit(0) , code(0) , codeData(0) , codeSize(0) |