implement one more depth for slot_load
soon time to make some loop fix offset with array / object layout difference
This commit is contained in:
@ -68,8 +68,8 @@ module Vool
|
||||
mom_receive = @receiver.slot_definition(in_method)
|
||||
arg_target = [:message , :next_message , :arguments]
|
||||
args = []
|
||||
@arguments.each_with_index do |arg , index|
|
||||
args << Mom::SlotLoad.new( arg_target + [index] , arg.slot_definition(in_method))
|
||||
@arguments.each_with_index do |arg , index| # +1 because of type
|
||||
args << Mom::SlotLoad.new( arg_target + [index+1] , arg.slot_definition(in_method))
|
||||
end
|
||||
setup << Mom::ArgumentTransfer.new( mom_receive , args )
|
||||
end
|
||||
|
Reference in New Issue
Block a user