finishes local assignments to_mom

This commit is contained in:
Torsten Ruger
2017-04-12 14:45:02 +03:00
parent 9c499c7a19
commit 21e426be71
3 changed files with 63 additions and 3 deletions

View File

@ -14,10 +14,12 @@ module Vool
def add_local( array )
array << @name
end
def to_mom( method )
Mom::SlotLoad.new
Mom::SlotConstant.new([:message , :self , @name] , @value)
end
end
class InstanceAssignment < Assignment
# used to collect type information
def add_ivar( array )