8284584: Avoid duplicate node_idx_t definitions

Reviewed-by: kvn, redestad
This commit is contained in:
Aleksey Shipilev 2022-04-14 11:11:56 +00:00
parent f26403172f
commit 9a00b432ea
2 changed files with 5 additions and 6 deletions
src/hotspot/share/opto

@ -103,7 +103,12 @@ enum LoopOptsMode {
LoopOptsVerify
};
// The type of all node counts and indexes.
// It must hold at least 16 bits, but must also be fast to load and store.
// This type, if less than 32 bits, could limit the number of possible nodes.
// (To make this type platform-specific, move to globalDefinitions_xxx.hpp.)
typedef unsigned int node_idx_t;
class NodeCloneInfo {
private:
uint64_t _idx_clone_orig;

@ -177,12 +177,6 @@ class VectorSet;
class VectorReinterpretNode;
class ShiftVNode;
// The type of all node counts and indexes.
// It must hold at least 16 bits, but must also be fast to load and store.
// This type, if less than 32 bits, could limit the number of possible nodes.
// (To make this type platform-specific, move to globalDefinitions_xxx.hpp.)
typedef unsigned int node_idx_t;
#ifndef OPTO_DU_ITERATOR_ASSERT
#ifdef ASSERT