1.1 --- a/src/share/vm/c1/c1_LIRGenerator.hpp Thu Aug 01 03:44:03 2019 +0100 1.2 +++ b/src/share/vm/c1/c1_LIRGenerator.hpp Mon Aug 12 18:30:40 2019 +0300 1.3 @@ -28,6 +28,7 @@ 1.4 #include "c1/c1_Instruction.hpp" 1.5 #include "c1/c1_LIR.hpp" 1.6 #include "ci/ciMethodData.hpp" 1.7 +#include "jfr/support/jfrIntrinsics.hpp" 1.8 #include "utilities/sizes.hpp" 1.9 1.10 // The classes responsible for code emission and register allocation 1.11 @@ -436,9 +437,9 @@ 1.12 void do_SwitchRanges(SwitchRangeArray* x, LIR_Opr value, BlockBegin* default_sux); 1.13 1.14 void do_RuntimeCall(address routine, int expected_arguments, Intrinsic* x); 1.15 -#ifdef TRACE_HAVE_INTRINSICS 1.16 - void do_ThreadIDIntrinsic(Intrinsic* x); 1.17 +#ifdef JFR_HAVE_INTRINSICS 1.18 void do_ClassIDIntrinsic(Intrinsic* x); 1.19 + void do_getEventWriter(Intrinsic* x); 1.20 #endif 1.21 ciKlass* profile_type(ciMethodData* md, int md_first_offset, int md_offset, intptr_t profiled_k, 1.22 Value arg, LIR_Opr& mdp, bool not_null, ciKlass* signature_at_call_k,