From 771eeb7a3d1f38371395ad5c8da69ce29331f152 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Thu, 11 Sep 2014 15:19:29 +0300 Subject: [PATCH] fix block positions for debug --- lib/virtual/compiled_method.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/virtual/compiled_method.rb b/lib/virtual/compiled_method.rb index 2c6fe9f6..d9207b87 100644 --- a/lib/virtual/compiled_method.rb +++ b/lib/virtual/compiled_method.rb @@ -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