From 2f54c5da5886d583a91a4aded437d31d51541ab2 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 17 Jul 2009 04:47:24 +0000 Subject: Update for LLVM's wishy washy developers. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@76151 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/klee/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp index af8b829d..d7d96323 100644 --- a/tools/klee/main.cpp +++ b/tools/klee/main.cpp @@ -603,10 +603,10 @@ static int initEnv(Module *mainModule) { Value* oldArgc = mainFn->arg_begin(); Value* oldArgv = ++mainFn->arg_begin(); - AllocaInst* argcPtr = new AllocaInst(getGlobalContext(), oldArgc->getType(), - "argcPtr", firstInst); - AllocaInst* argvPtr = new AllocaInst(getGlobalContext(), oldArgv->getType(), - "argvPtr", firstInst); + AllocaInst* argcPtr = + new AllocaInst(oldArgc->getType(), "argcPtr", firstInst); + AllocaInst* argvPtr = + new AllocaInst(oldArgv->getType(), "argvPtr", firstInst); /* Insert void klee_init_env(int* argc, char*** argv) */ std::vector params; -- cgit 1.4.1