diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-09-11 12:46:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-18 13:13:12 +0200 |
commit | d642438b7641ea2ea5416b59327c8f3baf531aa7 (patch) | |
tree | ee1ae1cbd24c16deb237ebe3b87a2b8d24ea86c4 /src/qml/jsruntime/qv4function.cpp | |
parent | 08582091059d8ba805487eae5277bc9abdc3d4de (diff) |
Change calling convention in JIT to use ReturnedValue
This simplifies the masm backend as well and should be faster.
Change-Id: I64ad5d9ee1b6caca950471e3aec4ef19d7503e62
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4function.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4function.cpp b/src/qml/jsruntime/qv4function.cpp index 9907f3e2ba..a7ae365d21 100644 --- a/src/qml/jsruntime/qv4function.cpp +++ b/src/qml/jsruntime/qv4function.cpp @@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE using namespace QV4; Function::Function(ExecutionEngine *engine, CompiledData::CompilationUnit *unit, const CompiledData::Function *function, - Value (*codePtr)(ExecutionContext *, const uchar *), quint32 _codeSize) + ReturnedValue (*codePtr)(ExecutionContext *, const uchar *), quint32 _codeSize) : name(0) , compiledFunction(function) , compilationUnit(unit) |