< prev index next >

src/share/vm/opto/compile.hpp

Print this page




1078   void              set_frame_complete(int off) { _code_offsets.set_value(CodeOffsets::Frame_Complete, off); }
1079   ExceptionHandlerTable*  handler_table()       { return &_handler_table; }
1080   ImplicitExceptionTable* inc_table()           { return &_inc_table; }
1081   OopMapSet*        oop_map_set()               { return _oop_map_set; }
1082   DebugInformationRecorder* debug_info()        { return env()->debug_info(); }
1083   Dependencies*     dependencies()              { return env()->dependencies(); }
1084   static int        CompiledZap_count()         { return _CompiledZap_count; }
1085   BufferBlob*       scratch_buffer_blob()       { return _scratch_buffer_blob; }
1086   void         init_scratch_buffer_blob(int const_size);
1087   void        clear_scratch_buffer_blob();
1088   void          set_scratch_buffer_blob(BufferBlob* b) { _scratch_buffer_blob = b; }
1089   relocInfo*        scratch_locs_memory()       { return _scratch_locs_memory; }
1090   void          set_scratch_locs_memory(relocInfo* b)  { _scratch_locs_memory = b; }
1091 
1092   // emit to scratch blob, report resulting size
1093   uint              scratch_emit_size(const Node* n);
1094   void       set_in_scratch_emit_size(bool x)   {        _in_scratch_emit_size = x; }
1095   bool           in_scratch_emit_size() const   { return _in_scratch_emit_size;     }
1096 
1097   enum ScratchBufferBlob {
1098     MAX_inst_size       = 1024,
1099     MAX_locs_size       = 128, // number of relocInfo elements
1100     MAX_const_size      = 128,
1101     MAX_stubs_size      = 128
1102   };
1103 
1104   // Major entry point.  Given a Scope, compile the associated method.
1105   // For normal compilations, entry_bci is InvocationEntryBci.  For on stack
1106   // replacement, entry_bci indicates the bytecode for which to compile a
1107   // continuation.
1108   Compile(ciEnv* ci_env, C2Compiler* compiler, ciMethod* target,
1109           int entry_bci, bool subsume_loads, bool do_escape_analysis,
1110           bool eliminate_boxing);
1111 
1112   // Second major entry point.  From the TypeFunc signature, generate code
1113   // to pass arguments from the Java calling convention to the C calling
1114   // convention.
1115   Compile(ciEnv* ci_env, const TypeFunc *(*gen)(),
1116           address stub_function, const char *stub_name,
1117           int is_fancy_jump, bool pass_tls,
1118           bool save_arg_registers, bool return_pc);




1078   void              set_frame_complete(int off) { _code_offsets.set_value(CodeOffsets::Frame_Complete, off); }
1079   ExceptionHandlerTable*  handler_table()       { return &_handler_table; }
1080   ImplicitExceptionTable* inc_table()           { return &_inc_table; }
1081   OopMapSet*        oop_map_set()               { return _oop_map_set; }
1082   DebugInformationRecorder* debug_info()        { return env()->debug_info(); }
1083   Dependencies*     dependencies()              { return env()->dependencies(); }
1084   static int        CompiledZap_count()         { return _CompiledZap_count; }
1085   BufferBlob*       scratch_buffer_blob()       { return _scratch_buffer_blob; }
1086   void         init_scratch_buffer_blob(int const_size);
1087   void        clear_scratch_buffer_blob();
1088   void          set_scratch_buffer_blob(BufferBlob* b) { _scratch_buffer_blob = b; }
1089   relocInfo*        scratch_locs_memory()       { return _scratch_locs_memory; }
1090   void          set_scratch_locs_memory(relocInfo* b)  { _scratch_locs_memory = b; }
1091 
1092   // emit to scratch blob, report resulting size
1093   uint              scratch_emit_size(const Node* n);
1094   void       set_in_scratch_emit_size(bool x)   {        _in_scratch_emit_size = x; }
1095   bool           in_scratch_emit_size() const   { return _in_scratch_emit_size;     }
1096 
1097   enum ScratchBufferBlob {
1098     MAX_inst_size       = 32768,
1099     MAX_locs_size       = 128, // number of relocInfo elements
1100     MAX_const_size      = 128,
1101     MAX_stubs_size      = 128
1102   };
1103 
1104   // Major entry point.  Given a Scope, compile the associated method.
1105   // For normal compilations, entry_bci is InvocationEntryBci.  For on stack
1106   // replacement, entry_bci indicates the bytecode for which to compile a
1107   // continuation.
1108   Compile(ciEnv* ci_env, C2Compiler* compiler, ciMethod* target,
1109           int entry_bci, bool subsume_loads, bool do_escape_analysis,
1110           bool eliminate_boxing);
1111 
1112   // Second major entry point.  From the TypeFunc signature, generate code
1113   // to pass arguments from the Java calling convention to the C calling
1114   // convention.
1115   Compile(ciEnv* ci_env, const TypeFunc *(*gen)(),
1116           address stub_function, const char *stub_name,
1117           int is_fancy_jump, bool pass_tls,
1118           bool save_arg_registers, bool return_pc);


< prev index next >