summaryrefslogtreecommitdiff
path: root/src/passes/MultiMemoryLowering.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-01-03 13:37:19 -0600
committerGitHub <noreply@github.com>2023-01-03 13:37:19 -0600
commitf36229b509ddb59e7ab20cd6fd3ccd962e9990a5 (patch)
tree474cf6f53423aec6e61b42652bb7f8fc6262a9d6 /src/passes/MultiMemoryLowering.cpp
parentfe01812696a8108bcd7103a7a09573c99743fa04 (diff)
downloadbinaryen-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