Class CilILFunctionInstruction

  • All Implemented Interfaces:
    CilInstruction

    public class CilILFunctionInstruction
    extends AbstractCilnstruction
    CIL isinst differs from instanceof: isinst returns object or null, while instanceof returns a boolean - rewrite
    • Method Detail

      • jimplify

        public void jimplify​(Body jb)
        Description copied from interface: CilInstruction
        Jimplify a starting statement of ILSpy AST
      • jimplifyExpr

        public Value jimplifyExpr​(Body jb)
        Description copied from interface: CilInstruction
        Jimplify an expression of ILSpy AST statement children
        Returns:
      • resolveRewritingIsInst

        public void resolveRewritingIsInst​(Body jb,
                                           Local variable,
                                           Value instanceOfExpr)