[llvm-commits] CVS: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp

Chris Lattner sabre at nondot.org
Sun Jan 7 00:39:42 PST 2007



Changes in directory llvm/projects/Stacker/lib/compiler:

StackerCompiler.cpp updated: 1.29 -> 1.30
---
Log message:

relax type


---
Diffs of the changes:  (+1 -1)

 StackerCompiler.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
diff -u llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.29 llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.30
--- llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.29	Sat Dec 30 23:50:28 2006
+++ llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp	Sun Jan  7 02:39:27 2007
@@ -895,7 +895,7 @@
     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 ) );






More information about the llvm-commits mailing list