Mercurial > hg > truffle
comparison src/share/vm/asm/codeBuffer.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 | d55217dc206f |
children | b92c45f2bc75 |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
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 | 24 |
25 #ifndef SHARE_VM_ASM_CODEBUFFER_HPP | |
26 #define SHARE_VM_ASM_CODEBUFFER_HPP | |
27 | |
28 #include "asm/assembler.hpp" | |
29 #include "code/oopRecorder.hpp" | |
30 #include "code/relocInfo.hpp" | |
31 | |
25 class CodeComments; | 32 class CodeComments; |
26 class AbstractAssembler; | 33 class AbstractAssembler; |
27 class MacroAssembler; | 34 class MacroAssembler; |
28 class PhaseCFG; | 35 class PhaseCFG; |
29 class Compile; | 36 class Compile; |
548 void print(); | 555 void print(); |
549 #endif | 556 #endif |
550 | 557 |
551 | 558 |
552 // The following header contains architecture-specific implementations | 559 // The following header contains architecture-specific implementations |
553 #include "incls/_codeBuffer_pd.hpp.incl" | 560 #ifdef TARGET_ARCH_x86 |
561 # include "codeBuffer_x86.hpp" | |
562 #endif | |
563 #ifdef TARGET_ARCH_sparc | |
564 # include "codeBuffer_sparc.hpp" | |
565 #endif | |
566 #ifdef TARGET_ARCH_zero | |
567 # include "codeBuffer_zero.hpp" | |
568 #endif | |
569 | |
554 }; | 570 }; |
555 | 571 |
556 | 572 |
557 inline void CodeSection::freeze() { | 573 inline void CodeSection::freeze() { |
558 _outer->freeze_section(this); | 574 _outer->freeze_section(this); |
560 | 576 |
561 inline bool CodeSection::maybe_expand_to_ensure_remaining(csize_t amount) { | 577 inline bool CodeSection::maybe_expand_to_ensure_remaining(csize_t amount) { |
562 if (remaining() < amount) { _outer->expand(this, amount); return true; } | 578 if (remaining() < amount) { _outer->expand(this, amount); return true; } |
563 return false; | 579 return false; |
564 } | 580 } |
581 | |
582 #endif // SHARE_VM_ASM_CODEBUFFER_HPP |