From 0390bb39de8bf15a70a9a4c6d2106f16d451e0d0 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 19 Dec 2023 16:38:23 -0800 Subject: [PATCH] [NFC] Fix typo in Inlining --- src/passes/Inlining.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/passes/Inlining.cpp b/src/passes/Inlining.cpp index 2f48ff29920..3ae63face6c 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); } }