using sof is_value
This commit is contained in:
parent
097f607bd3
commit
f691ba1b20
@ -68,6 +68,12 @@ module Parfait
|
|||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def is_value?
|
||||||
|
true
|
||||||
|
end
|
||||||
|
def to_sof
|
||||||
|
"Parfait::Word('#{to_s}')"
|
||||||
|
end
|
||||||
def result= value
|
def result= value
|
||||||
raise "called"
|
raise "called"
|
||||||
class_for(MoveInstruction).new(value , self , :opcode => :mov)
|
class_for(MoveInstruction).new(value , self , :opcode => :mov)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user