dead code removing: make jumps always useful

This commit is contained in:
Михаил Кочармин
2024-01-30 21:58:25 +03:00
parent b4c2f50a41
commit 0a423234d2

View File

@@ -63,6 +63,8 @@ static void updateUseDefForInstruction(SAPFOR::BasicBlock* block, SAPFOR::Instru
SAPFOR::CFG_OP::EXIT,
SAPFOR::CFG_OP::DVM_DIR,
SAPFOR::CFG_OP::SPF_DIR,
SAPFOR::CFG_OP::JUMP,
SAPFOR::CFG_OP::JUMP_IF,
SAPFOR::CFG_OP::F_CALL //TODO: handle pure functions
};