about summary refs log tree commit diff homepage
path: root/lib/Expr/Expr.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-05 05:39:57 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-05 05:39:57 +0000
commit601877c638420b1c32a0ea49a0ec43c952529bab (patch)
treec3e0331bbd443fab2bbf28082e52b8bb35bb59df /lib/Expr/Expr.cpp
parent1d168e4a14349eca7125ea508f8f219fad66508a (diff)
downloadklee-601877c638420b1c32a0ea49a0ec43c952529bab.tar.gz
Expr::print shouldn't introduce line breaks or extra formatting.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Expr/Expr.cpp')
-rw-r--r--lib/Expr/Expr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Expr/Expr.cpp b/lib/Expr/Expr.cpp
index bc871808..d58c9085 100644
--- a/lib/Expr/Expr.cpp
+++ b/lib/Expr/Expr.cpp
@@ -320,8 +320,7 @@ ref<Expr> Expr::createPointer(uint64_t v) {
 }
 
 void Expr::print(std::ostream &os) const {
-  const ref<Expr> tmp((Expr*)this);
-  ExprPPrinter::printOne(os, "", tmp);
+  ExprPPrinter::printSingleExpr(os, (Expr*)this);
 }
 
 /***/