diff options
Diffstat (limited to 'src/passes/FuncCastEmulation.cpp')
-rw-r--r-- | src/passes/FuncCastEmulation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/passes/FuncCastEmulation.cpp b/src/passes/FuncCastEmulation.cpp index 1ac32166e..b91d7ba4f 100644 --- a/src/passes/FuncCastEmulation.cpp +++ b/src/passes/FuncCastEmulation.cpp @@ -117,6 +117,7 @@ static Expression* fromABI(Expression* value, Type type, Module* module) { } case Type::none: { value = builder.makeDrop(value); + break; } case Type::unreachable: { // can leave it, the call isn't taken anyhow |