Index: src/IceInstrumentation.h |
diff --git a/src/IceInstrumentation.h b/src/IceInstrumentation.h |
index 60afef7eef21fc1d80c1dd5bb59ce7161378f92e..3a185426ca2287bc27f272847adba36b695eb55e 100644 |
--- a/src/IceInstrumentation.h |
+++ b/src/IceInstrumentation.h |
@@ -44,8 +44,10 @@ public: |
virtual void instrumentGlobals(VariableDeclarationList &) {} |
void instrumentFunc(Cfg *Func); |
+protected: |
+ virtual void instrumentInst(LoweringContext &Context); |
+ |
private: |
- void instrumentInst(LoweringContext &Context); |
virtual void instrumentFuncStart(LoweringContext &) {} |
virtual void instrumentAlloca(LoweringContext &, class InstAlloca *) {} |
virtual void instrumentArithmetic(LoweringContext &, class InstArithmetic *) { |
@@ -71,6 +73,7 @@ private: |
class InstUnreachable *) {} |
virtual void instrumentStart(Cfg *) {} |
virtual void instrumentLocalVars(Cfg *) {} |
+ virtual void finishFunc(Cfg *) {} |
protected: |
GlobalContext *Ctx; |