Exemplo n.º 1
0
        public override bool isUpvalueOf(int register)
        {
//
//    if(function.header.version == 0x51) {
//      return false; //TODO:
//    }
//
            for (int i = 0; i < function.upvalues.Length; i++)
            {
                LUpvalue upvalue = function.upvalues[i];
                if (upvalue.instack && upvalue.idx == register)
                {
                    return(true);
                }
            }
            return(false);
        }
Exemplo n.º 2
0
	  public Upvalues(LUpvalue[] upvalues)
	  {
		this.upvalues = upvalues;
	  }