use crystal calling convention, documented in readme
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user