Move the Main instruction from register to virtual

also needs a branch in register.
This way the register level is self sufficient
(noticed while writing debugger)
This commit is contained in:
Torsten Ruger
2015-07-17 13:21:57 +03:00
parent 60d09ab057
commit 50da6a40f2
11 changed files with 55 additions and 24 deletions

View File

@ -23,7 +23,7 @@ module Elf
# for debug add labels to the block positions
@object_machine.space.classes.values.each do |clazz|
clazz.instance_methods.each do |f|
f.info.blocks.each do |b|
f.source.blocks.each do |b|
add_symbol "#{clazz.name}::#{f.name}:#{b.name}" , b.position
end
end