diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Expr/Expr.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Expr/Expr.cpp b/lib/Expr/Expr.cpp index 3820fd32..b1bf9824 100644 --- a/lib/Expr/Expr.cpp +++ b/lib/Expr/Expr.cpp @@ -290,6 +290,11 @@ void Expr::print(std::ostream &os) const { ExprPPrinter::printSingleExpr(os, (Expr*)this); } +void Expr::dump() const { + this->print(*llvm::cerr.stream()); + llvm::cerr << std::endl; +} + /***/ ref<Expr> ConstantExpr::fromMemory(void *address, Width width) { |