本文整理汇总了C#中CodeLocationTag类的典型用法代码示例。如果您正苦于以下问题:C# CodeLocationTag类的具体用法?C# CodeLocationTag怎么用?C# CodeLocationTag使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CodeLocationTag类属于命名空间,在下文中一共展示了CodeLocationTag类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: MidInstruction
public MidInstruction(OpcodeEnum opcode, CodeLocationTag codeLocation, SsaRegister regArg, SsaRegister regArg2)
{
Opcode = opcode;
CodeLocation = codeLocation;
RegArg = regArg;
RegArg2 = regArg2;
}
示例2: AllocInstanceDelegateInstruction
public AllocInstanceDelegateInstruction(CodeLocationTag codeLocation, TypeSpecTag type, HighSsaRegister dest, HighSsaRegister obj)
: base(codeLocation)
{
m_type = type;
m_dest = dest;
m_object = obj;
}
示例3: PtrFieldInstruction
public PtrFieldInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister src, string field)
: base(codeLocation)
{
m_dest = dest;
m_src = src;
m_field = field;
}
示例4: BindVirtualDelegateInstruction
public BindVirtualDelegateInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister obj, MethodSpecTag methodSpec)
: base(codeLocation)
{
m_dest = dest;
m_object = obj;
m_methodSpec = methodSpec;
}
示例5: LoadValueFieldInstruction
public LoadValueFieldInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister src, string fieldName)
: base(codeLocation)
{
m_dest = dest;
m_src = src;
m_fieldName = fieldName;
}
示例6: NumberConvertInstruction
public NumberConvertInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister src, bool checkOverflow)
: base(codeLocation)
{
m_dest = dest;
m_src = src;
m_checkOverflow = checkOverflow;
}
示例7: GetStaticFieldAddrInstruction
public GetStaticFieldAddrInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, TypeSpecTag staticType, string fieldName)
: base(codeLocation)
{
m_dest = dest;
m_staticType = staticType;
m_fieldName = fieldName;
}
示例8: Read
public static HighRegion Read(TagRepository rpa, CatalogReader catalog, HighMethodBodyParseContext methodBody, CodeLocationTag baseLocation, bool haveDebugInfo, BinaryReader reader)
{
uint numCfgNodes = reader.ReadUInt32();
if (numCfgNodes == 0)
throw new Exception("Region has no CFG nodes");
HighCfgNodeHandle[] cfgNodes = new HighCfgNodeHandle[numCfgNodes];
for (uint i = 0; i < numCfgNodes; i++)
cfgNodes[i] = new HighCfgNodeHandle();
for (uint i = 0; i < numCfgNodes; i++)
cfgNodes[i].Value = HighCfgNode.Read(rpa, catalog, methodBody, cfgNodes, baseLocation, haveDebugInfo, reader);
RegionPhiResolver phiResolver = new RegionPhiResolver(cfgNodes);
for (uint i = 0; i < numCfgNodes; i++)
{
foreach (HighPhi phi in cfgNodes[i].Value.Phis)
phi.Resolve(phiResolver);
}
HighCfgNodeHandle entryNode = cfgNodes[0];
if (entryNode.Value.Phis.Length != 0)
throw new RpaLoadException("Region entry node has phis");
return new HighRegion(entryNode);
}
示例9: AllocArrayInstruction
public AllocArrayInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister[] sizes, TypeSpecTag targetType)
: base(codeLocation)
{
m_dest = dest;
m_sizes = sizes;
m_type = targetType;
}
示例10: Read
public static HighProtectedRegion Read(TagRepository rpa, CatalogReader catalog, HighMethodBodyParseContext methodBody, CodeLocationTag baseLocation, bool haveDebugInfo, BinaryReader reader)
{
HighProtectedRegion region;
RegionTypeEnum regionType = (RegionTypeEnum)reader.ReadByte();
HighRegion tryRegion = HighRegion.Read(rpa, catalog, methodBody, baseLocation, haveDebugInfo, reader);
switch (regionType)
{
case RegionTypeEnum.TryCatch:
region = new HighTryCatchRegion(tryRegion);
break;
case RegionTypeEnum.TryFault:
region = new HighTryFaultRegion(tryRegion);
break;
case RegionTypeEnum.TryFinally:
region = new HighTryFinallyRegion(tryRegion);
break;
default:
throw new Exception("Invalid protected region type");
}
region.ReadHandlers(rpa, catalog, methodBody, baseLocation, haveDebugInfo, reader);
return region;
}
示例11: LoadMulticastDelegateElementInstruction
public LoadMulticastDelegateElementInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister delegateSrc, HighSsaRegister indexSrc)
: base(codeLocation)
{
m_dest = dest;
m_delegateSrc = delegateSrc;
m_indexSrc = indexSrc;
}
示例12: GetArrayElementPtrInstruction
public GetArrayElementPtrInstruction(CodeLocationTag codeLocation, HighSsaRegister addrDestReg, HighSsaRegister arrayReg, HighSsaRegister[] indexes)
: base(codeLocation)
{
m_addrDestReg = addrDestReg;
m_arrayReg = arrayReg;
m_indexes = indexes;
}
示例13: BranchRefNullInstruction
public BranchRefNullInstruction(CodeLocationTag codeLocation, HighSsaRegister value, HighCfgNodeHandle isNullNode, HighCfgNodeHandle isNotNullNode)
: base(codeLocation)
{
m_value = value;
m_isNullNode = new HighCfgEdge(this, isNullNode);
m_isNotNullNode = new HighCfgEdge(this, isNotNullNode);
}
示例14: CallRloStaticMethodInstruction
public CallRloStaticMethodInstruction(CodeLocationTag codeLocation, MethodHandle methodHandle, HighSsaRegister returnDest, HighSsaRegister[] parameters)
{
CodeLocation = codeLocation;
m_methodHandle = methodHandle;
m_returnDest = returnDest;
m_parameters = parameters;
}
示例15: ConvertDelegateToMulticastInstruction
public ConvertDelegateToMulticastInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister src, TypeSpecMulticastDelegateTag mdgSpec)
: base(codeLocation)
{
m_dest = dest;
m_src = src;
m_mdType = mdgSpec;
}