Print this page


Split Close
Expand all
Collapse all
          --- old/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp
          +++ new/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp
↓ open down ↓ 2782 lines elided ↑ open up ↑
2783 2783        __ nop();
2784 2784      }
2785 2785    }
2786 2786  }
2787 2787  
2788 2788  
2789 2789  void LIR_Assembler::call(LIR_OpJavaCall* op, relocInfo::relocType rtype) {
2790 2790    assert(!os::is_MP() || (__ offset() + NativeCall::displacement_offset) % BytesPerWord == 0,
2791 2791           "must be aligned");
2792 2792    __ call(AddressLiteral(op->addr(), rtype));
2793      -  add_call_info(code_offset(), op->info(), op->is_method_handle_invoke());
     2793 +  add_call_info(code_offset(), op->info());
2794 2794  }
2795 2795  
2796 2796  
2797 2797  void LIR_Assembler::ic_call(LIR_OpJavaCall* op) {
2798 2798    RelocationHolder rh = virtual_call_Relocation::spec(pc());
2799 2799    __ movoop(IC_Klass, (jobject)Universe::non_oop_word());
2800 2800    assert(!os::is_MP() ||
2801 2801           (__ offset() + NativeCall::displacement_offset) % BytesPerWord == 0,
2802 2802           "must be aligned");
2803 2803    __ call(AddressLiteral(op->addr(), rh));
2804      -  add_call_info(code_offset(), op->info(), op->is_method_handle_invoke());
     2804 +  add_call_info(code_offset(), op->info());
2805 2805  }
2806 2806  
2807 2807  
2808 2808  /* Currently, vtable-dispatch is only enabled for sparc platforms */
2809 2809  void LIR_Assembler::vtable_call(LIR_OpJavaCall* op) {
2810 2810    ShouldNotReachHere();
2811 2811  }
2812 2812  
2813 2813  
2814      -void LIR_Assembler::preserve_SP(LIR_OpJavaCall* op) {
2815      -  __ movptr(FrameMap::method_handle_invoke_SP_save_opr()->as_register(), rsp);
2816      -}
2817      -
2818      -
2819      -void LIR_Assembler::restore_SP(LIR_OpJavaCall* op) {
2820      -  __ movptr(rsp, FrameMap::method_handle_invoke_SP_save_opr()->as_register());
2821      -}
2822      -
2823      -
2824 2814  void LIR_Assembler::emit_static_call_stub() {
2825 2815    address call_pc = __ pc();
2826 2816    address stub = __ start_a_stub(call_stub_size);
2827 2817    if (stub == NULL) {
2828 2818      bailout("static call stub overflow");
2829 2819      return;
2830 2820    }
2831 2821  
2832 2822    int start = __ offset();
2833 2823    if (os::is_MP()) {
↓ open down ↓ 679 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX