Skip to content

Commit

Permalink
ocaml bindings: landing pad is now the last opcode.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149997 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
d0k committed Feb 7, 2012
1 parent 0ae29a6 commit efde867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/ocaml/llvm/llvm_ocaml.c
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ CAMLprim value llvm_instr_get_opcode(LLVMValueRef Inst) {
if (!LLVMIsAInstruction(Inst))
failwith("Not an instruction");
o = LLVMGetInstructionOpcode(Inst);
assert (o <= LLVMUnwind );
assert (o <= LLVMLandingPad);
return Val_int(o);
}

Expand Down

0 comments on commit efde867

Please sign in to comment.