fixed that darn method address bug

This commit is contained in:
Torsten Ruger
2015-07-01 09:47:10 +03:00
parent 9541712af8
commit 047c77e186
5 changed files with 6 additions and 9 deletions

View File

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