remove dead code
was only used by now removed set instruction
This commit is contained in:
parent
3a622efe9a
commit
64a92fb9f4
@ -44,26 +44,4 @@ module Register
|
|||||||
to = resolve_to_register to
|
to = resolve_to_register to
|
||||||
GetSlot.new( source , array , index , to)
|
GetSlot.new( source , array , index , to)
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.get_slot_to source , slot , to
|
|
||||||
array = nil
|
|
||||||
index = nil
|
|
||||||
case slot
|
|
||||||
when Virtual::Self
|
|
||||||
array = :message
|
|
||||||
index = :receiver
|
|
||||||
when Virtual::Return
|
|
||||||
array = :message
|
|
||||||
index = :return_value
|
|
||||||
when Virtual::FrameSlot
|
|
||||||
array = :frame
|
|
||||||
index = slot.index
|
|
||||||
when Virtual::ArgSlot
|
|
||||||
array = :message
|
|
||||||
index = slot.index
|
|
||||||
else
|
|
||||||
raise "not done #{slot}"
|
|
||||||
end
|
|
||||||
get_slot( source , array , index , to)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user