Ignore:
Timestamp:
Aug 11, 2015, 4:31:48 PM (4 years ago)
Author:
nmedfort
Message:

More work on the dependency chain metrics.

File:
1 edited

Legend:

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

    r4722 r4723  
    131131    }
    132132    else if (LLVM_UNLIKELY(statement == nullptr)) {
    133         throw std::runtime_error("Cannot insert before Null statement!");
     133        throw std::runtime_error("cannot insert before null statement!");
    134134    }
    135135    else if (LLVM_UNLIKELY(statement->mParent == nullptr)) {
    136         throw std::runtime_error("Cannot insert before before statement in Null AST!");
     136        throw std::runtime_error("statement is not contained in a pablo block!");
    137137    }
    138138    removeFromParent();
     
    158158    }
    159159    else if (LLVM_UNLIKELY(statement == nullptr)) {
    160         throw std::runtime_error("Cannot insert before Null statement!");
     160        throw std::runtime_error("cannot insert after null statement!");
    161161    }
    162162    else if (LLVM_UNLIKELY(statement->mParent == nullptr)) {
    163         throw std::runtime_error("Cannot insert before before statement in Null AST!");
     163        throw std::runtime_error("statement is not contained in a pablo block!");
    164164    }
    165165    removeFromParent();
Note: See TracChangeset for help on using the changeset viewer.