diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-05-17 18:29:21 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-05-17 18:29:21 +0000 |
commit | 7fcbfe38d24fb556c231b24f226247a543e51c9d (patch) | |
tree | 777b346043e71a1d05bc641a7ffddb22fcf887c0 /include/llvm/CodeGen/MachineInstrBuilder.h | |
parent | 19515b4e52c16723097c5b9c5f5fe65540db0187 (diff) |
Frame indices are signed. Update MachineOperand methods accordingly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131475 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstrBuilder.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstrBuilder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineInstrBuilder.h b/include/llvm/CodeGen/MachineInstrBuilder.h index 967e0197bb..c8183a3d8c 100644 --- a/include/llvm/CodeGen/MachineInstrBuilder.h +++ b/include/llvm/CodeGen/MachineInstrBuilder.h @@ -88,7 +88,7 @@ public: return *this; } - const MachineInstrBuilder &addFrameIndex(unsigned Idx) const { + const MachineInstrBuilder &addFrameIndex(int Idx) const { MI->addOperand(MachineOperand::CreateFI(Idx)); return *this; } |