src/share/vm/ci/ciInstance.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/ci/ciInstance.cpp	Fri Mar 18 14:59:13 2011
--- new/src/share/vm/ci/ciInstance.cpp	Fri Mar 18 14:59:13 2011

*** 1,7 **** --- 1,7 ---- /* ! * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 1999, 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.
*** 135,140 **** --- 135,146 ---- // // Implementation of the print method. void ciInstance::print_impl(outputStream* st) { st->print(" type="); klass()->print(st); + } + + + ciKlass* ciInstance::java_lang_Class_klass() { + VM_ENTRY_MARK; + return CURRENT_ENV->get_object(java_lang_Class::as_klassOop(get_oop()))->as_klass(); }

src/share/vm/ci/ciInstance.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File