Frame index can be negative.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102577 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2010-04-29 01:13:30 +00:00
parent 1deef27b0a
commit 8601a3d4de
7 changed files with 7 additions and 7 deletions

View File

@ -372,7 +372,7 @@ public:
/// target-specific AsmPrinter code as well; you will probably get invalid
/// assembly output if you don't.
virtual MachineInstr *emitFrameIndexDebugValue(MachineFunction &MF,
unsigned FrameIx,
int FrameIx,
uint64_t Offset,
const MDNode *MDPtr,
DebugLoc dl) const {

View File

@ -819,7 +819,7 @@ loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
MachineInstr*
ARMBaseInstrInfo::emitFrameIndexDebugValue(MachineFunction &MF,
unsigned FrameIx, uint64_t Offset,
int FrameIx, uint64_t Offset,
const MDNode *MDPtr,
DebugLoc DL) const {
MachineInstrBuilder MIB = BuildMI(MF, DL, get(ARM::DBG_VALUE))

View File

@ -270,7 +270,7 @@ public:
const TargetRegisterClass *RC) const;
virtual MachineInstr *emitFrameIndexDebugValue(MachineFunction &MF,
unsigned FrameIx,
int FrameIx,
uint64_t Offset,
const MDNode *MDPtr,
DebugLoc DL) const;

View File

@ -647,7 +647,7 @@ PPCInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
MachineInstr*
PPCInstrInfo::emitFrameIndexDebugValue(MachineFunction &MF,
unsigned FrameIx, uint64_t Offset,
int FrameIx, uint64_t Offset,
const MDNode *MDPtr,
DebugLoc DL) const {
MachineInstrBuilder MIB = BuildMI(MF, DL, get(PPC::DBG_VALUE));

View File

@ -127,7 +127,7 @@ public:
const TargetRegisterClass *RC) const;
virtual MachineInstr *emitFrameIndexDebugValue(MachineFunction &MF,
unsigned FrameIx,
int FrameIx,
uint64_t Offset,
const MDNode *MDPtr,
DebugLoc DL) const;

View File

@ -2322,7 +2322,7 @@ bool X86InstrInfo::restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
MachineInstr*
X86InstrInfo::emitFrameIndexDebugValue(MachineFunction &MF,
unsigned FrameIx, uint64_t Offset,
int FrameIx, uint64_t Offset,
const MDNode *MDPtr,
DebugLoc DL) const {
X86AddressMode AM;

View File

@ -625,7 +625,7 @@ public:
virtual
MachineInstr *emitFrameIndexDebugValue(MachineFunction &MF,
unsigned FrameIx, uint64_t Offset,
int FrameIx, uint64_t Offset,
const MDNode *MDPtr,
DebugLoc DL) const;