more headway on the (new) frame implementation

This commit is contained in:
Torsten Ruger
2014-09-27 14:59:16 +03:00
parent 2ce17ed5ff
commit 5a17bf3396
5 changed files with 27 additions and 6 deletions

View File

@ -117,6 +117,13 @@ module Register
assemble_self( clazz , [clazz.name , clazz.super_class_name, clazz.instance_methods] )
end
def assemble_Message me
assemble_self(me , [])
end
def assemble_Frame me
assemble_self(me , [])
end
def assemble_CompiledMethod(method)
count = method.blocks.inject(0) { |c , block| c += block.mem_length }
word = (count+7) / 32 # all object are multiple of 8 words (7 for header)