This commit is contained in:
Torsten Ruger
2014-06-26 17:52:15 +03:00
parent 33c62a7db1
commit 525f9d45c5
16 changed files with 134 additions and 54 deletions

View File

@@ -1,8 +1,8 @@
module Crystal
module Kernel
def self.exit context
function = Vm::Function.new(:exit , Vm::Integer , [] )
ret = Vm::RegisterMachine.instance.exit(function)
function = Virtual::Function.new(:exit , Virtual::Integer , [] )
ret = Virtual::RegisterMachine.instance.exit(function)
function.set_return ret
function
end