summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-12-20 10:53:58 -0800
committerGitHub <noreply@github.com>2023-12-20 10:53:58 -0800
commita5235cb51df4853220e8cb3fc6103143afd5db7f (patch)
treefc99765f1768e43b12d8e24537c3311cd859680c /src
parent11e3af054a1fd137a892499ee0d5813f6c15d07e (diff)
downloadbinaryen-a5235cb51df4853220e8cb3fc6103143afd5db7f.tar.gz
binaryen-a5235cb51df4853220e8cb3fc6103143afd5db7f.tar.bz2
binaryen-a5235cb51df4853220e8cb3fc6103143afd5db7f.zip
[NFC] Fix typo in Inlining (#6187)
Diffstat (limited to 'src')
-rw-r--r--src/passes/Inlining.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/Inlining.cpp b/src/passes/Inlining.cpp
index 2f48ff299..3ae63face 100644
--- a/src/passes/Inlining.cpp
+++ b/src/passes/Inlining.cpp
@@ -765,8 +765,8 @@ struct FunctionSplitter {
return InliningMode::Uninlineable;
}
} else {
- // This is an if without an else, and so the type is either none of
- // unreachable;
+ // This is an if without an else, and so the type is either none or
+ // unreachable, and we ruled out none before.
assert(iff->ifTrue->type == Type::unreachable);
}
}