OSDN Git Service

[OCaml] Add OCaml APIs for Invoke arguments and destinations
authorwhitequark <whitequark@whitequark.org>
Tue, 18 Sep 2018 01:47:18 +0000 (01:47 +0000)
committerwhitequark <whitequark@whitequark.org>
Tue, 18 Sep 2018 01:47:18 +0000 (01:47 +0000)
commit0a0841da51050db67d994a9ee614403370c84b17
treeb53852165fdc0e88ca31c866376c193eb52f30de
parente85b236f1778da3cbcf494ce9f839a4ab936a53f
[OCaml] Add OCaml APIs for Invoke arguments and destinations

Summary:
This patch adds OCaml APIs for LLVMGetNormalDest and LLVMGetUnwindDest
on InvokeInsts, as well as LLVMGetNumArgOperands on CallInsts and
InvokeInsts.

Reviewers: whitequark

Reviewed By: whitequark

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D52204

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