示例#1
0
 public FinallyState(FinallyState oldState, int instruction, FlatOperand catchesLabel, string ehendLabel)
 {
     NumInstruction = instruction;
     CatchesLabel = catchesLabel.ImmediateValue.ValueText;
     ehEndLabel = ehendLabel;
     OldState = oldState;
     Part = EHPart.Try;
 }
示例#2
0
 public FinallyState(FinallyState oldState, int instruction, FlatOperand catchesLabel, FlatOperand finallyLabel)
 {
     NumInstruction = instruction;
     CatchesLabel = catchesLabel.ImmediateValue.ValueText;
     FinallyLabel = finallyLabel.ImmediateValue.ValueText;
     OldState = oldState;
     Part = EHPart.Try;
 }
示例#3
0
 void PushFinallyState(int nInstruction, FlatStatement tryInstruction)
 {
     if (tryInstruction.Operands.Count == 1)
     {
         CurrentState = new FinallyState(CurrentState, nInstruction, tryInstruction.Operands[0], tryInstruction.Comment);
     }
     else
         CurrentState = new FinallyState(CurrentState, nInstruction, tryInstruction.Operands[0], tryInstruction.Operands[1]);
 }