Esempio n. 1
0
 public libtysila.Assembler.TypeToCompile? GetNextJITType()
 {
     if (req_tis.Count > 0)
     {
         libtysila.Assembler.TypeToCompile ret = req_tis[0];
         req_tis.RemoveAt(0);
         compiled_objects.Add(ret.ToString());
         return(ret);
     }
     return(null);
 }
Esempio n. 2
0
        public override void RequestTypeInfo(libtysila.Assembler.TypeToCompile ttc)
        {
            string mangled_name = ttc.ToString();

            if (compiled_objects.Contains(mangled_name))
            {
                return;
            }
            if (Program.IsCompiled(mangled_name))
            {
                return;
            }
            if (req_tis.Contains(ttc))
            {
                return;
            }

            base.RequestTypeInfo(ttc);
            req_tis.Add(ttc);
        }