dead code removing: make jumps always useful
This commit is contained in:
@@ -63,6 +63,8 @@ static void updateUseDefForInstruction(SAPFOR::BasicBlock* block, SAPFOR::Instru
|
|||||||
SAPFOR::CFG_OP::EXIT,
|
SAPFOR::CFG_OP::EXIT,
|
||||||
SAPFOR::CFG_OP::DVM_DIR,
|
SAPFOR::CFG_OP::DVM_DIR,
|
||||||
SAPFOR::CFG_OP::SPF_DIR,
|
SAPFOR::CFG_OP::SPF_DIR,
|
||||||
|
SAPFOR::CFG_OP::JUMP,
|
||||||
|
SAPFOR::CFG_OP::JUMP_IF,
|
||||||
|
|
||||||
SAPFOR::CFG_OP::F_CALL //TODO: handle pure functions
|
SAPFOR::CFG_OP::F_CALL //TODO: handle pure functions
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user