Ignore:
Timestamp:
Aug 10, 2012, 8:15:02 PM (7 years ago)
Author:
ksherdy
Message:

Added const modifier.

Location:
trunk/symbol_table/templates
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/symbol_table/templates/group_strms.template.hpp

    r2292 r2298  
    1717}
    1818
    19 static IDISA_ALWAYS_INLINE void group_strms_do_final_block(BitBlock & starts, BitBlock & follows, Groups & groups, BitBlock & EOF_mask) {
     19static IDISA_ALWAYS_INLINE void group_strms_do_final_block(BitBlock & starts, BitBlock & follows, Groups & groups, const BitBlock & EOF_mask) {
    2020         groups.starts = starts;
    2121         groups.follows = follows;
  • trunk/symbol_table/templates/hash_strms.template.hpp

    r2284 r2298  
    1616}
    1717
    18 static IDISA_ALWAYS_INLINE void hash_strms_do_final_block(Basis_bits & basis_bits, Hash & hash, BitBlock & EOF_mask) {
     18static IDISA_ALWAYS_INLINE void hash_strms_do_final_block(Basis_bits & basis_bits, Hash & hash, const BitBlock & EOF_mask) {
    1919        // GENERATED
    2020        @hash_strms_final_block_stmts
  • trunk/symbol_table/templates/main.template.cpp

    r2292 r2298  
    209209    ///////////////////////////////////////////////////////////////////////////
    210210    if (remaining > 0 || @marker_strms_any_carry || @group_strms_any_carry /*|| hash_strms_any_carry*/) {
    211                         BitBlock EOF_mask = bitblock::srl(simd<1>::constant<1>(), convert(BLOCK_SIZE-remaining));
     211                        const BitBlock EOF_mask = bitblock::srl(simd<1>::constant<1>(), convert(BLOCK_SIZE-remaining));
    212212                        s2p_do_final_block((BytePack *) &src_buffer[blk*BLOCK_SIZE], basis_bits[blk], EOF_mask);
    213213                        marker_do_final_block(basis_bits[blk], marker[blk], EOF_mask);
  • trunk/symbol_table/templates/marker_strms.template.hpp

    r2291 r2298  
    1414}
    1515
    16 static IDISA_ALWAYS_INLINE void marker_do_final_block(Basis_bits & basis_bits, Marker & marker, BitBlock & EOF_mask) { //  BitBlock & starts, BitBlock & follows, BitBlock & EOF_mask) {
     16static IDISA_ALWAYS_INLINE void marker_do_final_block(Basis_bits & basis_bits, Marker & marker, const BitBlock & EOF_mask) { //  BitBlock & starts, BitBlock & follows, BitBlock & EOF_mask) {
    1717        // GENERATED
    1818        @marker_strms_final_block_stmts
Note: See TracChangeset for help on using the changeset viewer.