Rename SlotDefinition to Slot
And the derived XXDefinitions to XXSlot Just to be more consistent And possibly free the Definition for the Language side
This commit is contained in:
@ -9,7 +9,7 @@ module Risc
|
||||
super(source)
|
||||
@register = register
|
||||
@constant = constant
|
||||
raise "Not Constant #{constant}" if constant.is_a?(SlotMachine::SlotDefinition)
|
||||
raise "Not Constant #{constant}" if constant.is_a?(SlotMachine::Slot)
|
||||
raise "Not register #{register}" unless RegisterValue.look_like_reg(register)
|
||||
end
|
||||
attr_accessor :register , :constant
|
||||
|
Reference in New Issue
Block a user