Fix compilation errors with VS 2005, patch contributed by Aaron Gray.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20232 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/TargetFrameInfo.cpp b/lib/Target/TargetFrameInfo.cpp
index 7a695c8..07c1663 100644
--- a/lib/Target/TargetFrameInfo.cpp
+++ b/lib/Target/TargetFrameInfo.cpp
@@ -24,7 +24,10 @@
 // This method adjusts a stack offset to meet alignment rules of target.
 int 
 TargetFrameInfo::adjustAlignment(int unalignedOffset, bool growUp,
-                                 unsigned align) const { abort(); }
+                                 unsigned align) const {
+  abort();
+  return 0;
+}
 
 // These methods compute offsets using the frame contents for a particular
 // function.  The frame contents are obtained from the MachineFunction object
@@ -33,25 +36,42 @@
 // 
 int
 TargetFrameInfo::getIncomingArgOffset(MachineFunction& mcInfo, unsigned argNum)
-  const{ abort(); }
+  const {
+  abort();
+  return 0;
+}
 
 int
 TargetFrameInfo::getOutgoingArgOffset(MachineFunction& mcInfo,
-                                      unsigned argNum) const { abort(); }
+                                      unsigned argNum) const {
+  abort();
+  return 0;
+}
 
 int
 TargetFrameInfo::getFirstAutomaticVarOffset(MachineFunction& mcInfo,
-                                            bool& growUp) const { abort(); }
+                                            bool& growUp) const {
+  abort();
+  return 0;
+}
 
 int 
 TargetFrameInfo::getRegSpillAreaOffset(MachineFunction& mcInfo, bool& growUp)
-  const { abort(); }
+  const {
+  abort();
+  return 0;
+}
 
 int
-TargetFrameInfo::getTmpAreaOffset(MachineFunction& mcInfo, bool& growUp) const
-{ abort(); }
+TargetFrameInfo::getTmpAreaOffset(MachineFunction& mcInfo, bool& growUp) const {
+  abort();
+  return 0;
+}
 
 int 
 TargetFrameInfo::getDynamicAreaOffset(MachineFunction& mcInfo, bool& growUp)
-  const { abort(); }
+  const {
+  abort();
+  return 0;
+}