[llvm-commits] [llvm] r75025 - in /llvm/trunk: examples/BrainF/ include/llvm/ include/llvm/Support/ lib/Analysis/ lib/AsmParser/ lib/Bitcode/Reader/ lib/CodeGen/ lib/Linker/ lib/Transforms/IPO/ lib/Transforms/Instrumentation/ lib/Transforms/Scalar/ lib/Transforms/Utils/ lib/VMCore/ tools/bugpoint/

Owen Anderson resistor at mac.com
Wed Jul 8 12:43:15 PDT 2009


On Jul 8, 2009, at 12:40 PM, Chris Lattner wrote:
>> +++ llvm/trunk/include/llvm/Support/IRBuilder.h Wed Jul  8 14:03:57
>> 2009
>>    Value *Idxs[] = {
>> -      Context.getConstantInt(Type::Int32Ty, Idx0),
>> -      Context.getConstantInt(Type::Int32Ty, Idx1)
>> +      ConstantInt::get(Type::Int32Ty, Idx0),
>> +      ConstantInt::get(Type::Int32Ty, Idx1)
>>    };
>
> This (and other things) seem really wrong.

I reverted all of r74985 as part of this, because my initial attempt  
at fixing the API without doing so caused a lot of failures.  I'll go  
back and reapply the relevant parts now.

--Owen



More information about the llvm-commits mailing list