felixangell / kpd

an old compiler for Krug written in D - a prototype version
MIT License
44 stars 1 forks source link

type inference for eval blocks #30

Open felixangell opened 6 years ago

felixangell commented 6 years ago
        Alloc a = new Alloc(get_int(32), bb.name() ~ "_" ~ gen_temp());
        curr_func.add_instr(a);

We just dump an s32 in there, this is obviously not how it works!