Source code
Revision control
Copy as Markdown
Other Tools
load(libdir + 'bytecode-cache.js');
var test = (function () {
function f() {
var x = function inner() {
"use asm";
function g() {}
return g;
};
};
return f.toString();
})();
try {
evalWithCache(test, {});
} catch (x) {
assertEq(x.message.includes("Asm.js is not supported by XDR") ||
x.message.includes("Not collecting delazifications") ||
x.message.includes("XDR encoding failure"), true);
}