fix slot constant access
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
module Register
|
||||
|
||||
# Defines the method call, ie
|
||||
# Defines the method call, ie
|
||||
# - move the new_message to message
|
||||
# - unroll self and
|
||||
# - register call
|
||||
@ -16,7 +16,7 @@ module Register
|
||||
# move the current new_message to message
|
||||
new_codes << RegisterTransfer.new( slot::NEW_MESSAGE_REGISTER , slot::MESSAGE_REGISTER )
|
||||
# "roll out" self into its register
|
||||
new_codes << GetSlot.new( slot::SELF_REGISTER ,slot::MESSAGE_REGISTER , slot::MESSAGE_SELF )
|
||||
new_codes << GetSlot.new( slot::SELF_REGISTER ,slot::MESSAGE_REGISTER , Virtual::MESSAGE_SELF )
|
||||
# do the register call
|
||||
new_codes << FunctionCall.new( code.method )
|
||||
block.replace(code , new_codes )
|
||||
|
Reference in New Issue
Block a user