Ejemplo n.º 1
0
 public IfThenEndBlock(LFunction function, Branch branch, unluac.util.Stack <Branch> stack, Registers r) : base(function, branch.begin == branch.end ? branch.begin - 1 : branch.begin, branch.begin == branch.end ? branch.begin - 1 : branch.end)
 {
     this.branch = branch;
     this.stack  = stack;
     this.r      = r;
     statements  = new List <Statement>(branch.end - branch.begin + 1);
 }
Ejemplo n.º 2
0
 public IfThenEndBlock(LFunction function, Branch branch, unluac.util.Stack<Branch> stack, Registers r)
     : base(function, branch.begin == branch.end ? branch.begin - 1 : branch.begin, branch.begin == branch.end ? branch.begin - 1 : branch.end)
 {
     this.branch = branch;
     this.stack = stack;
     this.r = r;
     statements = new List<Statement>(branch.end - branch.begin + 1);
 }