relax type
authorChris Lattner <sabre@nondot.org>
Sun, 7 Jan 2007 08:39:27 +0000 (08:39 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 7 Jan 2007 08:39:27 +0000 (08:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32993 91177308-0d34-0410-b5e6-96231b3b80d8

projects/Stacker/lib/compiler/StackerCompiler.cpp

index 440de0c7ad26a9beb0ab01c8340834df652a8a6c..1542645b6c1866b76b1ac6a296c336efeb75ca1d 100644 (file)
@@ -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<Value*> args;
         bb->getInstList().push_back( new CallInst( f, args ) );