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 ↓ 2728 lines elided ↑ open up ↑
2729 2729        __ nop();
2730 2730      }
2731 2731    }
2732 2732  }
2733 2733  
2734 2734  
2735 2735  void LIR_Assembler::call(LIR_OpJavaCall* op, relocInfo::relocType rtype) {
2736 2736    assert(!os::is_MP() || (__ offset() + NativeCall::displacement_offset) % BytesPerWord == 0,
2737 2737           "must be aligned");
2738 2738    __ call(AddressLiteral(op->addr(), rtype));
2739      -  add_call_info(code_offset(), op->info(), op->is_method_handle_invoke());
     2739 +  add_call_info(code_offset(), op->info());
2740 2740  }
2741 2741  
2742 2742  
2743 2743  void LIR_Assembler::ic_call(LIR_OpJavaCall* op) {
2744 2744    RelocationHolder rh = virtual_call_Relocation::spec(pc());
2745 2745    __ movoop(IC_Klass, (jobject)Universe::non_oop_word());
2746 2746    assert(!os::is_MP() ||
2747 2747           (__ offset() + NativeCall::displacement_offset) % BytesPerWord == 0,
2748 2748           "must be aligned");
2749 2749    __ call(AddressLiteral(op->addr(), rh));
2750      -  add_call_info(code_offset(), op->info(), op->is_method_handle_invoke());
     2750 +  add_call_info(code_offset(), op->info());
2751 2751  }
2752 2752  
2753 2753  
2754 2754  /* Currently, vtable-dispatch is only enabled for sparc platforms */
2755 2755  void LIR_Assembler::vtable_call(LIR_OpJavaCall* op) {
2756 2756    ShouldNotReachHere();
2757 2757  }
2758 2758  
2759 2759  
2760      -void LIR_Assembler::preserve_SP(LIR_OpJavaCall* op) {
2761      -  __ movptr(FrameMap::method_handle_invoke_SP_save_opr()->as_register(), rsp);
2762      -}
2763      -
2764      -
2765      -void LIR_Assembler::restore_SP(LIR_OpJavaCall* op) {
2766      -  __ movptr(rsp, FrameMap::method_handle_invoke_SP_save_opr()->as_register());
2767      -}
2768      -
2769      -
2770 2760  void LIR_Assembler::emit_static_call_stub() {
2771 2761    address call_pc = __ pc();
2772 2762    address stub = __ start_a_stub(call_stub_size);
2773 2763    if (stub == NULL) {
2774 2764      bailout("static call stub overflow");
2775 2765      return;
2776 2766    }
2777 2767  
2778 2768    int start = __ offset();
2779 2769    if (os::is_MP()) {
↓ open down ↓ 678 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX