Frame index can be negative.
[oota-llvm.git] / include / llvm / Target / TargetInstrInfo.h
index bce79ec879bae72be05b5a6a726d97746a4c43ad..143dbcc6f5febafb07521eb33c35e3cc8ee1b254 100644 (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 {