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
This commit is contained in:
Misha Brukman 2005-02-17 21:40:27 +00:00
parent d3f03e4b50
commit 1fb623e4ed

View File

@ -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;
}