summaryrefslogtreecommitdiff
path: root/bindings/ocaml/llvm/llvm.ml
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2010-02-28 20:44:53 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2010-02-28 20:44:53 +0000
commitce89b4e66f7ec82b2b621c94b072f0b22827a3cd (patch)
treefd0e6bbaca8a5d342e4aa234c269d1801ce1de86 /bindings/ocaml/llvm/llvm.ml
parentf70cbb2d6a9d2783d581ef7b5fdefd1b305ce332 (diff)
downloadllvm-ce89b4e66f7ec82b2b621c94b072f0b22827a3cd.tar.gz
llvm-ce89b4e66f7ec82b2b621c94b072f0b22827a3cd.tar.bz2
llvm-ce89b4e66f7ec82b2b621c94b072f0b22827a3cd.tar.xz
Add support for inserting inline asm to ocaml.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/ocaml/llvm/llvm.ml')
-rw-r--r--bindings/ocaml/llvm/llvm.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/bindings/ocaml/llvm/llvm.ml b/bindings/ocaml/llvm/llvm.ml
index 7c72a61abc..92bfef51d0 100644
--- a/bindings/ocaml/llvm/llvm.ml
+++ b/bindings/ocaml/llvm/llvm.ml
@@ -356,6 +356,9 @@ external const_extractvalue : llvalue -> int array -> llvalue
= "llvm_const_extractvalue"
external const_insertvalue : llvalue -> llvalue -> int array -> llvalue
= "llvm_const_insertvalue"
+external const_inline_asm : lltype -> string -> string -> bool -> bool ->
+ llvalue
+ = "llvm_const_inline_asm"
external block_address : llvalue -> llbasicblock -> llvalue = "LLVMBlockAddress"
(*--... Operations on global variables, functions, and aliases (globals) ...--*)