rename allocator to standard_allocator

planning to have platform dish it out
This commit is contained in:
2020-03-18 13:10:09 +02:00
parent 2e109a16dc
commit 500df01425
7 changed files with 114 additions and 115 deletions

View File

@ -130,14 +130,6 @@ module Risc
symbol == other.symbol
end
#helper method to calculate with register symbols
def next_reg_use( type , extra = {} )
int = @symbol[1,3].to_i
raise "No more registers #{self}" if int > 11
sym = "r#{int + 1}".to_sym
RegisterValue.new( sym , type, extra)
end
def rxf_reference_name
@symbol
end