fix indexing when accessing locals or args

Was missing the offset of object variables
This commit is contained in:
Torsten Ruger
2015-10-22 11:02:46 +03:00
parent a44b88f570
commit ede0fe5f16
6 changed files with 16 additions and 35 deletions

View File

@@ -28,5 +28,9 @@ module Parfait
class Frame < Object
attribute :next_frame
def self.offset
Space.object_space.get_class_by_name(:Frame).object_layout.object_instance_length
end
end
end