src/hotspot/share/opto/optoreg.hpp
changeset 49373 47b5652f2928
parent 47216 71c04702a3d5
child 53244 9807daeb47c4
equal deleted inserted replaced
49372:3bb8b00832d0 49373:47b5652f2928
     1 /*
     1 /*
     2  * Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2006, 2018, 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.
    49 // is the range of smallest bit-field that can represent all enumerators
    49 // is the range of smallest bit-field that can represent all enumerators
    50 // declared in the enum. The result of assigning a value to enum is undefined
    50 // declared in the enum. The result of assigning a value to enum is undefined
    51 // if the value is outside the enumeration's valid range. OptoReg::Name is
    51 // if the value is outside the enumeration's valid range. OptoReg::Name is
    52 // typedef'ed as int, because it needs to be able to represent spill-slots.
    52 // typedef'ed as int, because it needs to be able to represent spill-slots.
    53 //
    53 //
    54 class OptoReg VALUE_OBJ_CLASS_SPEC {
    54 class OptoReg {
    55 
    55 
    56  friend class C2Compiler;
    56  friend class C2Compiler;
    57  public:
    57  public:
    58   typedef int Name;
    58   typedef int Name;
    59   enum {
    59   enum {