diff options
author | Chris Lattner <sabre@nondot.org> | 2007-12-30 20:49:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-12-30 20:49:49 +0000 |
commit | 5c4637816e6ff95cd489cb7b6edfcbd70990a772 (patch) | |
tree | 64a6f730461f1fea00b3b6dd9c562f4dd8681171 /llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp | |
parent | 86427bb2a9227fc531383089e494ba5edbe2efda (diff) | |
download | bcm5719-llvm-5c4637816e6ff95cd489cb7b6edfcbd70990a772.tar.gz bcm5719-llvm-5c4637816e6ff95cd489cb7b6edfcbd70990a772.zip |
Use MachineOperand::getImm instead of MachineOperand::getImmedValue. Likewise setImmedValue -> setImm
llvm-svn: 45453
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp b/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp index 53d8df1bb5a..bb259817c93 100644 --- a/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp +++ b/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp @@ -280,7 +280,7 @@ eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, // 'sub ESP, <amt>' and the adjcallstackdown instruction into 'add ESP, // <amt>' MachineInstr *Old = I; - uint64_t Amount = Old->getOperand(0).getImmedValue(); + uint64_t Amount = Old->getOperand(0).getImm(); if (Amount != 0) { // We need to keep the stack aligned properly. To do this, we round the // amount of space needed for the outgoing arguments up to the next |