fix cond with else that is empty bug (#470)

This commit is contained in:
water111
2021-05-12 15:54:33 -04:00
committed by GitHub
parent 223adeeb0c
commit 8d4b644a14
6 changed files with 20 additions and 10 deletions
+2
View File
@@ -153,6 +153,8 @@ std::unique_ptr<FormRegressionTest::TestData> FormRegressionTest::make_function(
EXPECT_TRUE(test->func.cfg->is_fully_resolved());
if (!test->func.cfg->is_fully_resolved()) {
fmt::print("CFG:\n{}\n", test->func.cfg->to_dot());
} else {
test->func.cfg_ok = true;
}
// find stack spill slots