[llvm-commits] [llvm] r149997 - /llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c
Benjamin Kramer
benny.kra at googlemail.com
Tue Feb 7 10:58:19 PST 2012
Author: d0k
Date: Tue Feb 7 12:58:19 2012
New Revision: 149997
URL: http://llvm.org/viewvc/llvm-project?rev=149997&view=rev
Log:
ocaml bindings: landing pad is now the last opcode.
Modified:
llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c
Modified: llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c?rev=149997&r1=149996&r2=149997&view=diff
==============================================================================
--- llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c (original)
+++ llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c Tue Feb 7 12:58:19 2012
@@ -1163,7 +1163,7 @@
if (!LLVMIsAInstruction(Inst))
failwith("Not an instruction");
o = LLVMGetInstructionOpcode(Inst);
- assert (o <= LLVMUnwind );
+ assert (o <= LLVMLandingPad);
return Val_int(o);
}
More information about the llvm-commits
mailing list