diff --git a/tools/bugpoint/CodeGeneratorBug.cpp b/tools/bugpoint/CodeGeneratorBug.cpp index 8569bb9337d..43b38e70a8f 100644 --- a/tools/bugpoint/CodeGeneratorBug.cpp +++ b/tools/bugpoint/CodeGeneratorBug.cpp @@ -115,7 +115,7 @@ bool ReduceMisCodegenFunctions::TestFuncs(const std::vector &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 GEPargs(2, Constant::getNullValue(Type::LongTy)); + std::vector 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