a little more minimal elf tests

This commit is contained in:
Torsten Ruger
2016-12-31 15:08:32 +02:00
parent fb414cecd6
commit a2ece04b6d
5 changed files with 31 additions and 17 deletions

View File

@ -21,10 +21,10 @@ module Elf
set_text assembler.write_as_string
# for debug add labels for labels
Parfait.object_space.types.values.each do |type|
Parfait.object_space.each_type do |type|
type.methods.each do |f|
f.instructions.each_label do |label|
add_symbol "#{clazz.name}::#{f.name}:#{label.name}" , label.position
add_symbol "#{type.name}::#{f.name}:#{label.name}" , label.position
end
end
end