remove legacy :int type

This commit is contained in:
Torsten Ruger
2016-12-28 18:25:14 +02:00
parent a3585870b9
commit 7d29a85187
2 changed files with 2 additions and 4 deletions

View File

@ -10,8 +10,6 @@ module Register
raise "wrong type for register init #{r}" unless r.is_a? Symbol
raise "double r #{r}" if r.to_s[0,1] == "rr"
raise "not reg #{r}" unless self.class.look_like_reg r
type = :Integer if type == :int
raise "Legacy type error, should be class name not ref" if (type == :ref)
@type = type
@symbol = r
@value = value