towards rubys true definition

This commit is contained in:
Torsten Ruger 2014-06-24 12:24:36 +03:00
parent bc89da0bc1
commit b8b1d98a7c

View File

@ -56,6 +56,11 @@ module Vm
self
end
def is_true? function
function.cmp( self , 0 )
Vm::BranchCondition.new :ne
end
def move block , right
block.mov( self , right )
self