fix block positions for debug
This commit is contained in:
parent
98a88ec10e
commit
771eeb7a3d
@ -165,6 +165,7 @@ module Virtual
|
|||||||
|
|
||||||
# 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
|
||||||
def set_position at
|
def set_position at
|
||||||
|
at += 8 #for the 2 header words
|
||||||
@blocks.each do |block|
|
@blocks.each do |block|
|
||||||
block.set_position at
|
block.set_position at
|
||||||
at = at + block.length
|
at = at + block.length
|
||||||
|
Loading…
Reference in New Issue
Block a user