mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
ocaml bindings: landing pad is now the last opcode.
llvm-svn: 149997
This commit is contained in:
parent
6d9863be3a
commit
26c6e4b9e0
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user