summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit6087034f3ae760a33c8d69373f775a8dd67b995b (patch)
tree04206ef1903f9486d92a18e3558d3c4658d8c0ac /llvm/tools/bugpoint/CodeGeneratorBug.cpp
parent33fd7025906473c86df8de27da30b49863b3bd1a (diff)
downloadbcm5719-llvm-6087034f3ae760a33c8d69373f775a8dd67b995b.tar.gz
bcm5719-llvm-6087034f3ae760a33c8d69373f775a8dd67b995b.zip
Minor change
llvm-svn: 12655
Diffstat (limited to 'llvm/tools/bugpoint/CodeGeneratorBug.cpp')
-rw-r--r--llvm/tools/bugpoint/CodeGeneratorBug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/CodeGeneratorBug.cpp b/llvm/tools/bugpoint/CodeGeneratorBug.cpp
index 8569bb9337d..43b38e70a8f 100644
--- a/llvm/tools/bugpoint/CodeGeneratorBug.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud