summaryrefslogtreecommitdiff
path: root/src/passes/SimplifyLocals.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-08-08 11:39:00 -0700
committerGitHub <noreply@github.com>2022-08-08 11:39:00 -0700
commit1610e6b3f5148d47c4f352c528db7d24bcfa598c (patch)
tree669add18bea57695dd732ff366a5d19ddfcc6d95 /src/passes/SimplifyLocals.cpp
parentec7af8390fb19fff06f2c5a385285370455d810a (diff)
downloadbinaryen-1610e6b3f5148d47c4f352c528db7d24bcfa598c.tar.gz
binaryen-1610e6b3f5148d47c4f352c528db7d24bcfa598c.tar.bz2
binaryen-1610e6b3f5148d47c4f352c528db7d24bcfa598c.zip
[Wasm GC] Fix SignaturePruning on CallWithoutEffects (#4882)
call.without.effects will turn into a normal call of the last parameter later, (call $call.without.effects A B (ref.func $foo) ) ;; => intrinsic lowering (call $foo A B ) SignaturePruning needs to be aware of that: we can't remove a parameter from $foo without also updating relevant calls to $call.without.effects. Rather than handle that, just skip such cases, and leave them to be optimized after intrinsics are lowered away.
Diffstat (limited to 'src/passes/SimplifyLocals.cpp')
0 files changed, 0 insertions, 0 deletions