about summary refs log tree commit diff homepage
path: root/lib/Core/Memory.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-14 08:16:07 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-14 08:16:07 +0000
commita162859920beccf91af1a3a5038c9cf15700d53b (patch)
tree7495ee6365b30f83b9412bc69b4a5b59ec83096a /lib/Core/Memory.h
parent4177a3239de9ba23f29717bd2d13c57ffea0ead8 (diff)
downloadklee-a162859920beccf91af1a3a5038c9cf15700d53b.tar.gz
More ConstantExpr cleanup.
 - Change Executor::evalConstant to return ConstantExpr.


git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@73337 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Core/Memory.h')
-rw-r--r--lib/Core/Memory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Core/Memory.h b/lib/Core/Memory.h
index d9849d2e..3d481751 100644
--- a/lib/Core/Memory.h
+++ b/lib/Core/Memory.h
@@ -99,10 +99,10 @@ public:
     this->name = name;
   }
 
-  ref<Expr> getBaseExpr() const { 
+  ref<ConstantExpr> getBaseExpr() const { 
     return ConstantExpr::create(address, kMachinePointerType);
   }
-  ref<Expr> getSizeExpr() const { 
+  ref<ConstantExpr> getSizeExpr() const { 
     return ConstantExpr::create(size, kMachinePointerType);
   }
   ref<Expr> getOffsetExpr(ref<Expr> pointer) const {