-
test262-automation authored
[javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha f2e2ad6325 on Fri Sep 28 2018 18:30:38 GMT+0000 (Coordinated Universal Time)
test262-automation authored[javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha f2e2ad6325 on Fri Sep 28 2018 18:30:38 GMT+0000 (Coordinated Universal Time)
regress-169445.js 894 B
//@ defaultNoNoLLIntRun if $architecture == "arm"
let args = new Array(0x10000);
args.fill();
args = args.map((_, i) => 'a' + i).join(', ');
let gun = eval(`(function () {
class A {
}
class B extends A {
constructor(${args}) {
() => {
${args};
super();
};
class C {
constructor() {
}
trigger() {
(() => {
super.x;
})();
}
triggerWithRestParameters(...args) {
(() => {
super.x;
})();
}
}
return new C();
}
}
return new B();
})()`);
for (let i = 0; i < 0x10000; i++) {
gun.trigger();
gun.triggerWithRestParameters(1, 2, 3);
}