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