Ignore:
Timestamp:
Nov 2, 2017, 10:22:06 AM (20 months ago)
Author:
cameron
Message:

EnableAsserts? and EnableCycleCounter? are DebugOptions? (disable object caching)

Location:
icGREP/icgrep-devel/icgrep/pablo
Files:
2 edited

Legend:

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

    r5716 r5721  
    429429        b->SetInsertPoint(resume);
    430430
    431         if (codegen::EnableAsserts) {
     431        if (codegen::DebugOptionIsSet(codegen::EnableAsserts)) {
    432432            b->CreateAssertZero(b->CreateOr(finalBorrow, finalCarry),
    433433                                       "CarryManager: loop post-condition violated: final borrow and carry must be zero!");
  • icGREP/icgrep-devel/icgrep/pablo/carrypack_manager.cpp

    r5713 r5721  
    452452        iBuilder->SetInsertPoint(resume);
    453453
    454         if (codegen::EnableAsserts) {
     454        if (codegen::DebugOptionIsSet(codegen::EnableAsserts)) {
    455455            iBuilder->CreateAssertZero(iBuilder->CreateOr(finalBorrow, finalCarry),
    456456                                       "CarryPackManager: loop post-condition violated: final borrow and carry must be zero!");
Note: See TracChangeset for help on using the changeset viewer.