#REFACTORING
authorClaus Gittinger <cg@exept.de>
Tue, 17 Nov 2015 12:09:20 +0100
changeset 18898 0dc54d84ac92
parent 18897 562b990d5773
child 18899 df3418f55649
#REFACTORING class: SmallInteger changed: #bitCount
SmallInteger.st
--- a/SmallInteger.st	Tue Nov 17 11:31:37 2015 +0100
+++ b/SmallInteger.st	Tue Nov 17 12:09:20 2015 +0100
@@ -1123,9 +1123,10 @@
 
 #   ifdef ALGORIHTM_3
     // the fastest, but hard (impossible) to understand (google for fastest bit count)
+    unsigned INT _self = __intVal(self);
+
 #    if __POINTER_SIZE__ == 8
     unsigned int _v1, _v2;
-    unsigned INT _self = __intVal(self);
 
     _v1 = _self & 0xFFFFFFFF;
     _v1 = _v1 - ((_v1 >> 1) & 0x55555555);