Changeset 2132 for trunk


Ignore:
Timestamp:
May 23, 2012, 11:49:52 AM (7 years ago)
Author:
cameron
Message:

Use BLOCK_SIZE

Location:
trunk/symbol_table
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/symbol_table/Makefile

    r2119 r2132  
    1313endif
    1414
     15#PABLO_COMPILER=../../proto/Compiler/pablomain.py
    1516PABLO_COMPILER=Compiler/pablomain.py
    1617PABLO_ADD_DEBUG = #-a -b
  • trunk/symbol_table/main_template.cpp

    r2120 r2132  
    156156    uint32_t blk_offset;
    157157    for(int blk=0;blk<SEGMENT_BLOCKS;blk++) {
    158         blk_offset = blk * BLOCKSIZE;
     158        blk_offset = blk * BLOCK_SIZE;
    159159        gid_type gid;
    160160
     
    219219    uint32_t blk_offset;
    220220    for(int blk=0;blk<segment_blocks;blk++) {
    221         blk_offset = blk * BLOCKSIZE;
     221        blk_offset = blk * BLOCK_SIZE;
    222222        gid_type gid;
    223223
  • trunk/symbol_table/src/symbol_table.hpp

    r2119 r2132  
    44 * Author: Ken Herdy
    55 *
    6  * BLOCKSIZE - Register bit width.
    7  * Block - BLOCKSIZE contiguous bytes.
     6 * BLOCK_SIZE - Register bit width.
     7 * Block - BLOCK_SIZE contiguous bytes.
    88 * Segment - Array of blocks.
    99 *
     
    100100
    101101                        for(uint32_t blk = 0; blk < segment_blocks; blk++) {
    102                                 const uint32_t blk_offset = blk * BLOCKSIZE;
     102                                const uint32_t blk_offset = blk * BLOCK_SIZE;
    103103                                resolve(blk_offset, &buffer[blk_offset], groups[blk], &starts[blk], &h0[blk], &h1[blk], gids);
    104104                        }
Note: See TracChangeset for help on using the changeset viewer.