move the if logic around (execute false first) and fix the parameters passing

This commit is contained in:
Torsten Ruger
2014-05-25 11:35:45 +03:00
parent 5a5b016a7e
commit 5afa6f4239
7 changed files with 21 additions and 19 deletions

View File

@ -16,6 +16,7 @@ module Ast
call.load_args into
call.do_call into
current_function.restore_locals(context , into) if current_function
puts "compile call #{function.return_type}"
function.return_type
end