Commit 6c6ad73a authored by nagayama15's avatar nagayama15

Merge branch 'bugfix/segv'

parents b407a709 b4c865f3
This diff is collapsed.
......@@ -68,7 +68,9 @@ namespace kyut::pass {
OperandSwappingExtractingVisitor visitor{writer_};
for (const auto &func : module->functions) {
visitor.visit(func->body);
if (func->body) {
visitor.visit(func->body);
}
}
}
......
......@@ -70,7 +70,9 @@ namespace kyut::pass {
OperandSwappingWatermarkingVisitor visitor{stream_};
for (const auto &func : module->functions) {
visitor.visit(func->body);
if (func->body) {
visitor.visit(func->body);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment