Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If an if statement has no true or false sub-statements, there is no point including the if statement in the LIR graph. So instead of constructing a sub-graph for the if statement — which would include an empty if vertex and nothing else — and returning it, we return an empty graph object. Fixes elastic#9314
- Loading branch information