--- a/hotspot/src/cpu/sparc/vm/assembler_sparc.inline.hpp Tue Nov 23 15:01:43 2010 -0500
+++ b/hotspot/src/cpu/sparc/vm/assembler_sparc.inline.hpp Tue Nov 23 13:22:55 2010 -0800
@@ -22,6 +22,14 @@
*
*/
+#ifndef CPU_SPARC_VM_ASSEMBLER_SPARC_INLINE_HPP
+#define CPU_SPARC_VM_ASSEMBLER_SPARC_INLINE_HPP
+
+#include "asm/assembler.inline.hpp"
+#include "asm/codeBuffer.hpp"
+#include "code/codeCache.hpp"
+#include "runtime/handles.inline.hpp"
+
inline void MacroAssembler::pd_patch_instruction(address branch, address target) {
jint& stub_inst = *(jint*) branch;
stub_inst = patched_branch(target - branch, stub_inst, 0);
@@ -822,3 +830,5 @@
Assembler::ldstub(SP, 0, G0);
}
}
+
+#endif // CPU_SPARC_VM_ASSEMBLER_SPARC_INLINE_HPP