--- old/src/share/vm/opto/type.hpp 2016-07-11 22:46:58.507335393 +0900 +++ new/src/share/vm/opto/type.hpp 2016-07-11 22:46:58.370335873 +0900 @@ -27,6 +27,7 @@ #include "opto/adlcVMDeps.hpp" #include "runtime/handles.hpp" +#include "opto/opcodes.hpp" // Portions of code courtesy of Clifford Click @@ -135,7 +136,7 @@ const BasicType basic_type; const char* msg; const bool isa_oop; - const int ideal_reg; + const Opcodes ideal_reg; const relocInfo::relocType reloc; } TypeInfo; @@ -408,7 +409,7 @@ // Mapping from compiler type to VM BasicType BasicType basic_type() const { return _type_info[_base].basic_type; } - int ideal_reg() const { return _type_info[_base].ideal_reg; } + Opcodes ideal_reg() const { return _type_info[_base].ideal_reg; } const char* msg() const { return _type_info[_base].msg; } bool isa_oop_ptr() const { return _type_info[_base].isa_oop; } relocInfo::relocType reloc() const { return _type_info[_base].reloc; }