From 3c7c33b6c32984040f284c594e8e3b4628295e36 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 10 Jun 2009 21:12:25 +0000 Subject: 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 --- lib/Expr/Expr.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/Expr') 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 NotOptimizedExpr::create(ref 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); -- cgit 1.4.1