summaryrefslogtreecommitdiff
path: root/lib/Target/PTX/PTXRegisterInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PTX/PTXRegisterInfo.h')
-rw-r--r--lib/Target/PTX/PTXRegisterInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PTX/PTXRegisterInfo.h b/lib/Target/PTX/PTXRegisterInfo.h
index b9e1fc5bab..5614ce793b 100644
--- a/lib/Target/PTX/PTXRegisterInfo.h
+++ b/lib/Target/PTX/PTXRegisterInfo.h
@@ -32,9 +32,9 @@ public:
PTXRegisterInfo(PTXTargetMachine &TM,
const TargetInstrInfo &tii);
- virtual const unsigned
+ virtual const uint16_t
*getCalleeSavedRegs(const MachineFunction *MF = 0) const {
- static const unsigned CalleeSavedRegs[] = { 0 };
+ static const uint16_t CalleeSavedRegs[] = { 0 };
return CalleeSavedRegs; // save nothing
}