Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.cc

    r5ea7a22 re4ea10b7  
    540540                extension( nameExpr );
    541541                OperatorInfo opInfo;
    542                 if ( operatorLookup( nameExpr->name, opInfo ) ) {
    543                         if ( opInfo.type == OT_CONSTANT ) {
    544                                 output << opInfo.symbol;
    545                         } else {
    546                                 output << opInfo.outputName;
    547                         }
     542                if ( operatorLookup( nameExpr->get_name(), opInfo ) ) {
     543                        assert( opInfo.type == OT_CONSTANT );
     544                        output << opInfo.symbol;
    548545                } else {
    549546                        output << nameExpr->get_name();
Note: See TracChangeset for help on using the changeset viewer.