Example #1
0
 private void EmitLink(LinkRef lref)
 {
     PatternCompiler.PatternLinkStack patternLinkStack = (PatternCompiler.PatternLinkStack)lref;
     patternLinkStack.OffsetAddress = this.CurrentAddress;
     this.Emit(0);
     patternLinkStack.Push();
 }
Example #2
0
 public void ResolveLink(LinkRef lref)
 {
     PatternCompiler.PatternLinkStack patternLinkStack = (PatternCompiler.PatternLinkStack)lref;
     while (patternLinkStack.Pop())
     {
         this.pgm[patternLinkStack.OffsetAddress] = (ushort)patternLinkStack.GetOffset(this.CurrentAddress);
     }
 }
Example #3
0
 private void BeginLink(LinkRef lref)
 {
     PatternCompiler.PatternLinkStack patternLinkStack = (PatternCompiler.PatternLinkStack)lref;
     patternLinkStack.BaseAddress = this.CurrentAddress;
 }