hotspot/src/share/vm/ci/ciField.hpp

Print this page
rev 611 : Merge

*** 1,10 **** #ifdef USE_PRAGMA_IDENT_HDR #pragma ident "@(#)ciField.hpp 1.23 07/09/28 10:23:24 JVM" #endif /* ! * Copyright 1999-2006 Sun Microsystems, Inc. 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,10 ---- #ifdef USE_PRAGMA_IDENT_HDR #pragma ident "@(#)ciField.hpp 1.23 07/09/28 10:23:24 JVM" #endif /* ! * Copyright 1999-2008 Sun Microsystems, Inc. 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.
*** 103,113 **** // How is this field actually stored in memory? BasicType layout_type() { return type2field[(_type == NULL) ? T_OBJECT : _type->basic_type()]; } // How big is this field in memory? ! int size_in_bytes() { return type2aelembytes[layout_type()]; } // What is the offset of this field? int offset() { assert(_offset >= 1, "illegal call to offset()"); return _offset; --- 103,113 ---- // How is this field actually stored in memory? BasicType layout_type() { return type2field[(_type == NULL) ? T_OBJECT : _type->basic_type()]; } // How big is this field in memory? ! int size_in_bytes() { return type2aelembytes(layout_type()); } // What is the offset of this field? int offset() { assert(_offset >= 1, "illegal call to offset()"); return _offset;