Skip to content

Commit 60c29ff

Browse files
Jan KratochvilVladimir Kozlov
authored andcommitted
8362524: Fix confusing but harmless typos in x86 CPU Features
Reviewed-by: kbarrett, kvn
1 parent 30d2003 commit 60c29ff

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/hotspot/cpu/x86/vm_version_x86.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ VM_Version::CpuidInfo VM_Version::_cpuid_info = { 0, };
4949

5050
#define DECLARE_CPU_FEATURE_NAME(id, name, bit) name,
5151
const char* VM_Version::_features_names[] = { CPU_FEATURE_FLAGS(DECLARE_CPU_FEATURE_NAME)};
52-
#undef DECLARE_CPU_FEATURE_FLAG
52+
#undef DECLARE_CPU_FEATURE_NAME
5353

5454
// Address of instruction which causes SEGV
5555
address VM_Version::_cpuinfo_segv_addr = nullptr;

src/hotspot/share/jvmci/vmStructs_jvmci.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,6 @@ VMLongConstantEntry JVMCIVMStructs::localHotSpotVMLongConstants[] = {
11521152
#endif
11531153
GENERATE_VM_LONG_CONSTANT_LAST_ENTRY()
11541154
};
1155-
#undef DECLARE_CPU_FEATURE_FLAG
11561155

11571156
VMAddressEntry JVMCIVMStructs::localHotSpotVMAddresses[] = {
11581157
VM_ADDRESSES(GENERATE_VM_ADDRESS_ENTRY,

0 commit comments

Comments
 (0)