blob: 2c0ad68a2c3433c4cc6f9080bc45d6db7377dfb7 [file] [log] [blame]
var i,c=0;
function foo()
{
var a=1,b;for(i=0;i<2;++i){[a,b]=[b,a];c++}if(!a^b)throw c
}
noInline(foo);
for(var k = 0; k < 10000; ++k)
foo()