Print this page


Split Close
Expand all
Collapse all
          --- old/src/cpu/x86/vm/c1_CodeStubs_x86.cpp
          +++ new/src/cpu/x86/vm/c1_CodeStubs_x86.cpp
↓ open down ↓ 379 lines elided ↑ open up ↑
 380  380    if (_id == load_klass_id) {
 381  381      CodeSection* cs = __ code_section();
 382  382      RelocIterator iter(cs, (address)_pc_start, (address)(_pc_start + 1));
 383  383      relocInfo::change_reloc_info_for_address(&iter, (address) _pc_start, relocInfo::oop_type, relocInfo::none);
 384  384    }
 385  385  }
 386  386  
 387  387  
 388  388  void DeoptimizeStub::emit_code(LIR_Assembler* ce) {
 389  389    __ bind(_entry);
 390      -  __ call(RuntimeAddress(SharedRuntime::deopt_blob()->unpack_with_reexecution()));
      390 +  __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::deoptimize_id)));
 391  391    ce->add_call_info_here(_info);
 392      -  debug_only(__ should_not_reach_here());
      392 +  DEBUG_ONLY(__ should_not_reach_here());
 393  393  }
 394  394  
 395  395  
 396  396  void ImplicitNullCheckStub::emit_code(LIR_Assembler* ce) {
 397  397    ce->compilation()->implicit_exception_table()->append(_offset, __ offset());
 398  398    __ bind(_entry);
 399  399    __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::throw_null_pointer_exception_id)));
 400  400    ce->add_call_info_here(_info);
 401  401    debug_only(__ should_not_reach_here());
 402  402  }
↓ open down ↓ 175 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX