summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-886560.js
blob: c506b05d0489e79ee6c2beb5de1ccd8c8ebfc6f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| error: x is not defined

// enableShellAllocationMetadataBuilder ignores its argument, because we don't
// permit metadata callbacks to run JS any more, so this test may be
// unnecessary. We'll preserve its structure just in case.
enableShellAllocationMetadataBuilder(function(obj) {
    var res = {};
    return res;
  });
gczeal(4);
x();