code for method
This commit is contained in:
parent
38cb9f7d3c
commit
3e18694be7
@ -24,6 +24,7 @@ module Parfait
|
||||
raise "No class #{name}" unless clazz
|
||||
@for_class = clazz
|
||||
@name = name
|
||||
@code = Word.new_object 0
|
||||
@arg_names = arg_names
|
||||
@locals = []
|
||||
@tmps = []
|
||||
|
@ -31,7 +31,7 @@ module Virtual
|
||||
"Layout" => ["object_class"] ,
|
||||
"Class" => ["object_layout"],
|
||||
"Dictionary" => ["keys" , "values"] ,
|
||||
"Method" => ["name" , "arg_names" , "locals" , "tmps"] ,
|
||||
"Method" => ["name" , "code" ,"arg_names" , "locals" , "tmps"] ,
|
||||
"Module" => ["name" , "instance_methods", "super_class", "meta_class"]
|
||||
}
|
||||
layouts.each do |name , layout|
|
||||
|
Loading…
Reference in New Issue
Block a user