[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/

Chris Lattner clattner at apple.com
Wed Jul 8 12:40:54 PDT 2009


On Jul 8, 2009, at 12:04 PM, Owen Anderson wrote:

> Author: resistor
> Date: Wed Jul  8 14:03:57 2009
> New Revision: 75025
>
> URL: http://llvm.org/viewvc/llvm-project?rev=75025&view=rev
> Log:
> Switch GlobalVariable ctors to a sane API, where *either* a context  
> or a module is required.

Ok...

> +++ 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.

-Chris




More information about the llvm-commits mailing list