Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52722 - sandbox/stm/libs/stm/test
From: justin_at_[hidden]
Date: 2009-05-02 03:30:37


Author: jgottschlich
Date: 2009-05-02 03:30:36 EDT (Sat, 02 May 2009)
New Revision: 52722
URL: http://svn.boost.org/trac/boost/changeset/52722

Log:
reduced code size.
Text files modified:
   sandbox/stm/libs/stm/test/smart.cpp | 11 -----------
   1 files changed, 0 insertions(+), 11 deletions(-)

Modified: sandbox/stm/libs/stm/test/smart.cpp
==============================================================================
--- sandbox/stm/libs/stm/test/smart.cpp (original)
+++ sandbox/stm/libs/stm/test/smart.cpp 2009-05-02 03:30:36 EDT (Sat, 02 May 2009)
@@ -65,11 +65,8 @@
 
             x = *tx;
             y = *tx;
-
             ++*tx;
-
             z = *tx;
-
             ++*tx;
          }
 
@@ -93,13 +90,9 @@
 
             x = *tx;
             y = *tx;
-
             ++*(tx.write_ptr());
-
             z = *tx;
-
             ++*(tx.write_ptr());
-
          }
 
       } end_atom
@@ -111,7 +104,6 @@
 static void test_no_private()
 {
    int x = 0, y = 0, z = 0;
-
    for (int i = 0; i < kMaxOuterLoops; ++i)
    {
       atomic(t)
@@ -120,11 +112,8 @@
          {
             x = t.r(txInt);
             y = t.r(txInt);
-
             ++t.w(txInt);
-
             z = t.r(txInt);
-
             ++t.w(txInt);
          }
 


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