RFR: 8313672: C2: PhaseCCP does not correctly track analysis dependencies involving shift, convert, and mask [v8]

Daniel Lundén duke at openjdk.org
Fri Nov 3 12:25:16 UTC 2023


On Thu, 2 Nov 2023 16:27:07 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Daniel Lundén has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix typo in visit_uses comment
>
> src/hotspot/share/opto/node.hpp line 1733:
> 
>> 1731: // Definition must appear after complete type definition of Unique_Node_List
>> 1732: template <typename Callback, typename Bypass>
>> 1733: void Node::visit_uses(Callback callback, Bypass bypass) {
> 
> Move this to node.cpp, then you don't need to have the `class Unique_Node_List` you added at the top.

I can remove the forward declaration, but I can't move the definition to `node.cpp` as it is a function template? It doesn't compile on my system at least when I move it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16429#discussion_r1381593434


More information about the hotspot-compiler-dev mailing list