diff options
author | Thomas Lively <tlively@google.com> | 2024-04-05 16:32:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-05 23:32:16 +0000 |
commit | e862d5c8bb886a5a4dd13ff1559c376ecfde66b2 (patch) | |
tree | d533bc7413befa0e71bc0eef61f07976f3a1d7f0 /src/ir/branch-utils.h | |
parent | 365f12ed2388c610511bd17ce097021e0babcaa9 (diff) | |
download | binaryen-e862d5c8bb886a5a4dd13ff1559c376ecfde66b2.tar.gz binaryen-e862d5c8bb886a5a4dd13ff1559c376ecfde66b2.tar.bz2 binaryen-e862d5c8bb886a5a4dd13ff1559c376ecfde66b2.zip |
[NFC] Remove unused variables (#6475)
These were causing build failures on the Emscripten builder.
Diffstat (limited to 'src/ir/branch-utils.h')
-rw-r--r-- | src/ir/branch-utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir/branch-utils.h b/src/ir/branch-utils.h index d90f3a194..f7b024e78 100644 --- a/src/ir/branch-utils.h +++ b/src/ir/branch-utils.h @@ -109,11 +109,11 @@ void operateOnScopeNameUsesAndSentValues(Expression* expr, T func) { func(name, sw->value); } else if (auto* br = expr->dynCast<BrOn>()) { func(name, br->ref); - } else if (auto* tt = expr->dynCast<TryTable>()) { + } else if (expr->is<TryTable>()) { // The values are supplied by throwing instructions, so we are unable to // know what they will be here. func(name, nullptr); - } else if (auto* res = expr->dynCast<Resume>()) { + } else if (expr->is<Resume>()) { // The values are supplied by suspend instructions executed while running // the continuation, so we are unable to know what they will be here. func(name, nullptr); |