about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-10 21:12:25 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-10 21:12:25 +0000
commit3c7c33b6c32984040f284c594e8e3b4628295e36 (patch)
tree310b0e71b2dfec46fdd7c16f1db5dcd828e31659 /lib
parent7ba75c1726a81d343e54bc718742541b9d884a13 (diff)
downloadklee-3c7c33b6c32984040f284c594e8e3b4628295e36.tar.gz
Move declaration of vc_DeleteExpr outside of function.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@73173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Expr/Expr.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Expr/Expr.cpp b/lib/Expr/Expr.cpp
index d1638bb8..7b680567 100644
--- a/lib/Expr/Expr.cpp
+++ b/lib/Expr/Expr.cpp
@@ -11,8 +11,6 @@
 
 
 #include "klee/Machine.h"
-// FIXME: This shouldn't be here.
-//#include "klee/Memory.h"
 #include "llvm/Type.h"
 #include "llvm/DerivedTypes.h"
 #include "llvm/Support/CommandLine.h"
@@ -355,9 +353,9 @@ ref<Expr>  NotOptimizedExpr::create(ref<Expr> src) {
 
 /***/
 
-Array::~Array() {
-  extern "C" void ::vc_DeleteExpr(void*);
+extern "C" void vc_DeleteExpr(void*);
 
+Array::~Array() {
   // FIXME: This shouldn't be necessary.
   if (stpInitialArray) {
     ::vc_DeleteExpr(stpInitialArray);