Skip to content

Commit 99741b5

Browse files
committed
work
1 parent ee1ed04 commit 99741b5

File tree

2 files changed

+121
-291
lines changed

2 files changed

+121
-291
lines changed

src/passes/Inlining.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ struct FunctionSplitter {
10151015
}
10161016
// Finish the locals check mentioned above.
10171017
if (finalItem) {
1018-
for (auto* get : FindAll<LocalSet>(finalItem).list) {
1018+
for (auto* get : FindAll<LocalGet>(finalItem).list) {
10191019
if (writtenLocals.count(get->index)) {
10201020
return InliningMode::Uninlineable;
10211021
}

0 commit comments

Comments
 (0)