add method to risc function call
just so we still know at compile time
This commit is contained in:
@ -24,7 +24,7 @@ module Risc
|
||||
ret_tmp = compiler.use_reg(:Label)
|
||||
compiler.add_load_constant("__init__ load return", exit_label , ret_tmp)
|
||||
compiler.add_reg_to_slot("__init__ store return", ret_tmp , :message , :return_address)
|
||||
compiler.add_code Risc.function_call( "__init__ issue call" , Parfait.object_space.get_main )
|
||||
compiler.add_code Risc.function_call( "__init__ issue call" , Parfait.object_space.get_main , ret_tmp)
|
||||
compiler.add_code exit_label
|
||||
emit_syscall( compiler , :exit )
|
||||
return compiler.method
|
||||
|
Reference in New Issue
Block a user