summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-11-24 07:09:49 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-11-24 07:09:49 +0000
commita8fd1f2c8ec926bd5aa549abcddfa3e518e2bad5 (patch)
tree38c764685ede22573950be2e5965a1168f4bd694 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
parent6587c754887241cd540e6ece55b67edf09ab58df (diff)
downloadbcm5719-llvm-a8fd1f2c8ec926bd5aa549abcddfa3e518e2bad5.tar.gz
bcm5719-llvm-a8fd1f2c8ec926bd5aa549abcddfa3e518e2bad5.zip
Eliminate some unused variable compile time warnings.
llvm-svn: 59952
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FastISel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
index b45a4fd5369..037a46d382c 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/llvm/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 =
OpenPOWER on IntegriCloud