changeset 50727:1a713146036a

ZGC: C2: Adjustments after review
author pliden
date Thu, 07 Jun 2018 09:47:52 +0200
parents c4f90bcc048f
children 0414ff8dc824
files src/hotspot/share/opto/classes.cpp src/hotspot/share/opto/compile.cpp src/hotspot/share/opto/opcodes.cpp
diffstat 3 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/opto/classes.cpp	Thu Jun 07 09:30:37 2018 +0200
+++ b/src/hotspot/share/opto/classes.cpp	Thu Jun 07 09:47:52 2018 +0200
@@ -60,3 +60,4 @@
 #define optionalmacro(x)
 #include "classes.hpp"
 #undef macro
+#undef optionalmacro
--- a/src/hotspot/share/opto/compile.cpp	Thu Jun 07 09:30:37 2018 +0200
+++ b/src/hotspot/share/opto/compile.cpp	Thu Jun 07 09:47:52 2018 +0200
@@ -2373,11 +2373,10 @@
   bs->verify_gc_barriers(false);
 #endif
 
-  print_method(PHASE_BEFORE_MACRO_EXPANSION, 2);
-
   {
     TracePhase tp("macroExpand", &timers[_t_macroExpand]);
     PhaseMacroExpand  mex(igvn);
+    print_method(PHASE_BEFORE_MACRO_EXPANSION, 2);
     if (mex.expand_macro_nodes()) {
       assert(failing(), "must bail out w/ explicit message");
       return;
--- a/src/hotspot/share/opto/opcodes.cpp	Thu Jun 07 09:30:37 2018 +0200
+++ b/src/hotspot/share/opto/opcodes.cpp	Thu Jun 07 09:47:52 2018 +0200
@@ -49,3 +49,4 @@
   "_last_class_name",
 };
 #undef macro
+#undef optionalmacro