change args argument to create method to be hash

was array and didn’t carry types and names
This commit is contained in:
Torsten Ruger
2015-11-11 20:41:02 +02:00
parent 351a747bfd
commit 6137833140
7 changed files with 20 additions and 69 deletions

View File

@ -3,7 +3,7 @@ module Register
module Word
module ClassMethods
def putstring context
compiler = Soml::Compiler.new.create_method(:Word , :putstring , [] ).init_method
compiler = Soml::Compiler.new.create_method(:Word , :putstring ).init_method
compiler.add_code Register.get_slot( "putstring" , :message , :receiver , :new_message )
Kernel.emit_syscall( compiler , :putstring )
compiler.method