blob: ddd829344cb4c57731b9d612fe9a8215652ed950 [file] [log] [blame] [raw]
function square(a) {
let result = a * a;
return result;
}
// Call function once to fill type information
square(23);
// Call function again to go from uninitialized -> pre-monomorphic -> monomorphic
square(13);
%OptimizeFunctionOnNextCall(square);
square(71);