Ignore:
Timestamp:
Jul 15, 2015, 7:00:50 AM (4 years ago)
Author:
cameron
Message:

Clean-ups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/carry_data.cpp

    r4670 r4672  
    110110   
    111111   
    112     totalCarryDataBits = nestedframePosition;
     112    scopeCarryDataBits = nestedframePosition;
    113113   
    114     if ((ifDepth > 0) && (totalCarryDataBits > BLOCK_SIZE)) {
     114    if ((ifDepth > 0) && (scopeCarryDataBits > BLOCK_SIZE)) {
    115115        // Need extra space for the summary variable, always the last
    116116        // entry within an if block.
    117         AlignUpwards(totalCarryDataBits, BLOCK_SIZE);
    118         summary.frameOffsetinBits = totalCarryDataBits;
     117        AlignUpwards(scopeCarryDataBits, BLOCK_SIZE);
     118        summary.frameOffsetinBits = scopeCarryDataBits;
    119119        summary.allocatedBits = BLOCK_SIZE;
    120         totalCarryDataBits += BLOCK_SIZE;
     120        scopeCarryDataBits += BLOCK_SIZE;
    121121    }
    122122    else {
    123123        summary.frameOffsetinBits = 0;
    124         summary.allocatedBits = totalCarryDataBits;
     124        summary.allocatedBits = scopeCarryDataBits;
    125125    }
    126     return totalCarryDataBits;
     126    return scopeCarryDataBits;
    127127}
    128128
Note: See TracChangeset for help on using the changeset viewer.