[llvm-commits] [PATCH] Extend the builder interface to use the new instruction positioning code.

Erick Tryzelaar idadesub at users.sourceforge.net
Sun Mar 23 23:01:20 PDT 2008


I'll submit a new patch in a minute, but first:

On Sun, Mar 23, 2008 at 9:20 PM, Gordon Henriksen
<gordonhenriksen at mac.com> wrote:
> +/*--... Operations on instructions
> .........................................--*/
> +
> +DEFINE_ITERATORS(instr, Instruction, LLVMBasicBlockRef, LLVMValueRef,
> +                 LLVMGetInstructionParent)
> +
> +
>
> Isn't there already a section for this? I think llvm_instr_parent is bound
> already.

Not as far as I can see, you call out directly to LLVMGetInstructionParent.

Thanks for the great editing :)



More information about the llvm-commits mailing list