hotspot/src/share/vm/c1/c1_InstructionPrinter.cpp
changeset 11886 feebf5c9f40c
parent 9629 1f4dc6af5ad8
child 13391 30245956af37
equal deleted inserted replaced
11885:b81164faebae 11886:feebf5c9f40c
   853     print_value(x->argument_at(i));
   853     print_value(x->argument_at(i));
   854   }
   854   }
   855   output()->put(')');
   855   output()->put(')');
   856 }
   856 }
   857 
   857 
       
   858 void InstructionPrinter::do_MemBar(MemBar* x) {
       
   859   if (os::is_MP()) {
       
   860     LIR_Code code = x->code();
       
   861     switch (code) {
       
   862       case lir_membar_acquire   : output()->print("membar_acquire"); break;
       
   863       case lir_membar_release   : output()->print("membar_release"); break;
       
   864       case lir_membar           : output()->print("membar"); break;
       
   865       case lir_membar_loadload  : output()->print("membar_loadload"); break;
       
   866       case lir_membar_storestore: output()->print("membar_storestore"); break;
       
   867       case lir_membar_loadstore : output()->print("membar_loadstore"); break;
       
   868       case lir_membar_storeload : output()->print("membar_storeload"); break;
       
   869       default                   : ShouldNotReachHere(); break;
       
   870     }
       
   871   }
       
   872 }
       
   873 
   858 #endif // PRODUCT
   874 #endif // PRODUCT