From 0b278d2570a80ced566903b11d3a5a12dde8e918 Mon Sep 17 00:00:00 2001
From: Matthew McGill <mm8bx@mega-techx41.maas>
Date: Wed, 6 Jun 2018 13:19:28 +0000
Subject: [PATCH] Modified Rewrite_Utility.hpp to now include unused
 definitions that conflicted with globals.h used in p1transform

Former-commit-id: 1a1b516e51de566de2feedd2542d5d4e07c0be55
---
 libtransform/include/Rewrite_Utility.hpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libtransform/include/Rewrite_Utility.hpp b/libtransform/include/Rewrite_Utility.hpp
index 94cfe0ec5..bdaabccf3 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 );
 
 
 }
-- 
GitLab