Debian Codegraph @

js/src/jit-test/tests/cacheir/bug1685925-2.js

raw
1 // |jit-test| error: TypeError: get length method
2 setJitCompilerOption("ic.force-megamorphic", 1);
3 function f(o) {
4 return o.length;
5 }
6 f(new Int8Array(4));
7 f(Object.create(new Uint8Array()));