fix frame indexes

This commit is contained in:
Torsten Ruger
2015-06-28 10:50:47 +03:00
parent ef42abe611
commit a00a49ecdb
4 changed files with 16 additions and 5 deletions

View File

@ -136,7 +136,7 @@ module Virtual
end
def byte_length
@blocks.inject(0) { |c , block| c += block.byte_length } + 8
@blocks.inject(0) { |c , block| c += block.byte_length } + 4
end
# position of the function is the position of the entry block, is where we call