Mercurial > hg > truffle
comparison src/share/vm/opto/compile.hpp @ 3851:95134e034042
7063629: use cbcond in C2 generated code on T4
Summary: Use new short branch instruction in C2 generated code.
Reviewed-by: never
author | kvn |
---|---|
date | Thu, 11 Aug 2011 12:08:11 -0700 |
parents | 08eb13460b3a |
children | 739a9abbbd4b |
comparison
equal
deleted
inserted
replaced
3850:6987871cfb9b | 3851:95134e034042 |
---|---|
783 ObjectValue* sv ); | 783 ObjectValue* sv ); |
784 | 784 |
785 // Process an OopMap Element while emitting nodes | 785 // Process an OopMap Element while emitting nodes |
786 void Process_OopMap_Node(MachNode *mach, int code_offset); | 786 void Process_OopMap_Node(MachNode *mach, int code_offset); |
787 | 787 |
788 // Initialize code buffer | |
789 CodeBuffer* init_buffer(uint* blk_starts); | |
790 | |
788 // Write out basic block data to code buffer | 791 // Write out basic block data to code buffer |
789 void Fill_buffer(); | 792 void fill_buffer(CodeBuffer* cb, uint* blk_starts); |
790 | 793 |
791 // Determine which variable sized branches can be shortened | 794 // Determine which variable sized branches can be shortened |
792 void Shorten_branches(Label *labels, int& code_size, int& reloc_size, int& stub_size); | 795 void shorten_branches(uint* blk_starts, int& code_size, int& reloc_size, int& stub_size); |
796 | |
797 // Inserts nops where needed and final shorten branches. | |
798 void finalize_offsets_and_shorten(uint* blk_starts); | |
793 | 799 |
794 // Compute the size of first NumberOfLoopInstrToAlign instructions | 800 // Compute the size of first NumberOfLoopInstrToAlign instructions |
795 // at the head of a loop. | 801 // at the head of a loop. |
796 void compute_loop_first_inst_sizes(); | 802 void compute_loop_first_inst_sizes(); |
797 | 803 |