diff --git a/lib/virtual/compiled_method_info.rb b/lib/virtual/compiled_method_info.rb index e331aa13..619dcdc7 100644 --- a/lib/virtual/compiled_method_info.rb +++ b/lib/virtual/compiled_method_info.rb @@ -136,7 +136,7 @@ module Virtual end def byte_length - @blocks.inject(0) { |c , block| c += block.byte_length } + @blocks.inject(0) { |c , block| c += block.byte_length } + 8 end # position of the function is the position of the entry block, is where we call