src/share/vm/asm/codeBuffer.hpp
Print this page
*** 20,29 ****
--- 20,36 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_ASM_CODEBUFFER_HPP
+ #define SHARE_VM_ASM_CODEBUFFER_HPP
+
+ #include "asm/assembler.hpp"
+ #include "code/oopRecorder.hpp"
+ #include "code/relocInfo.hpp"
+
class CodeComments;
class AbstractAssembler;
class MacroAssembler;
class PhaseCFG;
class Compile;
*** 548,558 ****
void print();
#endif
// The following header contains architecture-specific implementations
! #include "incls/_codeBuffer_pd.hpp.incl"
};
inline void CodeSection::freeze() {
_outer->freeze_section(this);
--- 555,574 ----
void print();
#endif
// The following header contains architecture-specific implementations
! #ifdef TARGET_ARCH_x86
! # include "codeBuffer_x86.hpp"
! #endif
! #ifdef TARGET_ARCH_sparc
! # include "codeBuffer_sparc.hpp"
! #endif
! #ifdef TARGET_ARCH_zero
! # include "codeBuffer_zero.hpp"
! #endif
!
};
inline void CodeSection::freeze() {
_outer->freeze_section(this);
*** 560,564 ****
--- 576,582 ----
inline bool CodeSection::maybe_expand_to_ensure_remaining(csize_t amount) {
if (remaining() < amount) { _outer->expand(this, amount); return true; }
return false;
}
+
+ #endif // SHARE_VM_ASM_CODEBUFFER_HPP