Inheritance: IndexedBranchInstruction
Beispiel #1
0
 internal static EnterTryFinallyInstruction Create(int labelIndex)
 {
     if (labelIndex < CacheSize)
     {
         return(Cache[labelIndex] ?? (Cache[labelIndex] = new EnterTryFinallyInstruction(labelIndex)));
     }
     return(new EnterTryFinallyInstruction(labelIndex));
 }
Beispiel #2
0
 public void EmitEnterTryFinally(BranchLabel finallyStartLabel)
 {
     Emit(EnterTryFinallyInstruction.Create(EnsureLabelIndex(finallyStartLabel)));
 }
 internal static EnterTryFinallyInstruction Create(int labelIndex) {
     if (labelIndex < CacheSize) {
         return Cache[labelIndex] ?? (Cache[labelIndex] = new EnterTryFinallyInstruction(labelIndex));
     }
     return new EnterTryFinallyInstruction(labelIndex);
 }