summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/bug-1247934.js
blob: 82746ac61a8e6adb389f91cb818e63f5e2441eba (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| --unboxed-arrays

let moduleRepo = {};
setModuleResolveHook(function(module, specifier) {
        return moduleRepo[specifier];
});
setJitCompilerOption("ion.warmup.trigger", 50);
s = "";
for (i = 0; i < 1024; i++) s += "export let e" + i + "\n";
moduleRepo['a'] = parseModule(s);
parseModule("import * as ns from 'a'").declarationInstantiation();