ridiculously easy to implement the if now

This commit is contained in:
Torsten Ruger
2014-05-24 10:41:57 +03:00
parent 00d85156da
commit 61a60abd08
5 changed files with 39 additions and 2 deletions

View File

@ -14,6 +14,10 @@ module Arm
block << cmp( left , right )
Vm::BranchCondition.new :le
end
def integer_less_than block , left , right
block << cmp( left , right )
Vm::BranchCondition.new :lt
end
def integer_greater_than block , left , right
block << cmp( left , right )
Vm::BranchCondition.new :gt