public void PushGlobalAddress(Symbol symbol) { MethodInstruction push = new MethodInstruction(MethodOpCode.PushGblA, symbol); if (push.Equals(LastInstruction())) { Dup(); } else { _deferredInstructions.Add(push); } }
public void PushLocalAddress(int i) { MethodInstruction push = new MethodInstruction(MethodOpCode.PushLocA, i); if (push.Equals(LastInstruction())) { Dup(); } else { _deferredInstructions.Add(push); } }
public void PushLocalAddress(int i) { MethodInstruction push = new MethodInstruction(MethodOpCode.PushLocA, i); if (push.Equals(LastInstruction())) Dup(); else _deferredInstructions.Add(push); }
public void PushGlobalAddress(Symbol symbol) { MethodInstruction push = new MethodInstruction(MethodOpCode.PushGblA, symbol); if (push.Equals(LastInstruction())) Dup(); else _deferredInstructions.Add(push); }
public void PushArgument(int i) { MethodInstruction push = new MethodInstruction(MethodOpCode.PushArg, i); if (push.Equals(LastInstruction())) Dup(); else _deferredInstructions.Add(push); }