This commit is contained in:
Torsten Ruger
2014-06-12 21:27:47 +03:00
parent 6d6c7ddb68
commit dcd691fe00
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ module Ast
call.load_args into
call.do_call into
after = into.new_block("call#{@@counter+=1}")
after = into.new_block("#{name}#{@@counter+=1}")
into.insert_at after
into.pop([]) unless current_function.nil?
puts "compile call #{function.return_type}"