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.
This commit is contained in:
Emil Velikov
2018-12-14 13:14:29 +00:00
parent 3bf08292d2
commit 9f86f1da7c

View File

@@ -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):