[lworld] Integrated: 8378244: [lworld] Use guarantee instead of assert for Load/StoreNode construction

Tobias Hartmann thartmann at openjdk.org
Thu Feb 19 14:22:10 UTC 2026


On Thu, 19 Feb 2026 12:28:02 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> [JDK-8364191](https://bugs.openjdk.org/browse/JDK-8364191) replaced two `ShouldNotReachHere()` with asserts. Let's use a guarantee instead to make sure we also fail in release builds and keep our static analysis tools happy.
> 
> Thanks,
> Tobias

This pull request has now been integrated.

Changeset: bc0e2b8c
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/bc0e2b8c511d330d3ae22e5054cd23034b228c0e
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8378244: [lworld] Use guarantee instead of assert for Load/StoreNode construction

Reviewed-by: qamai

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

PR: https://git.openjdk.org/valhalla/pull/2136


More information about the valhalla-dev mailing list