private void JumpAndLink(Expression exp) { //we remember our current instructionpointer +1 JumpStack.Push(InstructionPointer); //we just do goto Goto(exp); }
private void PopJump(Expression exp) { if (JumpStack.Count > 0) { InstructionPointer = JumpStack.Pop(); } else { exitFlag = true; } }