first interpreter tests
This commit is contained in:
@ -106,7 +106,7 @@ module Risc
|
||||
ins.register.set_compiler(self)
|
||||
add_code ins
|
||||
# todo for constants (not objects)
|
||||
add_constant( object) if object.is_a?(Parfait::Object)
|
||||
add_constant( object) if object.is_a?(Parfait::Object)
|
||||
# add_constant(right) if compiler
|
||||
ins.register
|
||||
end
|
||||
|
@ -17,7 +17,7 @@ module Risc
|
||||
# return the number of registers the platform supports
|
||||
def num_registers
|
||||
end
|
||||
|
||||
|
||||
# Factory method to create a Platform object according to the platform
|
||||
# string given.
|
||||
# Currently only "Arm" and "Interpreter"
|
||||
|
Reference in New Issue
Block a user