RFR: 8284584: Avoid duplicate node_idx_t definitions [v2]

Aleksey Shipilev shade at openjdk.java.net
Wed Apr 13 09:57:01 UTC 2022


On Fri, 8 Apr 2022 17:04:31 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> I am not sure we want to move C2's specific type to general code. `node.hpp` includes `compile.hpp` so may be leave definition there only.

`compile.hpp` looks like a dumping ground for everything global to C2, right? If so, it indeed makes sense to leave the only definition there. Please see new commit.

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

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


More information about the hotspot-dev mailing list