diff options
Diffstat (limited to 'src/passes/DeadCodeElimination.cpp')
-rw-r--r-- | src/passes/DeadCodeElimination.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/DeadCodeElimination.cpp b/src/passes/DeadCodeElimination.cpp index af06439c0..209180e23 100644 --- a/src/passes/DeadCodeElimination.cpp +++ b/src/passes/DeadCodeElimination.cpp @@ -68,7 +68,7 @@ struct DeadCodeElimination : public WalkerPass<PostWalker<DeadCodeElimination>> // we normally have already reduced unreachable code into (unreachable) // nodes, so we would not get to this function at all anyhow, the breaking // instruction itself would be removed. However, an exception are things - // like (block i32 (call $x) (unreachable)) , which has type i32 + // like (block (result i32) (call $x) (unreachable)) , which has type i32 // despite not being exited. // TODO: optimize such cases if (reachable) { |