aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-01-07 08:39:27 +0000
committerChris Lattner <sabre@nondot.org>2007-01-07 08:39:27 +0000
commitf1d71b537c1de856e399bf1b1a16f2f954d1f937 (patch)
tree9983d8728bc65a921e3987605609d79fe7713270
parenta4810b52d024ec4dcf638c906db9589338c05117 (diff)
downloadexternal_llvm-f1d71b537c1de856e399bf1b1a16f2f954d1f937.zip
external_llvm-f1d71b537c1de856e399bf1b1a16f2f954d1f937.tar.gz
external_llvm-f1d71b537c1de856e399bf1b1a16f2f954d1f937.tar.bz2
relax type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32993 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--projects/Stacker/lib/compiler/StackerCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/Stacker/lib/compiler/StackerCompiler.cpp b/projects/Stacker/lib/compiler/StackerCompiler.cpp
index 440de0c..1542645 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<Value*> args;
bb->getInstList().push_back( new CallInst( f, args ) );