commit | efde86753d6f324ac9d0b42e48fd3ebf40c17905 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Tue Feb 07 18:58:19 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Tue Feb 07 18:58:19 2012 +0000 |
tree | abccb677af7fd27619b8cb3f79ed792bd85b4d96 | |
parent | 0ae29a6b37204d95761a859d647f3e13a415c2d2 [diff] |
ocaml bindings: landing pad is now the last opcode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149997 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/bindings/ocaml/llvm/llvm_ocaml.c b/bindings/ocaml/llvm/llvm_ocaml.c index b64bba1..a5985d9 100644 --- a/bindings/ocaml/llvm/llvm_ocaml.c +++ b/bindings/ocaml/llvm/llvm_ocaml.c
@@ -1163,7 +1163,7 @@ if (!LLVMIsAInstruction(Inst)) failwith("Not an instruction"); o = LLVMGetInstructionOpcode(Inst); - assert (o <= LLVMUnwind ); + assert (o <= LLVMLandingPad); return Val_int(o); }