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:
parent
795a1bf117
commit
6e86846c9a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue