Print this page


Split Close
Expand all
Collapse all
          --- old/src/cpu/x86/vm/assembler_x86.hpp
          +++ new/src/cpu/x86/vm/assembler_x86.hpp
   1    1  /*
   2      - * Copyright 1997-2009 Sun Microsystems, Inc.  All Rights Reserved.
        2 + * Copyright 1997-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 ↓ 115 lines elided ↑ open up ↑
 128  128  REGISTER_DECLARATION(Register, r15_thread, r15); // callee-saved
 129  129  
 130  130  #else
 131  131  // rscratch1 will apear in 32bit code that is dead but of course must compile
 132  132  // Using noreg ensures if the dead code is incorrectly live and executed it
 133  133  // will cause an assertion failure
 134  134  #define rscratch1 noreg
 135  135  
 136  136  #endif // _LP64
 137  137  
      138 +// JSR 292 fixed register usages:
      139 +REGISTER_DECLARATION(Register, rbp_mh_SP_save, rbp);
      140 +
 138  141  // Address is an abstraction used to represent a memory location
 139  142  // using any of the amd64 addressing modes with one object.
 140  143  //
 141  144  // Note: A register location is represented via a Register, not
 142  145  //       via an address for efficiency & simplicity reasons.
 143  146  
 144  147  class ArrayAddress;
 145  148  
 146  149  class Address VALUE_OBJ_CLASS_SPEC {
 147  150   public:
↓ open down ↓ 2116 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX