aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/SparcV9/SparcV9RegisterInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/SparcV9RegisterInfo.h b/lib/Target/SparcV9/SparcV9RegisterInfo.h
index ed810236a8..a284898f6a 100644
--- a/lib/Target/SparcV9/SparcV9RegisterInfo.h
+++ b/lib/Target/SparcV9/SparcV9RegisterInfo.h
@@ -23,6 +23,10 @@ namespace llvm {
struct SparcV9RegisterInfo : public MRegisterInfo {
SparcV9RegisterInfo ();
const unsigned *getCalleeSaveRegs() const;
+ const TargetRegisterClass* const *getCalleeSaveRegClasses() const {
+ return 0;
+ }
+
// The rest of these are stubs... for now.
void storeRegToStackSlot(MachineBasicBlock &MBB,