remove all that label stuff

left over after rewrite from blocks to linked list
This commit is contained in:
Torsten Ruger
2018-03-26 14:54:41 +03:00
parent 1e21177b35
commit b24b65520d
6 changed files with 22 additions and 109 deletions

View File

@ -14,7 +14,7 @@ module Risc
return unless add_object( object , depth )
# probably should make labels or even instructions derive from Parfait::Object, but . .
if object.is_a? Risc::Label
object.each_label { |l| self.add_object(l ,depth)}
object.each { |l| self.add_object(l ,depth) if l.is_a? Risc::Label}
end
return unless object.respond_to? :has_type?
type = object.get_type