From: Chris Lattner Date: Sun, 7 Jan 2007 08:39:27 +0000 (+0000) Subject: relax type X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f1d71b537c1de856e399bf1b1a16f2f954d1f937;p=oota-llvm.git relax type git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32993 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/projects/Stacker/lib/compiler/StackerCompiler.cpp b/projects/Stacker/lib/compiler/StackerCompiler.cpp index 440de0c7ad2..1542645b6c1 100644 --- a/projects/Stacker/lib/compiler/StackerCompiler.cpp +++ b/projects/Stacker/lib/compiler/StackerCompiler.cpp @@ -895,7 +895,7 @@ StackerCompiler::handle_word( int tkn ) case DUMP : // Dump the stack (debugging aid) { if (echo) bb->setName("DUMP"); - Function* f = TheModule->getOrInsertFunction( + Constant * f = TheModule->getOrInsertFunction( "_stacker_dump_stack_", DefinitionType); std::vector args; bb->getInstList().push_back( new CallInst( f, args ) );