Index: bindings/ocaml/llvm/llvm.ml =================================================================== --- bindings/ocaml/llvm/llvm.ml +++ bindings/ocaml/llvm/llvm.ml @@ -244,6 +244,8 @@ | CatchPad | CleanupPad | CatchSwitch + | FNeg + | CallBr end module LandingPadClauseTy = struct Index: bindings/ocaml/llvm/llvm.mli =================================================================== --- bindings/ocaml/llvm/llvm.mli +++ bindings/ocaml/llvm/llvm.mli @@ -266,6 +266,8 @@ | CatchPad | CleanupPad | CatchSwitch + | FNeg + | CallBr end (** The type of a clause of a [landingpad] instruction. Index: bindings/ocaml/llvm/llvm_ocaml.c =================================================================== --- bindings/ocaml/llvm/llvm_ocaml.c +++ bindings/ocaml/llvm/llvm_ocaml.c @@ -1534,7 +1534,7 @@ if (!LLVMIsAInstruction(Inst)) failwith("Not an instruction"); o = LLVMGetInstructionOpcode(Inst); - assert (o <= LLVMCatchSwitch); + assert (o <= LLVMCallBr); return Val_int(o); }