adjust branch names
IsXXX with xxx as condition, same as after if_xxx AlwaysBranch is back to Branch
This commit is contained in:
@ -17,8 +17,8 @@ class Object
|
||||
end
|
||||
HERE
|
||||
@expect = [[SaveReturn,LoadConstant,LoadConstant,
|
||||
OperatorInstruction,IsZeroBranch] ,
|
||||
[LoadConstant,AlwaysBranch] ,[LoadConstant] ,[] ,
|
||||
OperatorInstruction,IsZero] ,
|
||||
[LoadConstant,Branch] ,[LoadConstant] ,[] ,
|
||||
[RegisterTransfer,GetSlot,FunctionReturn]]
|
||||
check
|
||||
end
|
||||
@ -35,8 +35,8 @@ class Object
|
||||
end
|
||||
HERE
|
||||
@expect = [[SaveReturn,LoadConstant,LoadConstant,
|
||||
OperatorInstruction,IsZeroBranch] ,
|
||||
[AlwaysBranch] ,[LoadConstant] ,[] ,
|
||||
OperatorInstruction,IsZero] ,
|
||||
[Branch] ,[LoadConstant] ,[] ,
|
||||
[RegisterTransfer,GetSlot,FunctionReturn]]
|
||||
check
|
||||
end
|
||||
|
Reference in New Issue
Block a user