get block resolution to use the extra
block_compiler puts in the extra, that we get out when resolving the type Thus block args work, though only by assuming direct call
This commit is contained in:
@ -6,7 +6,7 @@ module Risc
|
||||
def resolve_type(name)
|
||||
Parfait.object_space.types.values.first
|
||||
end
|
||||
def use_reg(type)
|
||||
def use_reg(type , extra = {})
|
||||
RegisterValue.new(:r1 , type)
|
||||
end
|
||||
def reset_regs
|
||||
|
Reference in New Issue
Block a user