about summary refs log tree commit diff homepage
path: root/lib/Expr
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-03 03:07:32 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-03 03:07:32 +0000
commitcd97597b4fade91b89566f92f4f951609958ffb5 (patch)
tree308968f06fff49abacad280d8e2e746e145bd3cf /lib/Expr
parent520fa11b375e112fa4caeef7ae9ed0e82cca4378 (diff)
downloadklee-cd97597b4fade91b89566f92f4f951609958ffb5.tar.gz
Update ConstantExpr::fromMemory to return a ref<Expr>.
 - This function should go away...


git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Expr')
-rw-r--r--lib/Expr/Expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Expr/Expr.cpp b/lib/Expr/Expr.cpp
index 9def85d7..e8024fc9 100644
--- a/lib/Expr/Expr.cpp
+++ b/lib/Expr/Expr.cpp
@@ -336,7 +336,7 @@ void Expr::print(std::ostream &os) const {
 
 /***/
 
-ref<ConstantExpr> ConstantExpr::fromMemory(void *address, Width width) {
+ref<Expr> ConstantExpr::fromMemory(void *address, Width width) {
   switch (width) {
   case  Expr::Bool: return ConstantExpr::create(*(( uint8_t*) address), width);
   case  Expr::Int8: return ConstantExpr::create(*(( uint8_t*) address), width);