1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

ocaml bindings: landing pad is now the last opcode.

llvm-svn: 149997
This commit is contained in:
Benjamin Kramer 2012-02-07 18:58:19 +00:00
parent 6d9863be3a
commit 26c6e4b9e0

View File

@ -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);
}