On Thu, 25 Jun 2026 08:03:05 GMT, Roland Westrelin <[email protected]> wrote:

> In mainline, a single value can be returned from a call. With
> valhalla, multiple values can be returned so the fix for 8375694 needs
> to be adjusted.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

src/hotspot/share/opto/callGenerator.cpp line 77:

> 75:     Node* oop = vt->get_oop();
> 76:     if (oop->is_Proj()) {
> 77:       assert(oop->in(0) == call, "projection was replaced by dominating 
> one");

I don't quite understand this part. Why do we check `ret` being a `Proj` of 
`call` in the previous case, but in this case, we assume if it is a `Proj`, it 
must be a `Proj` of call?

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2580#discussion_r3480628326

Reply via email to