Mercurial > hg > graal-compiler
diff src/cpu/sparc/vm/macroAssembler_sparc.cpp @ 7420:18d56ca3e901
8004548: remove unused AbstractAssembler::print(Label&)
Reviewed-by: kvn, twisti
Contributed-by: Bharadwaj Yadavalli <bharadwaj.yadavalli@oracle.com>
author | twisti |
---|---|
date | Mon, 17 Dec 2012 11:00:22 -0800 |
parents | f0c2369fda5a |
children | ffa87474d7a4 |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/macroAssembler_sparc.cpp Fri Dec 14 12:11:17 2012 -0800 +++ b/src/cpu/sparc/vm/macroAssembler_sparc.cpp Mon Dec 17 11:00:22 2012 -0800 @@ -100,34 +100,6 @@ bool AbstractAssembler::pd_check_instruction_mark() { return false; } #endif - -void MacroAssembler::print_instruction(int inst) { - const char* s; - switch (inv_op(inst)) { - default: s = "????"; break; - case call_op: s = "call"; break; - case branch_op: - switch (inv_op2(inst)) { - case fb_op2: s = "fb"; break; - case fbp_op2: s = "fbp"; break; - case br_op2: s = "br"; break; - case bp_op2: s = "bp"; break; - case cb_op2: s = "cb"; break; - case bpr_op2: { - if (is_cbcond(inst)) { - s = is_cxb(inst) ? "cxb" : "cwb"; - } else { - s = "bpr"; - } - break; - } - default: s = "????"; break; - } - } - ::tty->print("%s", s); -} - - // Patch instruction inst at offset inst_pos to refer to dest_pos // and return the resulting instruction. // We should have pcs, not offsets, but since all is relative, it will work out