projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b76efb7
)
relax type
author
Chris Lattner
<sabre@nondot.org>
Sun, 7 Jan 2007 08:13:39 +0000
(08:13 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 7 Jan 2007 08:13:39 +0000
(08:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32990
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/Miscompilation.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/Miscompilation.cpp
b/tools/bugpoint/Miscompilation.cpp
index e3d52717d998fc4e57e696ba5dd72afa11f3c460..4c2e473e19a0071d2f5c55700a1f4685c3b7346e 100644
(file)
--- 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);