fixes the tests after fixing hierarchy

This commit is contained in:
Torsten Ruger
2014-07-15 10:35:29 +03:00
parent 49f73c090d
commit 930740e1db
11 changed files with 79 additions and 25 deletions

View File

@@ -30,14 +30,17 @@ module Virtual
#
def compile_get method , name
method.add FrameGet.new(name)
method.get_var(name)
end
def compile_send method , name , with = []
method.add FrameSend.new(name , with )
Return.new( method.return_type )
end
def compile_set method , name , val
method.add FrameSet.new(name , val )
method.get_var(name)
end
end
end