set up structure for reg alloc

This commit is contained in:
2024-10-19 16:25:52 +00:00
parent 24b18756e8
commit 18105a9bf5
10 changed files with 210 additions and 32 deletions

View File

@ -41,5 +41,6 @@ CFGType BuildCFGForFunction(const std::shared_ptr<FunctionDefItem> &func) {
throw std::runtime_error("Block does not have an exit action");
}
}
res.corresponding_func = func.get();
return res;
}