diff options
author | Thomas Lively <tlively@google.com> | 2023-01-03 13:37:19 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-03 13:37:19 -0600 |
commit | f36229b509ddb59e7ab20cd6fd3ccd962e9990a5 (patch) | |
tree | 474cf6f53423aec6e61b42652bb7f8fc6262a9d6 /src/passes/MultiMemoryLowering.cpp | |
parent | fe01812696a8108bcd7103a7a09573c99743fa04 (diff) | |
download | binaryen-f36229b509ddb59e7ab20cd6fd3ccd962e9990a5.tar.gz binaryen-f36229b509ddb59e7ab20cd6fd3ccd962e9990a5.tar.bz2 binaryen-f36229b509ddb59e7ab20cd6fd3ccd962e9990a5.zip |
[NFC][Parser] Track definition indices (#5372)
* [NFC][Parser] Track definition indices
For each definition in a module, record that definition's index in the relevant
index space. Previously the index was inferred from its position in a list of
module definitions, but that scheme does not scale to data segments defined
inline inside memory definitions because these data segments occupy a slot in
the data segment index space but do not have their own independent definitions.
* clarify comment
Diffstat (limited to 'src/passes/MultiMemoryLowering.cpp')
0 files changed, 0 insertions, 0 deletions