diff options
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r-- | src/wasm/wasm.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp index a1ac076e0..f89ef80c2 100644 --- a/src/wasm/wasm.cpp +++ b/src/wasm/wasm.cpp @@ -777,16 +777,6 @@ void Binary::finalize() { } } -void Select::finalize(Type type_) { - assert(ifTrue && ifFalse); - if (ifTrue->type == Type::unreachable || ifFalse->type == Type::unreachable || - condition->type == Type::unreachable) { - type = Type::unreachable; - } else { - type = type_; - } -} - void Select::finalize() { assert(ifTrue && ifFalse); if (ifTrue->type == Type::unreachable || ifFalse->type == Type::unreachable || |