838 } 839 output()->put(')'); 840 } 841 842 void InstructionPrinter::do_ProfileInvoke(ProfileInvoke* x) { 843 output()->print("profile_invoke "); 844 output()->print(" %s.%s", x->inlinee()->holder()->name()->as_utf8(), x->inlinee()->name()->as_utf8()); 845 output()->put(')'); 846 847 } 848 849 void InstructionPrinter::do_RuntimeCall(RuntimeCall* x) { 850 output()->print("call_rt %s(", x->entry_name()); 851 for (int i = 0; i < x->number_of_arguments(); i++) { 852 if (i > 0) output()->print(", "); 853 print_value(x->argument_at(i)); 854 } 855 output()->put(')'); 856 } 857 858 #endif // PRODUCT | 838 } 839 output()->put(')'); 840 } 841 842 void InstructionPrinter::do_ProfileInvoke(ProfileInvoke* x) { 843 output()->print("profile_invoke "); 844 output()->print(" %s.%s", x->inlinee()->holder()->name()->as_utf8(), x->inlinee()->name()->as_utf8()); 845 output()->put(')'); 846 847 } 848 849 void InstructionPrinter::do_RuntimeCall(RuntimeCall* x) { 850 output()->print("call_rt %s(", x->entry_name()); 851 for (int i = 0; i < x->number_of_arguments(); i++) { 852 if (i > 0) output()->print(", "); 853 print_value(x->argument_at(i)); 854 } 855 output()->put(')'); 856 } 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 874 #endif // PRODUCT |