diff options
author | Chris Lattner <sabre@nondot.org> | 2007-01-07 08:13:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-01-07 08:13:39 +0000 |
commit | 2db43c864e8372823d961d961ca520ed20edca82 (patch) | |
tree | 30175f30312e40b1fa44349bbf883fc6fa0040cf /tools/bugpoint | |
parent | b76efb71d41dc1ae33e47d5d9ef79df25cde0b5d (diff) | |
download | external_llvm-2db43c864e8372823d961d961ca520ed20edca82.zip external_llvm-2db43c864e8372823d961d961ca520ed20edca82.tar.gz external_llvm-2db43c864e8372823d961d961ca520ed20edca82.tar.bz2 |
relax type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint')
-rw-r--r-- | tools/bugpoint/Miscompilation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index e3d5271..4c2e473 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); |