public FinallyState(FinallyState oldState, int instruction, FlatOperand catchesLabel, string ehendLabel) { NumInstruction = instruction; CatchesLabel = catchesLabel.ImmediateValue.ValueText; ehEndLabel = ehendLabel; OldState = oldState; Part = EHPart.Try; }
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; }
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]); }