From c003a01aa855bfa1377237eb2ce788b9fa96e839 Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Wed, 9 Aug 2023 17:18:13 -0400 Subject: Remove legacy WasmGC instructions (#5861) Remove old, experimental instructions and type encodings that will not be shipped as part of WasmGC. Updating the encodings and text format to match the final spec is left as future work. --- src/passes/RemoveUnusedBrs.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/passes/RemoveUnusedBrs.cpp') diff --git a/src/passes/RemoveUnusedBrs.cpp b/src/passes/RemoveUnusedBrs.cpp index 197126f5e..dc7741c0e 100644 --- a/src/passes/RemoveUnusedBrs.cpp +++ b/src/passes/RemoveUnusedBrs.cpp @@ -714,9 +714,6 @@ struct RemoveUnusedBrs : public WalkerPass> { // First, check for a possible null which would prevent optimizations on // null checks. - // TODO: Look into using BrOnNonNull here, to replace a br_on_func whose - // input is (ref null func) with br_on_non_null (as only the null check - // would be needed). // TODO: Use the fallthrough to determine in more cases that we // definitely have a null. auto refType = curr->ref->type; -- cgit v1.2.3