blob: f0c477e5f5183ee5f4828480d75f025ca29ef16e [file] [log] [blame]
var A = class A { };
var B = class B extends A { };
var C = class C extends B { constructor() { super(); } };
noInline(C);
(function() {
var x;
for (var i = 0; i < 1e5; ++i)
x = new C(false);
})();
var D = class D extends A { constructor() {
super(...arguments);
return function () { return arguments; }
} };
var E = class E extends D { constructor() { super(); } };
noInline(E);
(function() {
var x;
for (var i = 0; i < 1e5; ++i)
x = new C(false);
})();