RFR: 8257231: assert(!is_mcall || (call_returns[block->_pre_order] <= (uint) current_offset))

Aleksey Shipilev shade at openjdk.java.net
Tue Dec 1 11:55:54 UTC 2020


On Tue, 1 Dec 2020 11:43:36 GMT, Patric Hedlin <phedlin at openjdk.org> wrote:

> The assert is executed directly after an emit-function that might have resulted in failure, and prior to the necessary error/failure detection. Moving the assert till after the failure exit solves the issue.

Right. Seems obvious in hindsight to me.

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

Marked as reviewed by shade (Reviewer).

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


More information about the hotspot-compiler-dev mailing list