diff options
author | Alon Zakai <azakai@google.com> | 2024-06-27 10:25:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-27 10:25:05 -0700 |
commit | 53712b6d6e93449a6faf18a55e0fb29022f158df (patch) | |
tree | 2e110e33c202f0f7294bef16eb4a77d982fa498e /src/passes/StringLowering.cpp | |
parent | 636d1b2af6f349a9c7fca908bad05108419835e3 (diff) | |
download | binaryen-53712b6d6e93449a6faf18a55e0fb29022f158df.tar.gz binaryen-53712b6d6e93449a6faf18a55e0fb29022f158df.tar.bz2 binaryen-53712b6d6e93449a6faf18a55e0fb29022f158df.zip |
[NFC] Add HeapType::getFeatures() (#6707)
Diffstat (limited to 'src/passes/StringLowering.cpp')
-rw-r--r-- | src/passes/StringLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |