diff options
author | Alon Zakai <azakai@google.com> | 2022-01-11 14:16:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 14:16:34 -0800 |
commit | b63fea1feefce42be49fa28fd85d01d4a52603a2 (patch) | |
tree | 541a37da001dda677bdd9288897587a0de908ac1 /src/compiler-support.h | |
parent | cc36ffd13f6794cc5212a1f0ba7f58e816e8a0de (diff) | |
download | binaryen-b63fea1feefce42be49fa28fd85d01d4a52603a2.tar.gz binaryen-b63fea1feefce42be49fa28fd85d01d4a52603a2.tar.bz2 binaryen-b63fea1feefce42be49fa28fd85d01d4a52603a2.zip |
[ctor-eval] Stop if there are any memory.init instructions (#4442)
This tool depends (atm) on flattening memory segments. That is not compatible
with memory.init which cares about segment identities.
This changes flatten() only by adding the check for MemoryInit. The rest is
unchanged, although I saw the other two params are not needed and I removed
them while I was there.
Diffstat (limited to 'src/compiler-support.h')
0 files changed, 0 insertions, 0 deletions