diff options
Diffstat (limited to 'src/passes/ReorderFunctions.cpp')
-rw-r--r-- | src/passes/ReorderFunctions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/passes/ReorderFunctions.cpp b/src/passes/ReorderFunctions.cpp index eaff3ac03..96ebfc048 100644 --- a/src/passes/ReorderFunctions.cpp +++ b/src/passes/ReorderFunctions.cpp @@ -80,6 +80,8 @@ struct ReorderFunctions : public Pass { } ElementUtils::iterAllElementFunctionNames( module, [&](Name& name) { counts[name]++; }); + // TODO: count all RefFunc as well + // TODO: count the declaration section as well, which adds another mention // sort std::sort(module->functions.begin(), module->functions.end(), |