blob: 1024a4c68c4e560e9d710111545e50b40e975cf2 [file] [log] [blame] [edit]
function foo(array) {
return [array.pop(), array.pop(), array.pop(), array.pop()];
}
noInline(foo);
for (var i = 0; i < testLoopCount; ++i) {
var result = foo([1.5, 2.5, 3.5]);
if (result.toString() != "3.5,2.5,1.5,")
throw "Error: bad result: " + result;
}