[llvm-commits] CVS: llvm/tools/bugpoint/Miscompilation.cpp

Chris Lattner sabre at nondot.org
Sun Jan 7 00:13:56 PST 2007



Changes in directory llvm/tools/bugpoint:

Miscompilation.cpp updated: 1.83 -> 1.84
---
Log message:

relax type


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

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


Index: llvm/tools/bugpoint/Miscompilation.cpp
diff -u llvm/tools/bugpoint/Miscompilation.cpp:1.83 llvm/tools/bugpoint/Miscompilation.cpp:1.84
--- llvm/tools/bugpoint/Miscompilation.cpp:1.83	Sun Dec 31 00:02:26 2006
+++ llvm/tools/bugpoint/Miscompilation.cpp	Sun Jan  7 02:13:39 2007
@@ -673,7 +673,7 @@
 
   // Add the resolver to the Safe module.
   // Prototype: void *getPointerToNamedFunction(const char* Name)
-  Function *resolverFunc =
+  Constant *resolverFunc =
     Safe->getOrInsertFunction("getPointerToNamedFunction",
                               PointerType::get(Type::Int8Ty),
                               PointerType::get(Type::Int8Ty), (Type *)0);






More information about the llvm-commits mailing list