Minor change
authorChris Lattner <sabre@nondot.org>
Mon, 5 Apr 2004 01:31:50 +0000 (01:31 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 5 Apr 2004 01:31:50 +0000 (01:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12655 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/CodeGeneratorBug.cpp

index 8569bb9337d92c1fe1dd0bf5fa6f39d4c09c5e77..43b38e70a8fbd6c3b3a9ca395d222faaa0e70a4c 100644 (file)
@@ -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