getting to where where the puts should be, but it aint there
This commit is contained in:
@ -15,6 +15,9 @@ module Virtual
|
||||
def type
|
||||
Virtual::Reference
|
||||
end
|
||||
def claszz
|
||||
raise "abstract #{self}"
|
||||
end
|
||||
end
|
||||
|
||||
class IntegerConstant < Constant
|
||||
@ -40,6 +43,9 @@ module Virtual
|
||||
def result= value
|
||||
class_for(MoveInstruction).new(value , self , :opcode => :mov)
|
||||
end
|
||||
def clazz
|
||||
Object.space.get_or_create_class(:String)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
@ -25,7 +25,7 @@ module Virtual
|
||||
end
|
||||
|
||||
def inspect
|
||||
to_yaml
|
||||
Sof::Writer.write(self)
|
||||
end
|
||||
|
||||
def self.space
|
||||
|
Reference in New Issue
Block a user