Move the space instance to the parfait module

A better fit, maybe even a pattern for singletons
This commit is contained in:
Torsten Ruger
2016-12-30 14:10:49 +02:00
parent a00f6be3ba
commit f0350601a7
43 changed files with 85 additions and 85 deletions

View File

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