Ignore:
Timestamp:
Oct 30, 2014, 1:19:34 PM (5 years ago)
Author:
nmedfort
Message:

Created an "insertion friendly" Pablo AST structure similar to LLVM; fixed engine builder bug when creating a unicode class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/compiler.cpp

    r4270 r4276  
    100100    #ifdef DEBUG_PRINT_PBIX_AST
    101101    //Print to the terminal the AST that was generated by the character class compiler.
    102     std::cerr << "Pablo CC AST:" << std::endl << StatementPrinter::Print_CC_PabloStmts(main.statements()) << std::endl;
     102    std::cerr << "Pablo CC AST:" << std::endl << PabloPrinter::print(main.statements()) << std::endl;
    103103    #endif
    104104
     
    107107    #ifdef DEBUG_PRINT_PBIX_AST
    108108    //Print to the terminal the AST that was generated by the pararallel bit-stream compiler.
    109     std::cerr << "Final Pablo AST:" << StatementPrinter::Print_CC_PabloStmts(main.statements()) << ")" << std::endl;
     109    std::cerr << "Final Pablo AST:" << PabloPrinter::print(main.statements()) << ")" << std::endl;
    110110    #endif
     111
     112    RE::release_memory();
    111113
    112114    PabloCompiler pablo_compiler(basisBits);
     
    128130    }
    129131
     132    PabloAST::release_memory();
     133
    130134    return retVal;
    131135}
Note: See TracChangeset for help on using the changeset viewer.