remove virtual main instruction

on a quest to remove all virtual instructions
This commit is contained in:
Torsten Ruger
2015-10-10 11:14:31 +03:00
parent 4b8a4d4ef5
commit 4334b68736
5 changed files with 2 additions and 49 deletions

View File

@ -119,15 +119,10 @@ module Virtual
end
def boot
# if @booted
# boot_functions!
# @init = Block.new("init", :__init__ )
# @init.add_code Virtual::VirtualMain.new( self.space.get_init )
# return self
# end
boot_parfait!
@init = Block.new("init", :__init__ )
@init.add_code Virtual::VirtualMain.new( self.space.get_init )
branch = Register::Branch.new( "__init__" , self.space.get_init.source.blocks.first )
@init.add_code branch
@booted = true
self
end