summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
Diffstat (limited to 'projects')
-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 440de0c7ad..1542645b6c 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 ) );