blob: 40d1c03afc838a40940859889373a65050d3f3f7 [file] [log] [blame]
// Test that inIon eventually becomes truthy.
// This code should never timeout.
function callInIon() {
return inIon();
};
function test() {
// Test with OSR.
while(!inIon());
// Test with inlining.
while(!callInIon());
// Test with zealous gc preventing compilation.
while(!inIon()) gc();
};
test();