aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4isel_moth.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-03-03 12:13:52 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-03 20:23:28 +0100
commita6fc7588418e429e654ef899f7d3d2b8ba140c6d (patch)
tree084f7e8689a9d63e152f47e2a3d1ec24175da758 /src/qml/compiler/qv4isel_moth.cpp
parent292fdc90865e8603e11bbbe3f2870004caeb0e35 (diff)
Remove unused codeSizes
Change-Id: I13c7d9dda7cd1e771079f6fdaa175008b3a3e0e5 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4isel_moth.cpp')
-rw-r--r--src/qml/compiler/qv4isel_moth.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4isel_moth.cpp b/src/qml/compiler/qv4isel_moth.cpp
index 0dac3dbdf2..51529b5bc7 100644
--- a/src/qml/compiler/qv4isel_moth.cpp
+++ b/src/qml/compiler/qv4isel_moth.cpp
@@ -1488,8 +1488,7 @@ void CompilationUnit::linkBackendToEngine(QV4::ExecutionEngine *engine)
for (int i = 0 ;i < runtimeFunctions.size(); ++i) {
const QV4::CompiledData::Function *compiledFunction = data->functionAt(i);
- QV4::Function *runtimeFunction = new QV4::Function(engine, this, compiledFunction,
- &VME::exec, /*size - doesn't matter for moth*/0);
+ QV4::Function *runtimeFunction = new QV4::Function(engine, this, compiledFunction, &VME::exec);
runtimeFunction->codeData = reinterpret_cast<const uchar *>(codeRefs.at(i).constData());
runtimeFunctions[i] = runtimeFunction;