src/share/vm/ci/ciInstance.cpp

changeset 2658
c7f3d0b4570f
parent 2314
f95d63e2154a
child 2749
3fa3c7e4d4f3
     1.1 --- a/src/share/vm/ci/ciInstance.cpp	Fri Mar 18 15:52:42 2011 -0700
     1.2 +++ b/src/share/vm/ci/ciInstance.cpp	Fri Mar 18 16:00:34 2011 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -138,3 +138,9 @@
    1.11    st->print(" type=");
    1.12    klass()->print(st);
    1.13  }
    1.14 +
    1.15 +
    1.16 +ciKlass* ciInstance::java_lang_Class_klass() {
    1.17 +  VM_ENTRY_MARK;
    1.18 +  return CURRENT_ENV->get_object(java_lang_Class::as_klassOop(get_oop()))->as_klass();
    1.19 +}

mercurial