Changes in directory llvm/include/llvm/ADT:
SmallPtrSet.h updated: 1.7 -> 1.8 --- Log message: Fix PR1234: http://llvm.org/PR1234 by working around a compiler bug. --- Diffs of the changes: (+1 -2) SmallPtrSet.h | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/include/llvm/ADT/SmallPtrSet.h diff -u llvm/include/llvm/ADT/SmallPtrSet.h:1.7 llvm/include/llvm/ADT/SmallPtrSet.h:1.8 --- llvm/include/llvm/ADT/SmallPtrSet.h:1.7 Tue Feb 6 19:11:24 2007 +++ llvm/include/llvm/ADT/SmallPtrSet.h Fri Mar 2 12:16:29 2007 @@ -187,8 +187,7 @@ enum { // We could just use NextVal = N+1, but this converges faster. N|(N-1) sets // the right-most zero bits to one all at once, e.g. 0b0011000 -> 0b0011111. - NextVal = (N|(N-1)) + 1, - Val = NextPowerOfTwo<NextVal>::Val + Val = NextPowerOfTwo<(N|(N-1)) + 1>::Val }; }; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits