Offset is not always unsigned number.
authorDevang Patel <dpatel@apple.com>
Tue, 31 Aug 2010 06:12:08 +0000 (06:12 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 31 Aug 2010 06:12:08 +0000 (06:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112584 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h

index abffeb0755ff0208dddb482149c722843a827ce1..b70bfeaba5afcd223c959af7aa8f7329ea427715 100644 (file)
@@ -3915,7 +3915,7 @@ static SDValue ExpandPowI(DebugLoc DL, SDValue LHS, SDValue RHS,
 /// At the end of instruction selection, they will be inserted to the entry BB.
 bool
 SelectionDAGBuilder::EmitFuncArgumentDbgValue(const Value *V, MDNode *Variable,
-                                              uint64_t Offset,
+                                              int64_t Offset, 
                                               const SDValue &N) {
   if (!isa<Argument>(V))
     return false;
index 6843844c05651152d6a7023460c7193158d30481..5f400e9c83acbac8908691fe1d0aac3552541ebf 100644 (file)
@@ -529,7 +529,7 @@ private:
   /// corresponding DBG_VALUE machine instruction for it now. At the end of 
   /// instruction selection, they will be inserted to the entry BB.
   bool EmitFuncArgumentDbgValue(const Value *V, MDNode *Variable,
-                                uint64_t Offset, const SDValue &N);
+                                int64_t Offset, const SDValue &N);
 };
 
 } // end namespace llvm