Code insertion methods now return void instead of #instrs inserted
[oota-llvm.git] / lib / Target / Skeleton / SkeletonRegisterInfo.cpp
index 7c8ea1066e2c9cc2413fcf7308f9bfb97f5c5125..39aead95a8b5a6d7fbde84286686493d04b1f932 100644 (file)
@@ -20,26 +20,23 @@ SkeletonRegisterInfo::SkeletonRegisterInfo()
   : SkeletonGenRegisterInfo(Skeleton::ADJCALLSTACKDOWN,
                            Skeleton::ADJCALLSTACKUP) {}
 
-int SkeletonRegisterInfo::
+void SkeletonRegisterInfo::
 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
                     unsigned SrcReg, int FrameIdx) const {
   abort();
-  return -1;
 }
 
-int SkeletonRegisterInfo::
+void SkeletonRegisterInfo::
 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
                      unsigned DestReg, int FrameIdx) const {
   abort();
-  return -1;
 }
 
-int SkeletonRegisterInfo::copyRegToReg(MachineBasicBlock &MBB,
-                                       MachineBasicBlock::iterator MBBI,
-                                       unsigned DestReg, unsigned SrcReg,
-                                       const TargetRegisterClass *RC) const {
+void SkeletonRegisterInfo::copyRegToReg(MachineBasicBlock &MBB,
+                                        MachineBasicBlock::iterator MBBI,
+                                        unsigned DestReg, unsigned SrcReg,
+                                        const TargetRegisterClass *RC) const {
   abort();
-  return -1;
 }
 
 void SkeletonRegisterInfo::