summaryrefslogtreecommitdiffstats
path: root/src/mapi/new/genCommon.py
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2018-12-14 13:14:29 +0000
committerEmil Velikov <[email protected]>2019-01-24 18:13:25 +0000
commit9f86f1da7c68b5b900cd6f60925610ff1225a72d (patch)
treea4103492dc5c86d507c30400c77d42e083da1fc1 /src/mapi/new/genCommon.py
parent3bf08292d2278e06edc73a7a3e29c8f44c8dfa53 (diff)
Revert "mapi/new: sort by slot number"
This reverts commit a1f5d9412cf7cacb3534635f6c2409fafbe6574e. We no longer needed to sort - it was meant only to ease compare against the old generated files.
Diffstat (limited to 'src/mapi/new/genCommon.py')
-rw-r--r--src/mapi/new/genCommon.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mapi/new/genCommon.py b/src/mapi/new/genCommon.py
index a9fdbcdc9ee..bf71de14891 100644
--- a/src/mapi/new/genCommon.py
+++ b/src/mapi/new/genCommon.py
@@ -92,9 +92,6 @@ def getFunctionsFromRoots(roots):
functions[i] = functions[i]._replace(slot=next_slot)
next_slot += 1
- # Sort the function list by slot.... to simplify the diff
- functions = sorted(functions, key=lambda f: f.slot)
-
return functions
def getExportNamesFromRoots(target, roots):