summaryrefslogtreecommitdiff
path: root/src/tools/wasm-metadce.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-01-11 14:16:34 -0800
committerGitHub <noreply@github.com>2022-01-11 14:16:34 -0800
commitb63fea1feefce42be49fa28fd85d01d4a52603a2 (patch)
tree541a37da001dda677bdd9288897587a0de908ac1 /src/tools/wasm-metadce.cpp
parentcc36ffd13f6794cc5212a1f0ba7f58e816e8a0de (diff)
downloadbinaryen-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/tools/wasm-metadce.cpp')
0 files changed, 0 insertions, 0 deletions