adjust branch names

IsXXX  with xxx as condition, same as after if_xxx
AlwaysBranch is back to Branch
This commit is contained in:
Torsten Ruger
2015-10-19 16:08:00 +03:00
parent 50379a1fea
commit 1fd937927c
10 changed files with 28 additions and 28 deletions

View File

@ -96,13 +96,13 @@ module Interpreter
end
# Instruction interpretation starts here
def execute_AlwaysBranch
def execute_Branch
target = @instruction.block
set_block target
false
end
def execute_IsZeroBranch
def execute_IsZero
#puts @instruction.inspect
if( @flags[:zero] )
target = @instruction.block