Skip to content

Commit 8725169

Browse files
committed
work
1 parent e6c8472 commit 8725169

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/passes/Flatten.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,9 @@ struct Flatten
462462

463463
void doWalkFunction(Function* curr) {
464464
// Lower things before the main walk.
465-
LowerUnflattenable(*getModule(), getPassOptions()).walk(curr->body);
465+
LowerUnflattenable(*getModule(), getPassOptions()).walkFunction(curr);
466+
467+
std::cout << "after " << *curr << '\n';
466468

467469
WalkerPass<
468470
ExpressionStackWalker<Flatten, UnifiedExpressionVisitor<Flatten>>>::

0 commit comments

Comments
 (0)