diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-03-03 12:21:22 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-03 20:23:31 +0100 |
commit | f7c8bdf9333bf2abebfd1408e2cf2d6f6408e876 (patch) | |
tree | d8286d162c260ab42ed0109f105b68a0050d3b5c /src/qml/jit | |
parent | a6fc7588418e429e654ef899f7d3d2b8ba140c6d (diff) |
Remove unused ExecutionEngine::allFunctions
Change-Id: I69a736ac7920a10667949475600460ee43d61480
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jit')
-rw-r--r-- | src/qml/jit/qv4assembler.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qml/jit/qv4assembler.cpp b/src/qml/jit/qv4assembler.cpp index fb6e23cf1e..8d034cde9f 100644 --- a/src/qml/jit/qv4assembler.cpp +++ b/src/qml/jit/qv4assembler.cpp @@ -67,8 +67,6 @@ using namespace QV4::JIT; CompilationUnit::~CompilationUnit() { - foreach (Function *f, runtimeFunctions) - engine->allFunctions.remove(reinterpret_cast<quintptr>(f->code)); } void CompilationUnit::linkBackendToEngine(ExecutionEngine *engine) @@ -82,9 +80,6 @@ void CompilationUnit::linkBackendToEngine(ExecutionEngine *engine) (ReturnedValue (*)(QV4::ExecutionContext *, const uchar *)) codeRefs[i].code().executableAddress()); runtimeFunctions[i] = runtimeFunction; } - - foreach (Function *f, runtimeFunctions) - engine->allFunctions.insert(reinterpret_cast<quintptr>(f->code), f); } QV4::ExecutableAllocator::ChunkOfPages *CompilationUnit::chunkForFunction(int functionIndex) |