From 53712b6d6e93449a6faf18a55e0fb29022f158df Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 27 Jun 2024 10:25:05 -0700 Subject: [NFC] Add HeapType::getFeatures() (#6707) --- src/passes/StringLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/passes/StringLowering.cpp') diff --git a/src/passes/StringLowering.cpp b/src/passes/StringLowering.cpp index ca0ba773c..f735b9ab2 100644 --- a/src/passes/StringLowering.cpp +++ b/src/passes/StringLowering.cpp @@ -283,7 +283,7 @@ struct StringLowering : public StringGathering { // explained we cannot do that - or before it, which is what we do here). for (auto& func : module->functions) { if (func->type.getRecGroup().size() != 1 || - !Type(func->type, Nullable).getFeatures().hasStrings()) { + !func->type.getFeatures().hasStrings()) { continue; } -- cgit v1.2.3