From: Misha Brukman Date: Thu, 17 Feb 2005 21:40:27 +0000 (+0000) Subject: Fix compilation errors with VS 2005, patch contributed by Aaron Gray. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1fb623e4edba8f5a417fa3de63671af09c10b9c9;p=oota-llvm.git 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 7a695c85947..07c16634638 100644 --- a/lib/Target/TargetFrameInfo.cpp +++ b/lib/Target/TargetFrameInfo.cpp @@ -24,7 +24,10 @@ using namespace llvm; // 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 @@ TargetFrameInfo::adjustAlignment(int unalignedOffset, bool growUp, // 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; +}