< prev index next >

src/share/vm/opto/compile.hpp

Print this page
rev 10974 : 8155738: C2: fix frame_complete_offset
Summary: During scratch_emit_size wrong value was set. Also set offset of ppc.


1084   int           bang_size_in_bytes() const;
1085 
1086   void          set_matcher(Matcher* m)                 { _matcher = m; }
1087 //void          set_regalloc(PhaseRegAlloc* ra)           { _regalloc = ra; }
1088   void          set_indexSet_arena(Arena* a)            { _indexSet_arena = a; }
1089   void          set_indexSet_free_block_list(void* p)   { _indexSet_free_block_list = p; }
1090 
1091   // Remember if this compilation changes hardware mode to 24-bit precision
1092   void set_24_bit_selection_and_mode(bool selection, bool mode) {
1093     _select_24_bit_instr = selection;
1094     _in_24_bit_fp_mode   = mode;
1095   }
1096 
1097   void  set_java_calls(int z) { _java_calls  = z; }
1098   void set_inner_loops(int z) { _inner_loops = z; }
1099 
1100   // Instruction bits passed off to the VM
1101   int               code_size()                 { return _method_size; }
1102   CodeBuffer*       code_buffer()               { return &_code_buffer; }
1103   int               first_block_size()          { return _first_block_size; }
1104   void              set_frame_complete(int off) { _code_offsets.set_value(CodeOffsets::Frame_Complete, off); }
1105   ExceptionHandlerTable*  handler_table()       { return &_handler_table; }
1106   ImplicitExceptionTable* inc_table()           { return &_inc_table; }
1107   OopMapSet*        oop_map_set()               { return _oop_map_set; }
1108   DebugInformationRecorder* debug_info()        { return env()->debug_info(); }
1109   Dependencies*     dependencies()              { return env()->dependencies(); }
1110   static int        CompiledZap_count()         { return _CompiledZap_count; }
1111   BufferBlob*       scratch_buffer_blob()       { return _scratch_buffer_blob; }
1112   void         init_scratch_buffer_blob(int const_size);
1113   void        clear_scratch_buffer_blob();
1114   void          set_scratch_buffer_blob(BufferBlob* b) { _scratch_buffer_blob = b; }
1115   relocInfo*        scratch_locs_memory()       { return _scratch_locs_memory; }
1116   void          set_scratch_locs_memory(relocInfo* b)  { _scratch_locs_memory = b; }
1117 
1118   // emit to scratch blob, report resulting size
1119   uint              scratch_emit_size(const Node* n);
1120   void       set_in_scratch_emit_size(bool x)   {        _in_scratch_emit_size = x; }
1121   bool           in_scratch_emit_size() const   { return _in_scratch_emit_size;     }
1122 
1123   enum ScratchBufferBlob {
1124 #if defined(PPC64)




1084   int           bang_size_in_bytes() const;
1085 
1086   void          set_matcher(Matcher* m)                 { _matcher = m; }
1087 //void          set_regalloc(PhaseRegAlloc* ra)           { _regalloc = ra; }
1088   void          set_indexSet_arena(Arena* a)            { _indexSet_arena = a; }
1089   void          set_indexSet_free_block_list(void* p)   { _indexSet_free_block_list = p; }
1090 
1091   // Remember if this compilation changes hardware mode to 24-bit precision
1092   void set_24_bit_selection_and_mode(bool selection, bool mode) {
1093     _select_24_bit_instr = selection;
1094     _in_24_bit_fp_mode   = mode;
1095   }
1096 
1097   void  set_java_calls(int z) { _java_calls  = z; }
1098   void set_inner_loops(int z) { _inner_loops = z; }
1099 
1100   // Instruction bits passed off to the VM
1101   int               code_size()                 { return _method_size; }
1102   CodeBuffer*       code_buffer()               { return &_code_buffer; }
1103   int               first_block_size()          { return _first_block_size; }
1104   void              set_frame_complete(int off) { if (!in_scratch_emit_size()) { _code_offsets.set_value(CodeOffsets::Frame_Complete, off); } }
1105   ExceptionHandlerTable*  handler_table()       { return &_handler_table; }
1106   ImplicitExceptionTable* inc_table()           { return &_inc_table; }
1107   OopMapSet*        oop_map_set()               { return _oop_map_set; }
1108   DebugInformationRecorder* debug_info()        { return env()->debug_info(); }
1109   Dependencies*     dependencies()              { return env()->dependencies(); }
1110   static int        CompiledZap_count()         { return _CompiledZap_count; }
1111   BufferBlob*       scratch_buffer_blob()       { return _scratch_buffer_blob; }
1112   void         init_scratch_buffer_blob(int const_size);
1113   void        clear_scratch_buffer_blob();
1114   void          set_scratch_buffer_blob(BufferBlob* b) { _scratch_buffer_blob = b; }
1115   relocInfo*        scratch_locs_memory()       { return _scratch_locs_memory; }
1116   void          set_scratch_locs_memory(relocInfo* b)  { _scratch_locs_memory = b; }
1117 
1118   // emit to scratch blob, report resulting size
1119   uint              scratch_emit_size(const Node* n);
1120   void       set_in_scratch_emit_size(bool x)   {        _in_scratch_emit_size = x; }
1121   bool           in_scratch_emit_size() const   { return _in_scratch_emit_size;     }
1122 
1123   enum ScratchBufferBlob {
1124 #if defined(PPC64)


< prev index next >