passing frame (locals) into method creation

so typed_method have correct frame information and
can resolve slots correctly (next step)
This commit is contained in:
Torsten Ruger
2018-03-18 22:09:27 +05:30
parent 0813312ddc
commit af94d40cab
4 changed files with 30 additions and 13 deletions

View File

@ -28,7 +28,7 @@ module Parfait
def create_parfait_method( type )
raise "create_method #{type.inspect} is not a Type" unless type.is_a? Parfait::Type
type.create_method( @name , @args_type )#FIXME, @frame_type)
type.create_method( @name , @args_type , @frame_type)
end
def create_tmp