From 4e48e836b9f849f9bc68519cd528396120a6cafd Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Thu, 4 Aug 2016 09:28:50 -0700 Subject: [PATCH] vm: fix typo from c++ comment patch causing compile failure. --- vm/bitwise_hacks.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/bitwise_hacks.hpp b/vm/bitwise_hacks.hpp index 2b5686023a..0c04fa6e6e 100644 --- a/vm/bitwise_hacks.hpp +++ b/vm/bitwise_hacks.hpp @@ -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;