summaryrefslogtreecommitdiffstats
path: root/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
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
commit59585a61fcf2c9df45a53bae7e974ff36b03a341 (patch)
treed0754c46548616442810d1f2e5e3446eebbc460b /llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
parent10cae15d8efe3b70c01f563006f3b6961a4f3795 (diff)
downloadbcm5719-llvm-59585a61fcf2c9df45a53bae7e974ff36b03a341.tar.gz
bcm5719-llvm-59585a61fcf2c9df45a53bae7e974ff36b03a341.zip
relax type
llvm-svn: 32993
Diffstat (limited to 'llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp')
-rw-r--r--llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp b/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
index 440de0c7ad2..1542645b6c1 100644
--- a/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
+++ b/llvm/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 ) );
OpenPOWER on IntegriCloud