fix most mom and risc apart

apart from things involving builtn, which is not yet conceptually solved (as it codes risc, not mom)
This commit is contained in:
2019-08-10 21:30:00 +03:00
parent d5f89a4979
commit 213938075f
10 changed files with 43 additions and 21 deletions

View File

@ -18,7 +18,7 @@ module Vool
def to_mom( compiler )
ret = Mom::SlotLoad.new( self , [:message , :return_value] ,
@return_value.slot_definition(compiler) )
ret << Mom::ReturnJump.new(self)
ret << Mom::ReturnJump.new(self , compiler.return_label )
end
def to_s(depth = 0)