]> gitweb.factorcode.org Git - factor.git/commitdiff
Revert "vm: fix typo from c++ comment patch causing compile failure."
authorAlexander Iljin <ajsoft@yandex.ru>
Fri, 5 Aug 2016 12:44:29 +0000 (15:44 +0300)
committerBjörn Lindqvist <bjourne@gmail.com>
Fri, 9 Sep 2016 03:47:52 +0000 (05:47 +0200)
This reverts commit 4e48e836b9f849f9bc68519cd528396120a6cafd.

vm/bitwise_hacks.hpp

index 0c04fa6e6e9b8141348f5980e9d6c30454a757ee..2b5686023a6b9adee24c0989ea663cc10a9cd66e 100644 (file)
@@ -62,7 +62,7 @@ inline cell popcount(cell x) {
   x = x - ((x >> 1) & k1);         /* put count of each 2 bits into those 2 bits */
   x = (x & k2) + ((x >> 2) & k2);  /* put count of each 4 bits into those 4 bits */
   x = (x + (x >> 4)) & k4;         /* put count of each 8 bits into those 8 bits */
-  x = (x * kf) >> ks;  /* returns 8 most significant bits of x + (x<<8) +
+  x = (x * kf) >> ks;  /* returns 8 most significant bits of x + (x<<8) + */
                           (x<<16) + (x<<24) + ... */
 
   return x;