src/hotspot/share/oops/method.hpp
changeset 47799 1772ebf07d1f
parent 47634 6a0c42c40cd1
child 48557 2e867226b914
--- a/src/hotspot/share/oops/method.hpp	Mon Nov 06 20:29:49 2017 -0800
+++ b/src/hotspot/share/oops/method.hpp	Mon Nov 06 21:28:03 2017 -0800
@@ -271,7 +271,7 @@
   int highest_osr_comp_level() const;
   void set_highest_osr_comp_level(int level);
 
-#if defined(COMPILER2) || INCLUDE_JVMCI
+#if COMPILER2_OR_JVMCI
   // Count of times method was exited via exception while interpreting
   void interpreter_throwout_increment(TRAPS) {
     MethodCounters* mcs = get_method_counters(CHECK);
@@ -426,7 +426,7 @@
       return (mcs == NULL) ? 0 : mcs->interpreter_invocation_count();
     }
   }
-#if defined(COMPILER2) || INCLUDE_JVMCI
+#if COMPILER2_OR_JVMCI
   int increment_interpreter_invocation_count(TRAPS) {
     if (TieredCompilation) ShouldNotReachHere();
     MethodCounters* mcs = get_method_counters(CHECK_0);