fix the putstring sys call indexing

index 0 is the marker word , so like in some, all indexes 1 based
works :-)
This commit is contained in:
Torsten Ruger
2015-11-15 22:03:06 +02:00
parent 8e82da0b61
commit f50d7b57a4
4 changed files with 4 additions and 6 deletions

View File

@ -66,7 +66,6 @@ module Register
compiler.add_code RegisterTransfer.new(source, r8 , Register.message_reg )
# save the return value into the message
compiler.add_code Register.set_slot( source , return_tmp , :message , :return_value )
# and "unroll" self and frame
end
end
extend ClassMethods