src/hotspot/cpu/sparc/templateTable_sparc.cpp
changeset 53746 bdccafc038a2
parent 50735 2f2af62dfac7
child 57777 90ead0febf56
equal deleted inserted replaced
53745:a535ba736cab 53746:bdccafc038a2
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
  2990     __ br(Assembler::zero, false, Assembler::pt, L_no_push);
  2990     __ br(Assembler::zero, false, Assembler::pt, L_no_push);
  2991     __ delayed()->nop();
  2991     __ delayed()->nop();
  2992     // Push the appendix as a trailing parameter.
  2992     // Push the appendix as a trailing parameter.
  2993     // This must be done before we get the receiver,
  2993     // This must be done before we get the receiver,
  2994     // since the parameter_size includes it.
  2994     // since the parameter_size includes it.
  2995     assert(ConstantPoolCacheEntry::_indy_resolved_references_appendix_offset == 0, "appendix expected at index+0");
       
  2996     __ load_resolved_reference_at_index(temp, index, /*tmp*/recv);
  2995     __ load_resolved_reference_at_index(temp, index, /*tmp*/recv);
  2997     __ verify_oop(temp);
  2996     __ verify_oop(temp);
  2998     __ push_ptr(temp);  // push appendix (MethodType, CallSite, etc.)
  2997     __ push_ptr(temp);  // push appendix (MethodType, CallSite, etc.)
  2999     __ bind(L_no_push);
  2998     __ bind(L_no_push);
  3000   }
  2999   }