Skip to content

Commit

Permalink
Remove comment from inside if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
yebblies committed Feb 21, 2014
1 parent b5a1a97 commit cf3037e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/optimize.c
Expand Up @@ -908,8 +908,9 @@ Expression *Expression_optimize(Expression *e, int result, bool keepLvalue)
}
}

// (2 ^^ n) ^^ p -> 1 << n * p
if (e->e1->op == TOKint64 && e->e1->toInteger() > 0 &&
!((e->e1->toInteger() - 1) & e->e1->toInteger()) && // is power of two
!((e->e1->toInteger() - 1) & e->e1->toInteger()) &&
e->e2->type->isintegral() && e->e2->type->isunsigned())
{
dinteger_t i = e->e1->toInteger();
Expand Down

0 comments on commit cf3037e

Please sign in to comment.