diff --git a/libtransform/include/Rewrite_Utility.hpp b/libtransform/include/Rewrite_Utility.hpp index 94cfe0ec588489134d73419f38c2b852ac219903..bdaabccf39e026fb4fa265273446640dae5aa8b2 100644 --- a/libtransform/include/Rewrite_Utility.hpp +++ b/libtransform/include/Rewrite_Utility.hpp @@ -25,14 +25,14 @@ using namespace std; namespace IRDBUtility { // make sure these match values in detector_handlers.h in the strata library -enum mitigation_policy +/*enum mitigation_policy { P_NONE=0, P_CONTINUE_EXECUTION, P_CONTROLLED_EXIT, P_CONTINUE_EXECUTION_SATURATING_ARITHMETIC, P_CONTINUE_EXECUTION_WARNONLY -}; +};*/ //The "first" instruction will have its contents replaced and a duplicate of "first" will be in the follow of first. @@ -63,7 +63,7 @@ void copyInstruction(Instruction_t* src, Instruction_t* dest); Instruction_t* allocateNewInstruction(FileIR_t* virp, db_id_t p_fileID,Function_t* func); Instruction_t* allocateNewInstruction(FileIR_t* virp, Instruction_t *template_instr); void setInstructionAssembly(FileIR_t* virp,Instruction_t *p_instr, string p_assembly, Instruction_t *p_fallThrough, Instruction_t *p_target); -Instruction_t* getHandlerCode(FileIR_t* virp, Instruction_t* fallthrough, mitigation_policy policy ); +//Instruction_t* getHandlerCode(FileIR_t* virp, Instruction_t* fallthrough, mitigation_policy policy ); }