diff options
author | Thomas Lively <tlively@google.com> | 2024-03-06 10:24:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 10:24:54 -0800 |
commit | 4ca311d83187bad3b5790635efc687b747a1b1e7 (patch) | |
tree | e6257f323a97a5d9a4bfe68942468f7da792f3dc /src/ir/eh-utils.cpp | |
parent | f44912bf234d5e19a1adb34c770335f4b3190e2a (diff) | |
download | binaryen-4ca311d83187bad3b5790635efc687b747a1b1e7.tar.gz binaryen-4ca311d83187bad3b5790635efc687b747a1b1e7.tar.bz2 binaryen-4ca311d83187bad3b5790635efc687b747a1b1e7.zip |
Print '(offset ...)` in data and element segments (#6379)
Previously we just printed the offset instruction(s) directly, which is a valid
shorthand only when there is a single instruction. In the case of extended
constant instructions, there can potentially be multiple instructions, in which
case the explicit `offset` clause is required. Print the full clause when
necessary.
Diffstat (limited to 'src/ir/eh-utils.cpp')
0 files changed, 0 insertions, 0 deletions