pass extra info into register init, not just value

extra info may be hash, maybe just type info
This commit is contained in:
Torsten Ruger
2018-07-16 11:23:09 +03:00
parent b410538d07
commit e3673e579c
5 changed files with 22 additions and 17 deletions

View File

@ -8,7 +8,7 @@ module Mom
return nil
end
def use_reg( type )
Risc.tmp_reg(type , nil)
Risc.tmp_reg(type )
end
def reset_regs