remove Kernel class for clarification

since it was a class it was fake anyway
moved methods to object
This commit is contained in:
Torsten Ruger
2018-04-02 17:06:31 +03:00
parent 87eee0b66e
commit 9fafbe4e96
9 changed files with 80 additions and 94 deletions

View File

@ -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