use crystal calling convention, documented in readme

This commit is contained in:
Torsten Ruger
2014-05-25 10:57:56 +03:00
parent 5fb1d9825a
commit 5a5b016a7e
5 changed files with 45 additions and 16 deletions

View File

@@ -16,7 +16,7 @@ module Vm
if arg.is_a?(IntegerConstant) or arg.is_a?(StringConstant)
function.args[index].load into , arg
else
function.args[index].move( into, arg ) if arg.register != index
function.args[index].move( into, arg ) if arg.register != args[index].register
end
end
end