blob: 0dc18276cf803cbd10487350d3a4c9568dd03267 [file] [log] [blame]
//@ skip if $architecture == "x86"
function test1() {
var o1;
for (let i = 0; i < 1000000; ++i) {
var o2 = { f: { f: { f: { f: { f: { f: { f: { f: { f: { f: { f: { f: { } } } } } } } } } } } } };
}
return -o2;
}
test1();
function test2() {
var o1;
for (let i = 0; i < 1000000; ++i) {
var o2 = { f: { f: { f: { f: { f: { f: { f: { f: { f: { f: { f: { f: { } } } } } } } } } } } } };
}
return o1 - o2;
}
test2();
function test3() {
var o1;
for (let i = 0; i < 1000000; ++i) {
var o2 = { f: { f: { f: { f: { f: { f: { f: { f: { f: { f: { f: { f: { } } } } } } } } } } } } };
}
return o1 + o2;
}
test3();
function test4() {
var o1;
for (let i = 0; i < 1000000; ++i) {
var o2 = { f: { f: { f: { f: { f: { f: { f: { f: { f: { f: { f: { f: { } } } } } } } } } } } } };
}
return o1 * o2;
}
test4();