[llvm-commits] [dragonegg] r163475 - /dragonegg/trunk/include/dragonegg/Trees.h

Duncan Sands baldrick at free.fr
Sat Sep 8 12:06:52 PDT 2012


Author: baldrick
Date: Sat Sep  8 14:06:52 2012
New Revision: 163475

URL: http://llvm.org/viewvc/llvm-project?rev=163475&view=rev
Log:
After further thought, I don't think it is being assumed anywhere that
BITS_PER_UNIT is a power of two.

Modified:
    dragonegg/trunk/include/dragonegg/Trees.h

Modified: dragonegg/trunk/include/dragonegg/Trees.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/include/dragonegg/Trees.h?rev=163475&r1=163474&r2=163475&view=diff
==============================================================================
--- dragonegg/trunk/include/dragonegg/Trees.h (original)
+++ dragonegg/trunk/include/dragonegg/Trees.h Sat Sep  8 14:06:52 2012
@@ -40,9 +40,6 @@
 #if ((BITS_PER_UNIT & 7) != 0)
 #error	BITS_PER_UNIT must be a multiple of 8
 #endif
-#if ((BITS_PER_UNIT & (BITS_PER_UNIT - 1)) != 0)
-#error	BITS_PER_UNIT must be a power of 2
-#endif
 
 
 /// dragonegg_tree_code - Fake helper tree codes.





More information about the llvm-commits mailing list