summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug817002.js
blob: e6839680bffd89439e51151318eb021074ceb9c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
gc()
evalcx("\
    if (!(\"gcslice\" in this))\
      gcslice = function() { };\
    array = new Uint8Array;\
    t0 = array.subarray();\
    gcslice(12); \
    array.subarray();\
    gc();\
    gc();\
    array.subarray().a = 1;\
    gc();",
newGlobal(''))