renamed info to MethodSource

This commit is contained in:
Torsten Ruger
2015-07-03 20:13:03 +03:00
parent e959c5b0f5
commit b61c73acdd
24 changed files with 103 additions and 103 deletions

View File

@ -15,7 +15,7 @@ module Virtual
object.init_layout
end
if( object.is_a? Parfait::Method)
object.info.constants.each{|c| keep(c) }
object.source.constants.each{|c| keep(c) }
end
layout = object.get_layout
keep layout

View File

@ -24,7 +24,7 @@ module Virtual
end
#puts "stayer #{function.name}"
@gonners.delete function
function.info.blocks.each do |block|
function.source.blocks.each do |block|
block.codes.each do |code|
if code.is_a? Virtual::MessageSend
@gonners.each do |stay|