aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4function_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-08-16 15:24:35 +0200
committerLars Knoll <lars.knoll@digia.com>2013-08-16 16:53:37 +0200
commit75cc05fcf472453fc33b262c70af46344adff666 (patch)
tree86f2b2962a39f48c56de5008bd96192c7e949b21 /src/qml/jsruntime/qv4function_p.h
parent944717a46c237e5a5b2d6e5ea2fd8389523638e4 (diff)
Get rid of the QV4::Function in the masm isel
Change-Id: Ide70ca5a3f3dcc793fb96fd64f8b8df6b07d1168 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4function_p.h b/src/qml/jsruntime/qv4function_p.h
index eacd7d1d7a..cc6491b9f8 100644
--- a/src/qml/jsruntime/qv4function_p.h
+++ b/src/qml/jsruntime/qv4function_p.h
@@ -119,7 +119,8 @@ struct Function {
~Function();
// ### Merge with constructor later.
- void init(CompiledData::CompilationUnit *unit, const CompiledData::Function *function);
+ void init(CompiledData::CompilationUnit *unit, const CompiledData::Function *function,
+ Value (*codePtr)(ExecutionContext *, const uchar *), quint32 _codeSize);
void ref() { ++refCount; }
void deref() { if (!--refCount) delete this; }