MCPcopy Create free account
hub / github.com/nodejs/node / f2

Function f2

deps/v8/test/mjsunit/baseline/flush-baseline-code.js:94–104  ·  view source on GitHub ↗
(should_recurse)

Source from the content-addressed store, hash-verified

92// Check baseline code and bytecode aren't flushed if baseline code is on
93// stack.
94function 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++) {

Callers 1

Calls 3

HasBaselineCodeFunction · 0.70
assertTrueFunction · 0.50
gcFunction · 0.50

Tested by

no test coverage detected