(should_recurse)
| 92 | // Check baseline code and bytecode aren't flushed if baseline code is on |
| 93 | // stack. |
| 94 | function f2(should_recurse) { |
| 95 | if (should_recurse) { |
| 96 | assertTrue(HasBaselineCode(f2)); |
| 97 | f2(false); |
| 98 | // Here we are not checking whether some object was indeed reclaimed, |
| 99 | // so should not worry if conservative stack scanning is performed. |
| 100 | gc(); |
| 101 | assertTrue(HasBaselineCode(f2)); |
| 102 | } |
| 103 | return x.b + 10; |
| 104 | } |
| 105 | |
| 106 | (async function () { |
| 107 | for (i = 1; i < 50; i++) { |
no test coverage detected