fixing tests

because interpreter was fixed
This commit is contained in:
Torsten Ruger 2015-10-22 14:51:20 +03:00
parent 83670079c3
commit b932f67da0
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ HERE
class Object
int main()
int n = 10
if_zero(8 - n )
if_zero(n - 10 )
"10".putstring()
end
end

View File

@ -70,7 +70,7 @@ HERE
"GetSlot","GetSlot","IsNotzero","GetSlot","GetSlot",
"SetSlot","LoadConstant","SetSlot","GetSlot","GetSlot",
"SetSlot","RegisterTransfer","FunctionCall","SaveReturn","GetSlot",
"LoadConstant","OperatorInstruction","IsZero","LoadConstant","GetSlot",
"LoadConstant","OperatorInstruction","IsZero","Branch","GetSlot",
"LoadConstant","OperatorInstruction","IsZero","LoadConstant","GetSlot",
"LoadConstant","OperatorInstruction","IsZero","LoadConstant","GetSlot",
"LoadConstant","OperatorInstruction","IsZero","LoadConstant","GetSlot",