work to move large constants

This commit is contained in:
Torsten Ruger
2014-09-16 11:39:08 +03:00
parent c92b165a3f
commit 16b3cacc8d
3 changed files with 39 additions and 14 deletions

View File

@ -233,6 +233,10 @@ module Register
return assemble_String(sc)
end
def position_for object
s = get_slot(object)
s.position
end
private
def get_slot(object)
slot = @objects[object.object_id]