diff options
author | Chris Lattner <sabre@nondot.org> | 2003-04-23 16:37:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-04-23 16:37:45 +0000 |
commit | e408e25132b8de8c757db1e3ddcd70432dfeb24d (patch) | |
tree | 629c22dc753c0a18f2188a3089f0a8d19fc73464 /lib/Transforms/Scalar/Reassociate.cpp | |
parent | 2ee82e05e3e41fa23951d3503db5483a36dc3ae3 (diff) |
Remove unnecesary &*'s
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5872 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/Reassociate.cpp')
-rw-r--r-- | lib/Transforms/Scalar/Reassociate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp index df0a64188f..3414c410ac 100644 --- a/lib/Transforms/Scalar/Reassociate.cpp +++ b/lib/Transforms/Scalar/Reassociate.cpp @@ -224,7 +224,7 @@ bool Reassociate::ReassociateBB(BasicBlock *BB) { // the two operands are sorted incorrectly, fix it now. // if (BI->isAssociative()) { - BinaryOperator *I = cast<BinaryOperator>(&*BI); + BinaryOperator *I = cast<BinaryOperator>(BI); if (!I->use_empty()) { // Make sure that we don't have a tree-shaped computation. If we do, // linearize it. Convert (A+B)+(C+D) into ((A+B)+C)+D |