diff options
| author | Devang Patel <dpatel@apple.com> | 2010-08-31 06:12:08 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2010-08-31 06:12:08 +0000 |
| commit | 8c624d6e3c75b1870dd063cc3f1248ee8660952b (patch) | |
| tree | 0e4308a5025fae86786ff55ec210f53af8575a54 | |
| parent | 9392d76b5ca2db126618f8ad6a7d40b8b18478a5 (diff) | |
| download | external_llvm-8c624d6e3c75b1870dd063cc3f1248ee8660952b.zip external_llvm-8c624d6e3c75b1870dd063cc3f1248ee8660952b.tar.gz external_llvm-8c624d6e3c75b1870dd063cc3f1248ee8660952b.tar.bz2 | |
Offset is not always unsigned number.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112584 91177308-0d34-0410-b5e6-96231b3b80d8
| -rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 | ||||
| -rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index abffeb0..b70bfea 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -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; diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h index 6843844..5f400e9 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h @@ -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 |
