Source code

Revision control

Copy as Markdown

Other Tools

// |jit-test| --ion-eager
function ionCompiledEagerly() {
Math.random; // establish Math.random's identity for inlining
return function() {
return +Math.random(); // call will be inlined
};
}
var alreadyIonCompiled = ionCompiledEagerly();
assertEq(alreadyIonCompiled() < 1, true);