示例#1
0
        internal static EnterFaultInstruction Create(int labelIndex)
        {
            if (labelIndex < CacheSize)
            {
                return(s_cache[labelIndex] ?? (s_cache[labelIndex] = new EnterFaultInstruction(labelIndex)));
            }

            return(new EnterFaultInstruction(labelIndex));
        }
示例#2
0
 public void EmitEnterFault(BranchLabel faultStartLabel)
 {
     Emit(EnterFaultInstruction.Create(EnsureLabelIndex(faultStartLabel)));
 }