remove Kernel class for clarification
since it was a class it was fake anyway moved methods to object
This commit is contained in:
@ -10,7 +10,7 @@ module Risc
|
||||
index = Parfait::Word.get_length_index
|
||||
reg = RiscValue.new(:r2 , :Integer)
|
||||
compiler.add_slot_to_reg( "putstring" , :new_message , index , reg )
|
||||
Kernel.emit_syscall( compiler , :putstring )
|
||||
Risc::Builtin::Object.emit_syscall( compiler , :putstring )
|
||||
compiler.add_mom( Mom::ReturnSequence.new)
|
||||
compiler.method
|
||||
end
|
||||
|
Reference in New Issue
Block a user