RFR: 8272377: assert preconditions that are ensured when created in add_final_edges [v2]

Tobias Hartmann thartmann at openjdk.java.net
Thu Aug 19 07:12:26 UTC 2021


On Thu, 19 Aug 2021 07:03:50 GMT, Yi Yang <yyang at openjdk.org> wrote:

>> I think we can assert preconditions, which are ensured by add_node_to_connection_graph when they were first added to CG, in add_final_edges when they are delay handled, then we can skip checking these preconditions in runtime(assertions instead). This PR also does some code refactor.
>
> Yi Yang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   use Unexpected node type message

Looks good. You need a second review.

-------------

Marked as reviewed by thartmann (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5101


More information about the hotspot-compiler-dev mailing list