diff options
author | Simon Hausmann <[email protected]> | 2013-08-14 15:44:53 +0200 |
---|---|---|
committer | Simon Hausmann <[email protected]> | 2013-08-15 09:08:44 +0200 |
commit | 0d1e37e9f50b644c88578aee82859990e7378caf (patch) | |
tree | 29a142a092f69886ff87f98d8020049cb85a2e16 /src/qml/jsruntime/qv4function_p.h | |
parent | 5f3ef18bf8c3e0e3ba1c80bcdeaece46cbb45c06 (diff) |
Fix writing the function offset table and initialize the pointer to the compiled function in the runtime function
Change-Id: I9aed9f394fedc4a4ea334f6ab1b72fe749c64c72
Reviewed-by: Lars Knoll <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4function_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4function_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4function_p.h b/src/qml/jsruntime/qv4function_p.h index 99b94baf52..f2059139ba 100644 --- a/src/qml/jsruntime/qv4function_p.h +++ b/src/qml/jsruntime/qv4function_p.h @@ -91,6 +91,7 @@ struct Function { int refCount; String *name; + const CompiledData::Function *compiledFunction; CompiledData::CompilationUnit *compilationUnit; Value (*code)(ExecutionContext *, const uchar *); const uchar *codeData; @@ -119,6 +120,7 @@ struct Function { Function(ExecutionEngine *engine, String *name) : refCount(0) , name(name) + , compiledFunction(0) , compilationUnit(0) , code(0) , codeData(0) |