1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/basic/testUndemoteLateGlobalSlots.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,11 @@ 1.4 +function testUndemoteLateGlobalSlots() { 1.5 + for each (aaa in ["", "", 0/0, ""]) { 1.6 + ++aaa; 1.7 + for each (bbb in [0, "", aaa, "", 0, "", 0/0]) { 1.8 + } 1.9 + } 1.10 + delete aaa; 1.11 + delete bbb; 1.12 + return "ok"; 1.13 +} 1.14 +assertEq(testUndemoteLateGlobalSlots(), "ok");