diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-11-24 07:09:49 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-11-24 07:09:49 +0000 |
commit | 24ac408ce891321d1a5d62beaf3487efce6f2b22 (patch) | |
tree | 85f3ad2754aa543930e554925a6411529a3b0a7e /lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | d21c6ef9d00650c39f6fe10031f105753446c155 (diff) |
Eliminate some unused variable compile time warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/FastISel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index b45a4fd536..037a46d382 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -401,6 +401,7 @@ bool FastISel::SelectCall(User *I) { bool InsertedCopy = TII.copyRegToReg(*MBB, MBB->end(), ResultReg, Reg, RC, RC); assert(InsertedCopy && "Can't copy address registers!"); + InsertedCopy = InsertedCopy; UpdateValueMap(I, ResultReg); return true; } @@ -434,6 +435,7 @@ bool FastISel::SelectCall(User *I) { bool InsertedCopy = TII.copyRegToReg(*MBB, MBB->end(), ResultReg, Reg, RC, RC); assert(InsertedCopy && "Can't copy address registers!"); + InsertedCopy = InsertedCopy; UpdateValueMap(I, ResultReg); } else { unsigned ResultReg = |