diff options
Diffstat (limited to 'src/ir/module-utils.h')
-rw-r--r-- | src/ir/module-utils.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ir/module-utils.h b/src/ir/module-utils.h index c0b4dbcfd..845acda00 100644 --- a/src/ir/module-utils.h +++ b/src/ir/module-utils.h @@ -465,11 +465,8 @@ struct IndexedHeapTypes { }; // Similar to `collectHeapTypes`, but provides fast lookup of the index for each -// type as well. -IndexedHeapTypes getIndexedHeapTypes(Module& wasm); - -// The same as `getIndexedHeapTypes`, but also sorts the types by frequency of -// use to minimize code size. +// type as well. Also orders the types to be valid and sorts the types by +// frequency of use to minimize code size. IndexedHeapTypes getOptimizedIndexedHeapTypes(Module& wasm); } // namespace wasm::ModuleUtils |