add constants automatically
This commit is contained in:
@ -106,6 +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(right) if compiler
|
||||
ins.register
|
||||
end
|
||||
|
Reference in New Issue
Block a user