projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ae29a6
)
ocaml bindings: landing pad is now the last opcode.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Tue, 7 Feb 2012 18:58:19 +0000
(18:58 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Tue, 7 Feb 2012 18:58:19 +0000
(18:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149997
91177308
-0d34-0410-b5e6-
96231b3b80d8
bindings/ocaml/llvm/llvm_ocaml.c
patch
|
blob
|
history
diff --git
a/bindings/ocaml/llvm/llvm_ocaml.c
b/bindings/ocaml/llvm/llvm_ocaml.c
index
b64bba1
..
a5985d9
100644
(file)
--- a/
bindings/ocaml/llvm/llvm_ocaml.c
+++ b/
bindings/ocaml/llvm/llvm_ocaml.c
@@
-1163,7
+1163,7
@@
CAMLprim value llvm_instr_get_opcode(LLVMValueRef Inst) {
if (!LLVMIsAInstruction(Inst))
failwith("Not an instruction");
o = LLVMGetInstructionOpcode(Inst);
- assert (o <= LLVM
Unwind
);
+ assert (o <= LLVM
LandingPad
);
return Val_int(o);
}