Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/macroAssembler_sparc.inline.hpp @ 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 | 46c544b8fbfc |
comparison
equal
deleted
inserted
replaced
7419:3c433d080bae | 7420:18d56ca3e901 |
---|---|
40 | 40 |
41 inline void MacroAssembler::pd_patch_instruction(address branch, address target) { | 41 inline void MacroAssembler::pd_patch_instruction(address branch, address target) { |
42 jint& stub_inst = *(jint*) branch; | 42 jint& stub_inst = *(jint*) branch; |
43 stub_inst = patched_branch(target - branch, stub_inst, 0); | 43 stub_inst = patched_branch(target - branch, stub_inst, 0); |
44 } | 44 } |
45 | |
46 #ifndef PRODUCT | |
47 inline void MacroAssembler::pd_print_patched_instruction(address branch) { | |
48 jint stub_inst = *(jint*) branch; | |
49 print_instruction(stub_inst); | |
50 ::tty->print("%s", " (unresolved)"); | |
51 } | |
52 #endif // PRODUCT | |
53 | 45 |
54 // Use the right loads/stores for the platform | 46 // Use the right loads/stores for the platform |
55 inline void MacroAssembler::ld_ptr( Register s1, Register s2, Register d ) { | 47 inline void MacroAssembler::ld_ptr( Register s1, Register s2, Register d ) { |
56 #ifdef _LP64 | 48 #ifdef _LP64 |
57 Assembler::ldx(s1, s2, d); | 49 Assembler::ldx(s1, s2, d); |