X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=docs%2Fir-desc;h=617e105b77a78660feaa2a1aa648533bda7b772a;hb=50beb484c091b7eb9fdd4cba436757c12f316b8d;hp=25ad5c11564defcb0e19d66e0b570c4ce2dcbfdf;hpb=e33afb5477aa590ac03a75632df8537ff6af502b;p=mono.git diff --git a/docs/ir-desc b/docs/ir-desc index 25ad5c11564..617e105b77a 100644 --- a/docs/ir-desc +++ b/docs/ir-desc @@ -27,4 +27,28 @@ Operation: OP_CALL_HANDLER. This instruction must call the target basic block. - \ No newline at end of file +Operation: OP_CISINST + + Implements the CEE_MONO_CISINST opcode that is decoded from + the CIL stream. + + This opcode takes as input an object reference and a class, + and leaves on the assigned register: + + 0. if the object is an instance of the class, + 1. if the object is not instance of the class, + 2. if the object is a proxy whose type cannot be determined. + +Operation: OP_CCASTCLASS + + Implements the CEE_MONO_CCASTCLASS opcode that is decoded from + the CIL stream. + + This opcode takes as input an object reference and a class, + and leaves on the assigned register: + + 0. if the object is an instance of the class, + 1. if the object is a proxy whose type cannot be determined + + throws an InvalidCastException exception otherwise. +