Index: llvm/trunk/bindings/ocaml/llvm/llvm.ml =================================================================== --- llvm/trunk/bindings/ocaml/llvm/llvm.ml +++ llvm/trunk/bindings/ocaml/llvm/llvm.ml @@ -244,6 +244,8 @@ | CatchPad | CleanupPad | CatchSwitch + | FNeg + | CallBr end module LandingPadClauseTy = struct Index: llvm/trunk/bindings/ocaml/llvm/llvm.mli =================================================================== --- llvm/trunk/bindings/ocaml/llvm/llvm.mli +++ llvm/trunk/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: llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c =================================================================== --- llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c +++ llvm/trunk/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); }