fix block positions for debug

This commit is contained in:
Torsten Ruger 2014-09-11 15:19:29 +03:00
parent 98a88ec10e
commit 771eeb7a3d

View File

@ -165,6 +165,7 @@ module Virtual
# position of the function is the position of the entry block, is where we call
def set_position at
at += 8 #for the 2 header words
@blocks.each do |block|
block.set_position at
at = at + block.length