Beispiel #1
0
 internal static EnterFinallyInstruction Create(int labelIndex)
 {
     if (labelIndex < CacheSize)
     {
         return(s_cache[labelIndex] ?? (s_cache[labelIndex] = new EnterFinallyInstruction(labelIndex)));
     }
     return(new EnterFinallyInstruction(labelIndex));
 }
Beispiel #2
0
 public void EmitEnterFinally(BranchLabel finallyStartLabel)
 {
     Emit(EnterFinallyInstruction.Create(EnsureLabelIndex(finallyStartLabel)));
 }