OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec1f752
)
remove use of deprecated apis
author
Chris Lattner
<sabre@nondot.org>
Mon, 19 Feb 2007 07:41:31 +0000
(07:41 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 19 Feb 2007 07:41:31 +0000
(07:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34418
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
11cbbc2
..
534aa28
100644
(file)
--- a/
tools/bugpoint/Miscompilation.cpp
+++ b/
tools/bugpoint/Miscompilation.cpp
@@
-702,8
+702,7
@@
static void CleanupAndPrepareModules(BugDriver &BD, Module *&Test,
// GetElementPtr *funcName, ulong 0, ulong 0
std::vector<Constant*> GEPargs(2,Constant::getNullValue(Type::Int32Ty));
- Value *GEP =
- ConstantExpr::getGetElementPtr(funcName, GEPargs);
+ Value *GEP = ConstantExpr::getGetElementPtr(funcName, &GEPargs[0], 2);
std::vector<Value*> ResolverArgs;
ResolverArgs.push_back(GEP);