adds self to sends args

This commit is contained in:
Torsten Ruger
2014-07-15 18:34:03 +03:00
parent 4d725ea1ae
commit 3a152c1295
3 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,8 @@ module Virtual
method.get_var(name)
end
def compile_send method , name , with = []
def compile_send method , name , me , with = []
method.add Virtual::LoadSelf.new(me)
method.add FrameSend.new(name , with )
Return.new( method.return_type )
end