aboutsummaryrefslogtreecommitdiff
path: root/tools/bugpoint/CodeGeneratorBug.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-05 01:31:50 +0000
committerChris Lattner <sabre@nondot.org>2004-04-05 01:31:50 +0000
commitaf48fa8259decb0d5a7fe726c58bf00d10085c3d (patch)
treea935e5b37f35ab3bc62307f764b8f7dd9a0a9e80 /tools/bugpoint/CodeGeneratorBug.cpp
parentf74d5c7d1d98b53d4f2522793c41fd628c4df481 (diff)
Minor change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/CodeGeneratorBug.cpp')
-rw-r--r--tools/bugpoint/CodeGeneratorBug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/CodeGeneratorBug.cpp b/tools/bugpoint/CodeGeneratorBug.cpp
index 8569bb9337..43b38e70a8 100644
--- a/tools/bugpoint/CodeGeneratorBug.cpp
+++ b/tools/bugpoint/CodeGeneratorBug.cpp
@@ -115,7 +115,7 @@ bool ReduceMisCodegenFunctions::TestFuncs(const std::vector<Function*> &Funcs,
// 2. Use `GetElementPtr *funcName, 0, 0' to convert the string to an
// sbyte* so it matches the signature of the resolver function.
- std::vector<Constant*> GEPargs(2, Constant::getNullValue(Type::LongTy));
+ std::vector<Constant*> GEPargs(2, Constant::getNullValue(Type::IntTy));
// 3. Replace all uses of `func' with calls to resolver by:
// (a) Iterating through the list of uses of this function