(node)
| 521 | // as that prefix means we may be constructing a dynamic dyncall name |
| 522 | // (dynCall and embind's requireFunction do this internally). |
| 523 | function isDynamicDynCall(node) { |
| 524 | return ( |
| 525 | (node.type === 'CallExpression' && |
| 526 | node.callee.type === 'Identifier' && |
| 527 | node.callee.name === 'dynCall' && |
| 528 | !isLiteralString(node.arguments[0])) || |
| 529 | (isLiteralString(node) && node.value === 'dynCall_') |
| 530 | ); |
| 531 | } |
| 532 | |
| 533 | // |
| 534 | // Emit the DCE graph, to help optimize the combined JS+wasm. |
no test coverage detected