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

src/share/vm/opto/optoreg.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2006, 2010, 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. --- 1,7 ---- /* ! * 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