src/share/vm/opto/optoreg.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/opto/optoreg.hpp	Fri Sep  9 14:16:19 2011
--- new/src/share/vm/opto/optoreg.hpp	Fri Sep  9 14:16:19 2011

*** 1,7 **** --- 1,7 ---- /* ! * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 170,179 **** --- 170,180 ---- // so that a OptoReg->VMReg->OptoReg would reproduce ther original OptoReg. As it // stands if you convert a flag (condition code) to a VMReg you will get VMRegImpl::Bad // and converting that will return OptoReg::Bad losing the identity of the OptoReg. class OptoRegPair { + friend class VMStructs; private: short _second; short _first; public: void set_bad ( ) { _second = OptoReg::Bad; _first = OptoReg::Bad; }

src/share/vm/opto/optoreg.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File