From 2db43c864e8372823d961d961ca520ed20edca82 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 7 Jan 2007 08:13:39 +0000 Subject: [PATCH] relax type git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32990 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/bugpoint/Miscompilation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index e3d52717d99..4c2e473e19a 100644 --- a/tools/bugpoint/Miscompilation.cpp +++ b/tools/bugpoint/Miscompilation.cpp @@ -673,7 +673,7 @@ static void CleanupAndPrepareModules(BugDriver &BD, Module *&Test, // 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); -- 2.34.1