better names for index constants

This commit is contained in:
Torsten Ruger
2015-06-21 21:09:15 +03:00
parent 836089a249
commit 9c21f4274d
5 changed files with 28 additions and 24 deletions

View File

@ -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 , Virtual::MESSAGE_SELF )
new_codes << GetSlot.new( slot::SELF_REGISTER ,slot::MESSAGE_REGISTER , Virtual::SELF_INDEX )
# do the register call
new_codes << FunctionCall.new( code.method )
block.replace(code , new_codes )