ciObjArray.hpp revision 0
6635N/A/*
6635N/A * Copyright 1999-2001 Sun Microsystems, Inc. All Rights Reserved.
6635N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6635N/A *
6635N/A * This code is free software; you can redistribute it and/or modify it
6635N/A * under the terms of the GNU General Public License version 2 only, as
6635N/A * published by the Free Software Foundation.
6635N/A *
6635N/A * This code is distributed in the hope that it will be useful, but WITHOUT
6635N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
6635N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
6635N/A * version 2 for more details (a copy is included in the LICENSE file that
6635N/A * accompanied this code).
6635N/A *
6635N/A * You should have received a copy of the GNU General Public License version
6635N/A * 2 along with this work; if not, write to the Free Software Foundation,
6635N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
6635N/A *
6635N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
6635N/A * CA 95054 USA or visit www.sun.com if you need additional information or
6635N/A * have any questions.
6635N/A *
6635N/A */
6635N/A
6635N/A// ciObjArray
6635N/A//
6635N/A// This class represents a ObjArrayOop in the HotSpot virtual
6635N/A// machine.
6635N/Aclass ciObjArray : public ciArray {
6635N/A CI_PACKAGE_ACCESS
6635N/A
6635N/Aprotected:
6635N/A ciObjArray(objArrayHandle h_o) : ciArray(h_o) {}
6635N/A
6635N/A ciObjArray(ciKlass* klass, int len) : ciArray(klass, len) {}
6635N/A
6635N/A objArrayOop get_objArrayOop() {
6635N/A return (objArrayOop)get_oop();
6635N/A }
6635N/A
6635N/A const char* type_string() { return "ciObjArray"; }
6635N/A
6635N/Apublic:
6635N/A // What kind of ciObject is this?
6635N/A bool is_obj_array() { return true; }
6635N/A};
6635N/A