Changeset 2133


Ignore:
Timestamp:
May 23, 2012, 1:54:36 PM (7 years ago)
Author:
ksherdy
Message:

Fix assert_bitblock_align method.

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/bitblock.hpp

    r2039 r2133  
    4343static IDISA_ALWAYS_INLINE BitBlock mask_reverse_zeroes(uint32_t count);
    4444static IDISA_ALWAYS_INLINE uint32_t bitstream_scan(BitBlock * v, uint32_t pos);
    45 static IDISA_ALWAYS_INLINE BitBlock assert_align(BitBlock v);
     45static IDISA_ALWAYS_INLINE void assert_bitblock_align(BitBlock v);
    4646
    4747/*  BitBlock union type */
  • trunk/lib/bitblock_align.hpp

    r2093 r2133  
    1010#include "bitblock.hpp"
    1111#include <cassert>
    12 #using namespace std;
     12using namespace std;
    1313
    14 static IDISA_ALWAYS_INLINE assert_align(BitBlock v) {
     14static IDISA_ALWAYS_INLINE void assert_bitblock_align(BitBlock v) {
    1515    assert(0 != (&v) & (sizeof(BitBlock)-1));
    16     return v;
    1716}
    1817
Note: See TracChangeset for help on using the changeset viewer.