summaryrefslogtreecommitdiff
path: root/src/binaryen-c.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-01-11 16:29:09 -0600
committerGitHub <noreply@github.com>2023-01-11 22:29:09 +0000
commit4663321f956c5a4c0ceed2e7be7a81be57e8f921 (patch)
tree65c5ffc27a2813bdfe2ce5f9ecb323368bf920dc /src/binaryen-c.cpp
parentbbc1cad759aa6a3eb3626adbca51a09fd569d772 (diff)
downloadbinaryen-4663321f956c5a4c0ceed2e7be7a81be57e8f921.tar.gz
binaryen-4663321f956c5a4c0ceed2e7be7a81be57e8f921.tar.bz2
binaryen-4663321f956c5a4c0ceed2e7be7a81be57e8f921.zip
[NFC] Remove GCTypeUtils::evaluateKindCheck (#5421)
Since we refactored all the old kind-checking instructions to be represented as general cast instructions, `GCTypeUtils::evaluateKindCheck` had become a vestigial wrapper around `GCTypeUtils::evaluateCastCheck` that was only used in RemoveUnusedBrs. Remove `evaluateKindCheck` and use `evaluateCastCheck` in RemoveUnusedBrs without changing any functionality. A future PR may use the extra information from `evaluateCastCheck` to further optimize branching casts.
Diffstat (limited to 'src/binaryen-c.cpp')
0 files changed, 0 insertions, 0 deletions