src/hotspot/share/opto/c2compiler.cpp
changeset 50113 caf115bb98ad
parent 47587 bf73ca31add9
child 50860 480a96a43b62
equal deleted inserted replaced
50112:7a2a740815b7 50113:caf115bb98ad
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
       
    26 #include "jfr/support/jfrIntrinsics.hpp"
    26 #include "opto/c2compiler.hpp"
    27 #include "opto/c2compiler.hpp"
    27 #include "opto/compile.hpp"
    28 #include "opto/compile.hpp"
    28 #include "opto/optoreg.hpp"
    29 #include "opto/optoreg.hpp"
    29 #include "opto/output.hpp"
    30 #include "opto/output.hpp"
    30 #include "opto/runtime.hpp"
    31 #include "opto/runtime.hpp"
       
    32 #include "utilities/macros.hpp"
       
    33 
    31 
    34 
    32 // register information defined by ADLC
    35 // register information defined by ADLC
    33 extern const char register_save_policy[];
    36 extern const char register_save_policy[];
    34 extern const int  register_save_type[];
    37 extern const int  register_save_type[];
    35 
    38 
   535   case vmIntrinsics::_loadFence:
   538   case vmIntrinsics::_loadFence:
   536   case vmIntrinsics::_storeFence:
   539   case vmIntrinsics::_storeFence:
   537   case vmIntrinsics::_fullFence:
   540   case vmIntrinsics::_fullFence:
   538   case vmIntrinsics::_currentThread:
   541   case vmIntrinsics::_currentThread:
   539   case vmIntrinsics::_isInterrupted:
   542   case vmIntrinsics::_isInterrupted:
   540 #ifdef TRACE_HAVE_INTRINSICS
   543 #ifdef JFR_HAVE_INTRINSICS
   541   case vmIntrinsics::_counterTime:
   544   case vmIntrinsics::_counterTime:
   542   case vmIntrinsics::_getClassId:
   545   case vmIntrinsics::_getClassId:
   543   case vmIntrinsics::_getBufferWriter:
   546   case vmIntrinsics::_getEventWriter:
   544 #endif
   547 #endif
   545   case vmIntrinsics::_currentTimeMillis:
   548   case vmIntrinsics::_currentTimeMillis:
   546   case vmIntrinsics::_nanoTime:
   549   case vmIntrinsics::_nanoTime:
   547   case vmIntrinsics::_allocateInstance:
   550   case vmIntrinsics::_allocateInstance:
   548   case vmIntrinsics::_allocateUninitializedArray:
   551   case vmIntrinsics::_allocateUninitializedArray: