We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2286e0 commit 11cb928Copy full SHA for 11cb928
1 file changed
src/EarlyFree.cpp
@@ -112,7 +112,7 @@ class FindLastUse : public IRVisitor {
112
Stmt inject_marker(const Stmt &stmt, const string &func, const Stmt &last_use) {
113
bool injected = false;
114
return mutate_with(stmt, [&](auto *self, const Block *block) -> Stmt {
115
- auto do_injection = [&](Stmt s) {
+ auto do_injection = [&](const Stmt &s) {
116
if (injected) {
117
return s;
118
}
0 commit comments