Upload Kmake

This commit is contained in:
Gorochu
2026-05-26 23:36:42 -07:00
parent ba051b2f74
commit 555ec72358
41615 changed files with 13344630 additions and 1 deletions

View File

@ -0,0 +1,86 @@
// Copyright 2024 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --expose-gc
let arrow_function;
let value_inside_class;
class C {
get x() {
return 900;
}
};
class D {
get x() {
return 800;
}
};
for (let j = 0; j < 10; j++) {
new class A extends D {
constructor() {
super();
try {
new class B extends C {
[new class extends(() => {
value_inside_class = super.x;
arrow_function = (() => {
return super.x;
});
return Array;
})() {}()] = eval();
}
();
} catch (e) {
}
}
}
();
if (j == 8) {
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
gc();
}
}
assertSame(value_inside_class, arrow_function());