allowing for relinking to add more instructions

This commit is contained in:
Torsten Ruger 2015-06-26 20:34:40 +03:00
parent 55b7ca83e1
commit e20fba61d9

View File

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