Package ch.epfl.lamp.compiler.msil.PEFile

Examples of ch.epfl.lamp.compiler.msil.PEFile.Sig.decodeInt()


      int callConv = sig.readByte();
            // TODO decode HASTHIS from high byte of calling convention
            // TODO decode EXPLICITTHIS from high byte of calling convention
            // TODO handle VARARG calling convention (not CLS but may show up )
            if((callConv & 0x1F) == Signature.GENERIC) {
                int genParamCount = sig.decodeInt();
                /* genParamCount is ignored because the method's type params will be obtained below
                (see: file.GenericParam.getMVarIdxes(row) ) */
            }
      int paramCount = sig.decodeInt();
      Type retType = sig.decodeRetType();
View Full Code Here


            if((callConv & 0x1F) == Signature.GENERIC) {
                int genParamCount = sig.decodeInt();
                /* genParamCount is ignored because the method's type params will be obtained below
                (see: file.GenericParam.getMVarIdxes(row) ) */
            }
      int paramCount = sig.decodeInt();
      Type retType = sig.decodeRetType();
      Type[] paramType = new Type[paramCount];
      for (int i = 0; i < paramCount; i++)
    paramType[i] = sig.decodeParamType();

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.