Ignore:
Timestamp:
Aug 26, 2015, 1:41:38 PM (4 years ago)
Author:
cameron
Message:

Clean ups for compilation with gcc 4.8

File:
1 edited

Legend:

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

    r4717 r4750  
    7676void PabloBlockCarryData::dumpCarryData(llvm::raw_ostream & strm) {
    7777    unsigned totalDepth = ifDepth + whileDepth;
    78     for (int i = 0; i < totalDepth; i++) strm << "  ";
     78    for (unsigned i = 0; i < totalDepth; i++) strm << "  ";
    7979    strm << "scope index = " << theScope->getScopeIndex();
    8080    strm << " framePosition: " << framePosition << ", ifDepth: " << ifDepth << ", whileDepth:" << whileDepth << ", maxNestingDepth: " << maxNestingDepth << "\n";
    81     for (int i = 0; i < totalDepth; i++) strm << "  ";
     81    for (unsigned i = 0; i < totalDepth; i++) strm << "  ";
    8282    strm << "longAdvance: offset = " << longAdvance.frameOffset << ", entries = " << longAdvance.entries << "\n";
    83     for (int i = 0; i < totalDepth; i++) strm << "  ";
     83    for (unsigned i = 0; i < totalDepth; i++) strm << "  ";
    8484    strm << "shortAdvance: offset = " << shortAdvance.frameOffset << ", entries = " << shortAdvance.entries << "\n";
    85     for (int i = 0; i < totalDepth; i++) strm << "  ";
     85    for (unsigned i = 0; i < totalDepth; i++) strm << "  ";
    8686    strm << "advance1: offset = " << advance1.frameOffset << ", entries = " << advance1.entries << "\n";
    87     for (int i = 0; i < totalDepth; i++) strm << "  ";
     87    for (unsigned i = 0; i < totalDepth; i++) strm << "  ";
    8888    strm << "addWithCarry: offset = " << addWithCarry.frameOffset << ", entries = " << addWithCarry.entries << "\n";
    89     for (int i = 0; i < totalDepth; i++) strm << "  ";
     89    for (unsigned i = 0; i < totalDepth; i++) strm << "  ";
    9090    strm << "nested: offset = " << nested.frameOffset << ", allocatedBits = " << nested.allocatedBits << "\n";
    91     for (int i = 0; i < totalDepth; i++) strm << "  ";
     91    for (unsigned i = 0; i < totalDepth; i++) strm << "  ";
    9292    strm << "summary: offset = " << summary.frameOffset << "\n";
    93     for (int i = 0; i < totalDepth; i++) strm << "  ";
     93    for (unsigned i = 0; i < totalDepth; i++) strm << "  ";
    9494    strm << "scopeCarryDataSize = " << scopeCarryDataSize  << "\n";
    9595    strm.flush();
Note: See TracChangeset for help on using the changeset viewer.