Extend the builder interface to use the new instruction positioning code.
authorGordon Henriksen <gordonhenriksen@mac.com>
Tue, 25 Mar 2008 16:26:51 +0000 (16:26 +0000)
committerGordon Henriksen <gordonhenriksen@mac.com>
Tue, 25 Mar 2008 16:26:51 +0000 (16:26 +0000)
commit033d778249e59548c495f39166a53fa80f48eb91
treed57aed1f92fa8ed71670f667852a0ff2a02fa800
parent92e73d7628436ef76b0e9bb7f8224f02128e9906
Extend the builder interface to use the new instruction positioning code.

This adds support for instruction iterators, as well as rewriting the
builder code to use these new functions. This lets us eliminate the C
bindings for moving around the builder.

Patch by Erick Tryzelaar!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48774 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/ocaml/llvm/llvm.ml
bindings/ocaml/llvm/llvm.mli
bindings/ocaml/llvm/llvm_ocaml.c