keep risc and cpu instructions separate in method

that overwriting was a bit of thorn
This commit is contained in:
Torsten Ruger
2018-03-25 19:33:50 +03:00
parent a50368c3aa
commit 3090ccffea
6 changed files with 29 additions and 15 deletions

View File

@ -26,7 +26,7 @@ module Elf
# for debug add labels for labels
Parfait.object_space.each_type do |type|
type.methods.each do |f|
f.instructions.each_label do |label|
f.risc_instructions.each_label do |label|
add_symbol "#{type.name}::#{f.name}:#{label.name}" , Positioned.position(label)
end
end