hotspot/src/cpu/x86/vm/sharedRuntime_x86_64.cpp
changeset 8872 36680c58660e
parent 8315 1503f9d7681f
child 9630 d6419e4395e3
equal deleted inserted replaced
8871:5c3b26c4119e 8872:36680c58660e
  1172 // convention (handlizes oops, etc), transitions to native, makes the call,
  1172 // convention (handlizes oops, etc), transitions to native, makes the call,
  1173 // returns to java state (possibly blocking), unhandlizes any result and
  1173 // returns to java state (possibly blocking), unhandlizes any result and
  1174 // returns.
  1174 // returns.
  1175 nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm,
  1175 nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm,
  1176                                                 methodHandle method,
  1176                                                 methodHandle method,
       
  1177                                                 int compile_id,
  1177                                                 int total_in_args,
  1178                                                 int total_in_args,
  1178                                                 int comp_args_on_stack,
  1179                                                 int comp_args_on_stack,
  1179                                                 BasicType *in_sig_bt,
  1180                                                 BasicType *in_sig_bt,
  1180                                                 VMRegPair *in_regs,
  1181                                                 VMRegPair *in_regs,
  1181                                                 BasicType ret_type) {
  1182                                                 BasicType ret_type) {
  1879 
  1880 
  1880 
  1881 
  1881   __ flush();
  1882   __ flush();
  1882 
  1883 
  1883   nmethod *nm = nmethod::new_native_nmethod(method,
  1884   nmethod *nm = nmethod::new_native_nmethod(method,
       
  1885                                             compile_id,
  1884                                             masm->code(),
  1886                                             masm->code(),
  1885                                             vep_offset,
  1887                                             vep_offset,
  1886                                             frame_complete,
  1888                                             frame_complete,
  1887                                             stack_slots / VMRegImpl::slots_per_word,
  1889                                             stack_slots / VMRegImpl::slots_per_word,
  1888                                             (is_static ? in_ByteSize(klass_offset) : in_ByteSize(receiver_offset)),
  1890                                             (is_static ? in_ByteSize(klass_offset) : in_ByteSize(receiver_offset)),