work on function entry and exit. fix stack instructions
This commit is contained in:
@@ -28,10 +28,10 @@ module Vm
|
||||
@objects = []
|
||||
# global functions
|
||||
@functions = []
|
||||
@entry = Vm::Kernel::start
|
||||
@entry = Vm::Kernel::main_start
|
||||
#main gets executed between entry and exit
|
||||
@main = nil
|
||||
@exit = Vm::Kernel::exit
|
||||
@exit = Vm::Kernel::main_exit
|
||||
end
|
||||
attr_reader :context , :main , :functions
|
||||
|
||||
|
Reference in New Issue
Block a user