Debian Codegraph @

js/src/jit-test/tests/profiler/native-trampoline-2.js

raw
1 let arr = [1, 2, 3, 4, 5, 6, 7, 8];
2 arr.sort((x, y) => {
3 enableGeckoProfilingWithSlowAssertions();
4 readGeckoProfilingStack();
5 return y - x;
6 });
7 assertEq(arr.toString(), "8,7,6,5,4,3,2,1");