diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-08-15 09:41:09 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-08-15 10:37:29 +0200 |
commit | 2aee966baa76f55d9061ed22af7bb0abe4f3541e (patch) | |
tree | 25e65e3e9575a3b8fcbb497cfffaf4cce28880ae /src/qml/jsruntime/qv4function_p.h | |
parent | 3ccd69b53688d6855d0136873876ed315d99b571 (diff) |
Initialize formals and locals from the compiled function data instead of in the isel
Change-Id: I9db976df310a5986ceca66d21efeeae536dbede4
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 e2274a2cd6..34e570fed0 100644 --- a/src/qml/jsruntime/qv4function_p.h +++ b/src/qml/jsruntime/qv4function_p.h @@ -121,6 +121,9 @@ struct Function { {} ~Function(); + // ### Merge with constructor later. + void init(CompiledData::CompilationUnit *unit, const CompiledData::Function *function); + void ref() { ++refCount; } void deref() { if (!--refCount) delete this; } |