fix use of slot_constant vs slot_move

wip
This commit is contained in:
Torsten Ruger
2017-09-10 12:57:25 +03:00
parent a523af14f1
commit 66901eeb5b
14 changed files with 43 additions and 24 deletions

View File

@ -24,7 +24,7 @@ module Mom
assert_equal 9 , @stats.length
end
def test_array
check_array [SlotConstant,TruthCheck,Label,SimpleCall,SlotConstant,Label,SimpleCall,SlotConstant,Label] , @stats
check_array [SlotMove,TruthCheck,Label,SimpleCall,SlotMove,Label,SimpleCall,SlotMove,Label] , @stats
end
end
end

View File

@ -24,7 +24,7 @@ module Mom
assert_equal 4 , @stats.length
end
def test_array
check_array [Label,SlotConstant,TruthCheck,Label] , @stats
check_array [Label,SlotMove,TruthCheck,Label] , @stats
end
end
end