remove MethodCall and thus all virtual instructions

This commit is contained in:
Torsten Ruger
2015-10-18 19:27:46 +03:00
parent 15b570f5cf
commit d767caf479
20 changed files with 24 additions and 72 deletions

View File

@ -21,7 +21,7 @@ module Register
# And store the space as the new self (so the call can move it back as self)
function.source.add_code Register.set_slot( function, space_reg , :new_message , :receiver)
# now we are set up to issue a call to the main
function.source.add_code Virtual::MethodCall.new(Virtual.machine.space.get_main)
Register.issue_call( function , Virtual.machine.space.get_main)
emit_syscall( function , :exit )
return function
end