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