Mercurial > hg > truffle
comparison src/cpu/sparc/vm/assembler_sparc.inline.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | fff777a71346 |
children | 2f644f85485d |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | |
25 #ifndef CPU_SPARC_VM_ASSEMBLER_SPARC_INLINE_HPP | |
26 #define CPU_SPARC_VM_ASSEMBLER_SPARC_INLINE_HPP | |
27 | |
28 #include "asm/assembler.inline.hpp" | |
29 #include "asm/codeBuffer.hpp" | |
30 #include "code/codeCache.hpp" | |
31 #include "runtime/handles.inline.hpp" | |
24 | 32 |
25 inline void MacroAssembler::pd_patch_instruction(address branch, address target) { | 33 inline void MacroAssembler::pd_patch_instruction(address branch, address target) { |
26 jint& stub_inst = *(jint*) branch; | 34 jint& stub_inst = *(jint*) branch; |
27 stub_inst = patched_branch(target - branch, stub_inst, 0); | 35 stub_inst = patched_branch(target - branch, stub_inst, 0); |
28 } | 36 } |
820 // Addendum. Dave says that ldstub guarantees a write buffer flush to coherent | 828 // Addendum. Dave says that ldstub guarantees a write buffer flush to coherent |
821 // space. Put one here to be on the safe side. | 829 // space. Put one here to be on the safe side. |
822 Assembler::ldstub(SP, 0, G0); | 830 Assembler::ldstub(SP, 0, G0); |
823 } | 831 } |
824 } | 832 } |
833 | |
834 #endif // CPU_SPARC_VM_ASSEMBLER_SPARC_INLINE_HPP |