Print this page
rev 1026 : imported patch indy.compiler.inline.patch

Split Close
Expand all
Collapse all
          --- old/src/share/vm/ci/ciKlass.hpp
          +++ new/src/share/vm/ci/ciKlass.hpp
   1    1  /*
   2      - * Copyright 1999-2007 Sun Microsystems, Inc.  All Rights Reserved.
        2 + * Copyright 1999-2009 Sun Microsystems, Inc.  All Rights Reserved.
   3    3   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4    4   *
   5    5   * This code is free software; you can redistribute it and/or modify it
   6    6   * under the terms of the GNU General Public License version 2 only, as
   7    7   * published by the Free Software Foundation.
   8    8   *
   9    9   * This code is distributed in the hope that it will be useful, but WITHOUT
  10   10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11   11   * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12   12   * version 2 for more details (a copy is included in the LICENSE file that
↓ open down ↓ 51 lines elided ↑ open up ↑
  64   64    const char* type_string() { return "ciKlass"; }
  65   65  
  66   66    void print_impl(outputStream* st);
  67   67  
  68   68  public:
  69   69    ciKlass(KlassHandle k_h);
  70   70  
  71   71    // What is the name of this klass?
  72   72    ciSymbol* name() { return _name; }
  73   73  
       74 +  // Is this klass in the given package?
       75 +  bool is_in_package(const char* packagename) const;
       76 +
  74   77    // What is its layout helper value?
  75   78    jint layout_helper() { return _layout_helper; }
  76   79  
  77   80    bool is_subtype_of(ciKlass* klass);
  78   81    bool is_subclass_of(ciKlass* klass);
  79   82    juint super_depth();
  80   83    juint super_check_offset();
  81   84    ciKlass* super_of_depth(juint i);
  82   85    bool can_be_primary_super();
  83   86    static juint primary_super_limit() { return Klass::primary_super_limit(); }
↓ open down ↓ 36 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX