Remove some dead code

Change-Id: I1f3baa11e7c7860d6052182a1056f5b13d4ce593
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
This commit is contained in:
Simon Hausmann 2016-06-01 10:22:18 +02:00 committed by Simon Hausmann
parent 795a1bf117
commit 6e86846c9a
1 changed files with 0 additions and 6 deletions

View File

@ -159,12 +159,6 @@ QV4::Function *CompilationUnit::linkToEngine(ExecutionEngine *engine)
linkBackendToEngine(engine);
#if 0
runtimeFunctionsSortedByAddress.resize(runtimeFunctions.size());
memcpy(runtimeFunctionsSortedByAddress.data(), runtimeFunctions.data(), runtimeFunctions.size() * sizeof(QV4::Function*));
std::sort(runtimeFunctionsSortedByAddress.begin(), runtimeFunctionsSortedByAddress.end(), functionSortHelper);
#endif
if (data->indexOfRootFunction != -1)
return runtimeFunctions[data->indexOfRootFunction];
else