blob: 071b48c61cfeeef05588eabeed0bd25a36c0b260 [file] [log] [blame]
//@ runDefault("--useConcurrentJIT=false")
if (platformSupportsSamplingProfiler()) {
function foo() {
let obj = {};
for (let i = 0; i < 10; ++i)
obj[i + 'p'] = i;
}
noInline(foo);
function test() {
for (let i = 0; i < 1000; ++i) {
foo();
let stacktraces = samplingProfilerStackTraces();
for (let stackTrace of stacktraces) { }
}
}
startSamplingProfiler();
foo.displayName = '"';
test();
}