From 2aee966baa76f55d9061ed22af7bb0abe4f3541e Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 15 Aug 2013 09:41:09 +0200 Subject: Initialize formals and locals from the compiled function data instead of in the isel Change-Id: I9db976df310a5986ceca66d21efeeae536dbede4 Reviewed-by: Lars Knoll --- src/qml/jsruntime/qv4function_p.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/qml/jsruntime/qv4function_p.h') 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; } -- cgit v1.2.3