hotspot/src/share/vm/ci/ciKlass.hpp
changeset 4567 7fc02fbe5c7a
parent 1 489c9b5090e2
child 5547 f4b087cbb361
equal deleted inserted replaced
4566:b363f6ef4068 4567:7fc02fbe5c7a
     1 /*
     1 /*
     2  * Copyright 1999-2007 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 1999-2009 Sun Microsystems, Inc.  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.
    67 
    67 
    68 public:
    68 public:
    69   ciKlass(KlassHandle k_h);
    69   ciKlass(KlassHandle k_h);
    70 
    70 
    71   // What is the name of this klass?
    71   // What is the name of this klass?
    72   ciSymbol* name() { return _name; }
    72   ciSymbol* name() const { return _name; }
    73 
    73 
    74   // What is its layout helper value?
    74   // What is its layout helper value?
    75   jint layout_helper() { return _layout_helper; }
    75   jint layout_helper() { return _layout_helper; }
    76 
    76 
    77   bool is_subtype_of(ciKlass* klass);
    77   bool is_subtype_of(ciKlass* klass);