Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58749 - sandbox/memory/boost/memory
From: xushiweizh_at_[hidden]
Date: 2010-01-06 03:58:27


Author: xushiwei
Date: 2010-01-06 03:58:26 EST (Wed, 06 Jan 2010)
New Revision: 58749
URL: http://svn.boost.org/trac/boost/changeset/58749

Log:
boost memory: log2 debug
Text files modified:
   sandbox/memory/boost/memory/pools.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/memory/boost/memory/pools.hpp
==============================================================================
--- sandbox/memory/boost/memory/pools.hpp (original)
+++ sandbox/memory/boost/memory/pools.hpp 2010-01-06 03:58:26 EST (Wed, 06 Jan 2010)
@@ -59,7 +59,7 @@
         unsigned int result;
         __asm__("bsr %0, %%eax"::"m"(val));
         __asm__("movl %%eax, %0":"=m"(result));
-#if (1)
+#if (0)
         unsigned int base = (1 << result);
         if (val < base || val >= (base << 1))
         {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk