a lot of work to get one more test to pass
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
module Crystal
|
||||
module Kernel
|
||||
def self.exit context
|
||||
function = Virtual::Function.new(:exit , Virtual::Integer , [] )
|
||||
function = Virtual::Method.new(:exit , [] , Virtual::Integer)
|
||||
return function
|
||||
ret = Virtual::RegisterMachine.instance.exit(function)
|
||||
function.set_return ret
|
||||
function
|
||||
|
Reference in New Issue
Block a user