vm: fix typo from c++ comment patch causing compile failure.

char-rename
Doug Coleman 2016-08-04 09:28:50 -07:00
parent dee9cf0a70
commit 4e48e836b9
1 changed files with 1 additions and 1 deletions

View 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;