aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4isel_moth.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-03-03 12:21:22 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-03 20:23:31 +0100
commitf7c8bdf9333bf2abebfd1408e2cf2d6f6408e876 (patch)
treed8286d162c260ab42ed0109f105b68a0050d3b5c /src/qml/compiler/qv4isel_moth.cpp
parenta6fc7588418e429e654ef899f7d3d2b8ba140c6d (diff)
Remove unused ExecutionEngine::allFunctions
Change-Id: I69a736ac7920a10667949475600460ee43d61480 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.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qml/compiler/qv4isel_moth.cpp b/src/qml/compiler/qv4isel_moth.cpp
index 51529b5bc7..e26a190774 100644
--- a/src/qml/compiler/qv4isel_moth.cpp
+++ b/src/qml/compiler/qv4isel_moth.cpp
@@ -1477,8 +1477,6 @@ Param InstructionSelection::getParam(IR::Expr *e) {
CompilationUnit::~CompilationUnit()
{
- foreach (QV4::Function *f, runtimeFunctions)
- engine->allFunctions.remove(reinterpret_cast<quintptr>(f->codeData));
}
void CompilationUnit::linkBackendToEngine(QV4::ExecutionEngine *engine)
@@ -1495,7 +1493,4 @@ void CompilationUnit::linkBackendToEngine(QV4::ExecutionEngine *engine)
if (QV4::Debugging::Debugger *debugger = engine->debugger)
debugger->setPendingBreakpoints(runtimeFunction);
}
-
- foreach (QV4::Function *f, runtimeFunctions)
- engine->allFunctions.insert(reinterpret_cast<quintptr>(f->codeData), f);
}