Ignore:
Timestamp:
Jan 21, 2017, 12:10:08 PM (2 years ago)
Author:
nmedfort
Message:

Bug fix for Mac OS compilation. Partial bug fix for CodeMotionPass?

File:
1 edited

Legend:

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

    r5267 r5270  
    144144        out << "1";
    145145    } else if (const Var * var = dyn_cast<Var>(expr)) {
    146         out << var->getName();
     146        out << var->getName()->value();
    147147    } else if (const If * ifstmt = dyn_cast<If>(expr)) {
    148148        out << "If ";
     
    188188        print(op->getRH(), out);
    189189    } else if (const Statement * stmt = dyn_cast<Statement>(expr)) {
    190         out << stmt->getName();
     190        out << stmt->getName()->value();
    191191    } else if (isa<Integer>(expr)) {
    192192        out << cast<Integer>(expr)->value();
Note: See TracChangeset for help on using the changeset viewer.