to_risc for NotSameCheck

which is only used in call cache checking
some fixing, needed to add a abel for the cache check jump
This commit is contained in:
Torsten Ruger
2018-03-21 12:38:28 +05:30
parent 12c71fa394
commit fa797f722d
5 changed files with 30 additions and 13 deletions

View File

@ -75,6 +75,14 @@ module Risc
end
end
# branch if two registers contain different values
class NotSame < Branch
attr_reader :left , :right
def initialize(source , left , right , label)
super(source , label)
end
end
class Unconditional < Branch
end