From bd2d0577fb12288c47fbcde3dad8977948625bff Mon Sep 17 00:00:00 2001 From: Anand Shukla Date: Sun, 20 Jul 2003 15:39:30 +0000 Subject: Added special consideration for instrumentation strategy llvm-svn: 7208 --- llvm/lib/Target/Sparc/SparcInternals.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/Target/Sparc/SparcInternals.h') diff --git a/llvm/lib/Target/Sparc/SparcInternals.h b/llvm/lib/Target/Sparc/SparcInternals.h index 47885a4f578..2cd54b2c00e 100644 --- a/llvm/lib/Target/Sparc/SparcInternals.h +++ b/llvm/lib/Target/Sparc/SparcInternals.h @@ -447,6 +447,10 @@ public: return MachineRegClassArr[RegClassID]->isRegVolatile(Reg); } + inline bool modifiedByCall(int RegClassID, int Reg) const { + return MachineRegClassArr[RegClassID]->modifiedByCall(Reg); + } + // Get the register type for a register identified different ways. int getRegType(const Type* type) const; int getRegType(const LiveRange *LR) const; -- cgit v1.2.3