use transfer factory

This commit is contained in:
Torsten Ruger
2016-12-28 18:37:15 +02:00
parent 57c038f13b
commit 4cf732d395
4 changed files with 8 additions and 8 deletions

View File

@ -51,7 +51,7 @@ module Typed
def handle_special_message(statement)
reg = use_reg :Message
add_code Register::RegisterTransfer.new( "#{statement} load message", Register.message_reg , reg )
add_code Register.transfer( "#{statement} load message", Register.message_reg , reg )
return reg
end
end #module