aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2016-06-01 10:22:18 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2016-06-01 10:35:12 +0000
commit6e86846c9a1438a2ed359292ffa0d4ae70593cd2 (patch)
tree83bc8acd5efe1b72e13b38768a43d338a25e6bee /src
parent795a1bf1171f2bd8288ced2a2c46590eff32073d (diff)
Remove some dead code
Change-Id: I1f3baa11e7c7860d6052182a1056f5b13d4ce593 Reviewed-by: Robin Burchell <robin.burchell@viroteck.net> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/qml/compiler/qv4compileddata.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/qml/compiler/qv4compileddata.cpp b/src/qml/compiler/qv4compileddata.cpp
index b2cd7b5953..7a2404f40c 100644
--- a/src/qml/compiler/qv4compileddata.cpp
+++ b/src/qml/compiler/qv4compileddata.cpp
@@ -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