Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/codeBuffer_sparc.hpp @ 7232:310a68c63b69
Merge.
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Fri, 14 Dec 2012 15:19:38 +0100 |
parents | cd3d6a6b95d9 |
children |
comparison
equal
deleted
inserted
replaced
7231:c0806f4ff3ea | 7232:310a68c63b69 |
---|---|
29 void pd_initialize() {} | 29 void pd_initialize() {} |
30 | 30 |
31 public: | 31 public: |
32 void flush_bundle(bool start_new_bundle) {} | 32 void flush_bundle(bool start_new_bundle) {} |
33 | 33 |
34 // Heuristic for pre-packing the pt/pn bit of a predicted branch. | |
35 bool is_backward_branch(Label& L) { | |
36 return L.is_bound() && insts_end() <= locator_address(L.loc()); | |
37 } | |
38 | |
39 #endif // CPU_SPARC_VM_CODEBUFFER_SPARC_HPP | 34 #endif // CPU_SPARC_VM_CODEBUFFER_SPARC_HPP |