comparison src/cpu/sparc/vm/codeBuffer_sparc.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 3e8fbc61cee8
children cd3d6a6b95d9
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 CPU_SPARC_VM_CODEBUFFER_SPARC_HPP
26 #define CPU_SPARC_VM_CODEBUFFER_SPARC_HPP
27
25 private: 28 private:
26 void pd_initialize() {} 29 void pd_initialize() {}
27 30
28 public: 31 public:
29 void flush_bundle(bool start_new_bundle) {} 32 void flush_bundle(bool start_new_bundle) {}
30 33
31 // Heuristic for pre-packing the pt/pn bit of a predicted branch. 34 // Heuristic for pre-packing the pt/pn bit of a predicted branch.
32 bool is_backward_branch(Label& L) { 35 bool is_backward_branch(Label& L) {
33 return L.is_bound() && insts_end() <= locator_address(L.loc()); 36 return L.is_bound() && insts_end() <= locator_address(L.loc());
34 } 37 }
38
39 #endif // CPU_SPARC_VM_CODEBUFFER_SPARC_HPP