MCPcopy Index your code
hub / github.com/nodejs/node / expandOptimizedFunctionList

Method expandOptimizedFunctionList

deps/v8/tools/profview/profview.js:1379–1395  ·  view source on GitHub ↗
(row, arrow, list, indent)

Source from the content-addressed store, hash-verified

1377 }
1378
1379 function expandOptimizedFunctionList(row, arrow, list, indent) {
1380 let index = row.rowIndex;
1381 for (let i = 0; i < list.length; i++) {
1382 let childRow = rows.insertRow(index + 1);
1383 childRow.id = row.id + i + "/";
1384
1385 let textCell = childRow.insertCell(-1);
1386 textCell.appendChild(
1387 createFunctionNode(list[i].f.name, list[i].f.codes[0]));
1388 textCell.style.textIndent = indent + "em";
1389
1390 let numberCell = childRow.insertCell(-1);
1391 numberCell.textContent = list[i].instances.length;
1392 numberCell.style.textIndent = indent + "em";
1393 }
1394 makeCollapsible(row, arrow);
1395 }
1396
1397 function addExpandableRow(text, list, indent, kind) {
1398 let row = rows.insertRow(-1);

Callers

nothing calls this directly

Calls 1

createFunctionNodeFunction · 0.85

Tested by

no test coverage detected