aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.cpp2
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.h2
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;