summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2013-07-05 15:58:12 +0000
committerSylvestre Ledru <sylvestre@debian.org>2013-07-05 15:58:12 +0000
commit751447a3acf53309fbaa3a1a9d20757d4c0cc6c6 (patch)
tree664f0e447023b2ea7df08f8f9dae693d85cdda25 /llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
parentf5d46005b654ddb8a7f4de465c364df33ba76be1 (diff)
downloadbcm5719-llvm-751447a3acf53309fbaa3a1a9d20757d4c0cc6c6.tar.gz
bcm5719-llvm-751447a3acf53309fbaa3a1a9d20757d4c0cc6c6.zip
Remove a useless declarations (found by scan-build)
llvm-svn: 185709
Diffstat (limited to 'llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
index ec8491f1a93..23561b90233 100644
--- a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
+++ b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
@@ -868,7 +868,6 @@ void ExtAddrMode::print(raw_ostream &OS) const {
OS << (NeedPlus ? " + " : "")
<< Scale << "*";
WriteAsOperand(OS, ScaledReg, /*PrintType=*/false);
- NeedPlus = true;
}
OS << ']';
OpenPOWER on IntegriCloud