summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/super-getelem-profiling.js
blob: 76aaf28707a2037282626342a4ea07535485cd74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
enableGeckoProfiling();

class base {}
class derived extends base {
    testElem() {
        super[ruin()];
    }
}
let instance = new derived();
try {
    instance.testElem();
} catch { /* don't crash */ }