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

@ -248,7 +248,7 @@ class BlockItem : public LLVMIRItemBase {
public:
std::string label_full;
std::unordered_map<std::string, std::shared_ptr<PhiItem>> phi_map; // this is used to store phi items when optimizing
std::vector<std::shared_ptr<ActionItem>> actions;
std::list<std::shared_ptr<ActionItem>> actions;
std::shared_ptr<JMPActionItem> exit_action;
BlockItem() = default;