Print this page


Split Close
Expand all
Collapse all
          --- old/src/cpu/x86/vm/c1_FrameMap_x86.cpp
          +++ new/src/cpu/x86/vm/c1_FrameMap_x86.cpp
   1    1  /*
   2      - * Copyright 1999-2008 Sun Microsystems, Inc.  All Rights Reserved.
        2 + * Copyright 1999-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 ↓ 289 lines elided ↑ open up ↑
 302  302    // Return the OptoReg name for the fpu stack slot "n"
 303  303    // A spilled fpu stack slot comprises to two single-word OptoReg's.
 304  304    return as_FloatRegister(n)->as_VMReg();
 305  305  }
 306  306  
 307  307  LIR_Opr FrameMap::stack_pointer() {
 308  308    return FrameMap::rsp_opr;
 309  309  }
 310  310  
 311  311  
      312 +// JSR 292
      313 +LIR_Opr FrameMap::method_handle_invoke_SP_save_opr() {
      314 +  assert(rbp == rbp_mh_SP_save, "must be same register");
      315 +  return rbp_opr;
      316 +}
      317 +
      318 +
 312  319  bool FrameMap::validate_frame() {
 313  320    return true;
 314  321  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX