summaryrefslogtreecommitdiff
path: root/src/passes/hash-stringify-walker.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-10-17 09:31:14 -0700
committerGitHub <noreply@github.com>2023-10-17 09:31:14 -0700
commitb816ac563de6b1c53087796335fce593a96f569a (patch)
treea1369d4c609e6b2f6a0c0ca3dfa14bb43bc93445 /src/passes/hash-stringify-walker.cpp
parentede148eaa505d3681abd67b0b4d7de1b82ec05ff (diff)
downloadbinaryen-b816ac563de6b1c53087796335fce593a96f569a.tar.gz
binaryen-b816ac563de6b1c53087796335fce593a96f569a.tar.bz2
binaryen-b816ac563de6b1c53087796335fce593a96f569a.zip
Fuzzer: Move logic for adding a new local on demand to local.get (#6008)
Previously makeTrappingRefUse would add a local on demand if one was missing for the type, and add a tee for it. This PR moves that logic to makeLocalGet so that we get those benefits any time we want to emit a local.get of a local type that does not exist (including from makeTrappingRefUse which calls makeLocalGet).
Diffstat (limited to 'src/passes/hash-stringify-walker.cpp')
0 files changed, 0 insertions, 0 deletions