summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/typedarray/bug1858678.js
blob: df042d98befc035a714b30074a20551e0e4727dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function foo(glob, imp, b) {
    "use asm";
    var arr=new glob.Int8Array(b);
    return {};
  }
  a = new ArrayBuffer(64 * 1024);
  foo(this, null, a);
  function f(h, g) {
    ensureNonInline(g);
  }
f(Float64Array, a);