Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/vm/c1/c1_FrameMap.hpp
          +++ new/src/share/vm/c1/c1_FrameMap.hpp
   1    1  /*
   2      - * Copyright 2000-2006 Sun Microsystems, Inc.  All Rights Reserved.
        2 + * Copyright 2000-2010 Sun Microsystems, Inc.  All Rights Reserved.
   3    3   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4    4   *
   5    5   * This code is free software; you can redistribute it and/or modify it
   6    6   * under the terms of the GNU General Public License version 2 only, as
   7    7   * published by the Free Software Foundation.
   8    8   *
   9    9   * This code is distributed in the hope that it will be useful, but WITHOUT
  10   10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11   11   * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12   12   * version 2 for more details (a copy is included in the LICENSE file that
↓ open down ↓ 130 lines elided ↑ open up ↑
 143  143    // addressable on the platform.  Used by sparc to verify that all
 144  144    // stack addresses are expressable in a simm13.
 145  145    bool validate_frame();
 146  146  
 147  147    static LIR_Opr map_to_opr(BasicType type, VMRegPair* reg, bool incoming);
 148  148  
 149  149   public:
 150  150    // Opr representing the stack_pointer on this platform
 151  151    static LIR_Opr stack_pointer();
 152  152  
      153 +  // JSR 292
      154 +  static LIR_Opr method_handle_invoke_SP_save_opr();
      155 +
 153  156    static BasicTypeArray*     signature_type_array_for(const ciMethod* method);
 154  157    static BasicTypeArray*     signature_type_array_for(const char * signature);
 155  158  
 156  159    // for outgoing calls, these also update the reserved area to
 157  160    // include space for arguments and any ABI area.
 158  161    CallingConvention* c_calling_convention (const BasicTypeArray* signature);
 159  162    CallingConvention* java_calling_convention (const BasicTypeArray* signature, bool outgoing);
 160  163  
 161  164    // deopt support
 162  165    ByteSize sp_offset_for_orig_pc() { return sp_offset_for_monitor_base(_num_monitors); }
↓ open down ↓ 104 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX