Committed the wrong version in my last commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74235 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2009-06-26 00:17:05 +00:00
parent 94326677f0
commit 62c38434e2
2 changed files with 2 additions and 4 deletions

View File

@ -54,7 +54,7 @@ static long getLower16(long l)
AlphaRegisterInfo::AlphaRegisterInfo(const TargetInstrInfo &tii)
: AlphaGenRegisterInfo(Alpha::ADJUSTSTACKDOWN, Alpha::ADJUSTSTACKUP),
TII(tii)
TII(tii), curgpdist(0)
{
}
@ -206,8 +206,6 @@ void AlphaRegisterInfo::emitPrologue(MachineFunction &MF) const {
MBBI->getDebugLoc() : DebugLoc::getUnknownLoc());
bool FP = hasFP(MF);
static int curgpdist = 0;
//handle GOP offset
BuildMI(MBB, MBBI, dl, TII.get(Alpha::LDAHg), Alpha::R29)
.addGlobalAddress(const_cast<Function*>(MF.getFunction()))

View File

@ -62,7 +62,7 @@ struct AlphaRegisterInfo : public AlphaGenRegisterInfo {
static std::string getPrettyName(unsigned reg);
private:
int curgpdist;
mutable int curgpdist;
};
} // end namespace llvm