diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-04-29 01:13:30 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-04-29 01:13:30 +0000 |
commit | 8601a3d4decff0a380e059b037dabf71075497d3 (patch) | |
tree | 4fbb534528ca571101585c1fdb5a99eab842a916 /lib/Target/PowerPC | |
parent | 1deef27b0ad538e5017675cf1e085002973bbbb2 (diff) | |
download | external_llvm-8601a3d4decff0a380e059b037dabf71075497d3.zip external_llvm-8601a3d4decff0a380e059b037dabf71075497d3.tar.gz external_llvm-8601a3d4decff0a380e059b037dabf71075497d3.tar.bz2 |
Frame index can be negative.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.cpp | 2 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.cpp b/lib/Target/PowerPC/PPCInstrInfo.cpp index ec946d4..ae1fbd8 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.cpp +++ b/lib/Target/PowerPC/PPCInstrInfo.cpp @@ -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)); diff --git a/lib/Target/PowerPC/PPCInstrInfo.h b/lib/Target/PowerPC/PPCInstrInfo.h index 8580943..9fb6e7d 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.h +++ b/lib/Target/PowerPC/PPCInstrInfo.h @@ -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; |