allowing for relinking to add more instructions
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user