src/share/vm/c1/c1_LIR.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File c1-coops Sdiff src/share/vm/c1

src/share/vm/c1/c1_LIR.cpp

Print this page




1725   tmp1()->print(out);      out->print(" ");
1726   tmp2()->print(out);      out->print(" ");
1727 
1728 }
1729 
1730 // LIR_Op0
1731 void LIR_Op0::print_instr(outputStream* out) const {
1732   result_opr()->print(out);
1733 }
1734 
1735 // LIR_Op1
1736 const char * LIR_Op1::name() const {
1737   if (code() == lir_move) {
1738     switch (move_kind()) {
1739     case lir_move_normal:
1740       return "move";
1741     case lir_move_unaligned:
1742       return "unaligned move";
1743     case lir_move_volatile:
1744       return "volatile_move";


1745     default:
1746       ShouldNotReachHere();
1747     return "illegal_op";
1748     }
1749   } else {
1750     return LIR_Op::name();
1751   }
1752 }
1753 
1754 
1755 void LIR_Op1::print_instr(outputStream* out) const {
1756   _opr->print(out);         out->print(" ");
1757   result_opr()->print(out); out->print(" ");
1758   print_patch_code(out, patch_code());
1759 }
1760 
1761 
1762 // LIR_Op1
1763 void LIR_OpRTCall::print_instr(outputStream* out) const {
1764   intx a = (intx)addr();




1725   tmp1()->print(out);      out->print(" ");
1726   tmp2()->print(out);      out->print(" ");
1727 
1728 }
1729 
1730 // LIR_Op0
1731 void LIR_Op0::print_instr(outputStream* out) const {
1732   result_opr()->print(out);
1733 }
1734 
1735 // LIR_Op1
1736 const char * LIR_Op1::name() const {
1737   if (code() == lir_move) {
1738     switch (move_kind()) {
1739     case lir_move_normal:
1740       return "move";
1741     case lir_move_unaligned:
1742       return "unaligned move";
1743     case lir_move_volatile:
1744       return "volatile_move";
1745     case lir_move_wide:
1746       return "wide_move";
1747     default:
1748       ShouldNotReachHere();
1749     return "illegal_op";
1750     }
1751   } else {
1752     return LIR_Op::name();
1753   }
1754 }
1755 
1756 
1757 void LIR_Op1::print_instr(outputStream* out) const {
1758   _opr->print(out);         out->print(" ");
1759   result_opr()->print(out); out->print(" ");
1760   print_patch_code(out, patch_code());
1761 }
1762 
1763 
1764 // LIR_Op1
1765 void LIR_OpRTCall::print_instr(outputStream* out) const {
1766   intx a = (intx)addr();


src/share/vm/c1/c1_LIR.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File