diff options
author | Alon Zakai <azakai@google.com> | 2022-06-24 12:09:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 12:09:41 -0700 |
commit | efea05006b4179db159d8850c33a4b54cf04d317 (patch) | |
tree | f0e0161924a1fcc7887e49fd5a88215932a1b3a6 /test/binaryen.js | |
parent | 10523fa2468a21b0add13ccfda2d42888be72040 (diff) | |
download | binaryen-efea05006b4179db159d8850c33a4b54cf04d317.tar.gz binaryen-efea05006b4179db159d8850c33a4b54cf04d317.tar.bz2 binaryen-efea05006b4179db159d8850c33a4b54cf04d317.zip |
[Wasm GC] OptimizeInstructions: Optimize ref.eq on equal inputs with a tee (#4749)
(ref.eq
(local.tee $x (..))
(local.get $x)
)
That will definitely return 1. Before this PR the side effects of tee stopped us
from optimizing.
Diffstat (limited to 'test/binaryen.js')
0 files changed, 0 insertions, 0 deletions