diff options
author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-05-02 09:42:21 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-05-06 13:06:31 +0000 |
commit | 8997e00269d8748a366d84d234dba555fc9548ce (patch) | |
tree | 39455f8cd98e75553012b76df8dc9b926e27a726 /src/qml/jit/qv4assembler.cpp | |
parent | d54f7f520ab876e86db3ddc895ddba7f685aec1d (diff) | |
download | qtdeclarative-8997e00269d8748a366d84d234dba555fc9548ce.tar.gz |
Cleanup
Remove unused virtual function
Change-Id: I728a0f982f2790921e3af5332fa1ee14391239c5
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'src/qml/jit/qv4assembler.cpp')
-rw-r--r-- | src/qml/jit/qv4assembler.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/qml/jit/qv4assembler.cpp b/src/qml/jit/qv4assembler.cpp index 3da1aaa010..7d0d93b63a 100644 --- a/src/qml/jit/qv4assembler.cpp +++ b/src/qml/jit/qv4assembler.cpp @@ -79,16 +79,6 @@ void CompilationUnit::linkBackendToEngine(ExecutionEngine *engine) } } -QV4::ExecutableAllocator::ChunkOfPages *CompilationUnit::chunkForFunction(int functionIndex) -{ - if (functionIndex < 0 || functionIndex >= codeRefs.count()) - return 0; - JSC::ExecutableMemoryHandle *handle = codeRefs[functionIndex].executableMemory(); - if (!handle) - return 0; - return handle->chunk(); -} - const Assembler::VoidType Assembler::Void; Assembler::Assembler(InstructionSelection *isel, IR::Function* function, QV4::ExecutableAllocator *executableAllocator) |