remove set optimization

will become obsolete soon anyway
This commit is contained in:
Torsten Ruger
2015-10-10 11:52:54 +03:00
parent 8642207158
commit c3eb295f4e
3 changed files with 2 additions and 22 deletions

View File

@ -48,7 +48,7 @@ class AddTest < MiniTest::Test
assert @interpreter.link
end
def test_adding
done = ticks(23)
done = ticks(25)
assert_equal Register::OperatorInstruction , done.class
left = @interpreter.get_register(done.left)
rr = done.right
@ -67,7 +67,7 @@ class AddTest < MiniTest::Test
["Branch" , "LoadConstant" , "GetSlot" , "SetSlot" , "RegisterTransfer" ,
"GetSlot" , "FunctionCall" , "SaveReturn" , "LoadConstant" , "SetSlot" ,
"GetSlot" , "GetSlot" , "SetSlot" , "LoadConstant" , "SetSlot" ,
"LoadConstant" , "SetSlot" , "RegisterTransfer" , "GetSlot" , "FunctionCall" ,
"LoadConstant" , "SetSlot" , "GetSlot" , "SetSlot", "RegisterTransfer" , "GetSlot" , "FunctionCall" ,
"SaveReturn" , "GetSlot", "OperatorInstruction" , "RegisterTransfer" , "GetSlot" , "GetSlot" ,
"GetSlot" , "FunctionReturn" ,"RegisterTransfer" , "Syscall", "NilClass"].each_with_index do |name , index|
got = ticks(1)