(graph: Graph, inlining_context: &mut InliningContext)
| 323 | } |
| 324 | |
| 325 | fn unassign_nodes(graph: Graph, inlining_context: &mut InliningContext) -> Result<()> { |
| 326 | for node in graph.get_nodes() { |
| 327 | // The context mapping can be missing the node if it is not reachable |
| 328 | // from the output node. |
| 329 | if inlining_context |
| 330 | .ephemeral_context_mapping |
| 331 | .contains_node(node.clone()) |
| 332 | { |
| 333 | inlining_context.remove_ephemeral_node(node); |
| 334 | } |
| 335 | } |
| 336 | Ok(()) |
| 337 | } |
| 338 | |
| 339 | fn inline_call( |
| 340 | graph: Graph, |
no test coverage detected