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 | 9a1ceaedc282f0cae31f2723f4d6c00c7b88fe90 (patch) | |
tree | 87d9f35ded3a067f2d7aa4d17bfe0e362fb0f17d /lib/Target/Alpha/AlphaRegisterInfo.cpp | |
parent | a9d059693b0bfdaa27bad71c2b0769beaf6ee7dd (diff) |
Use MachineOperand::getImm instead of MachineOperand::getImmedValue. Likewise setImmedValue -> setImm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaRegisterInfo.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaRegisterInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaRegisterInfo.cpp b/lib/Target/Alpha/AlphaRegisterInfo.cpp index 53d8df1bb5..bb259817c9 100644 --- a/lib/Target/Alpha/AlphaRegisterInfo.cpp +++ b/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 |