src/share/vm/interpreter/bytecode.cpp

changeset 2497
3582bf76420e
parent 2462
8012aa3ccede
child 3969
1d7922586cf6
     1.1 --- a/src/share/vm/interpreter/bytecode.cpp	Thu Jan 27 13:42:28 2011 -0800
     1.2 +++ b/src/share/vm/interpreter/bytecode.cpp	Thu Jan 27 16:11:27 2011 -0800
     1.3 @@ -124,21 +124,20 @@
     1.4  }
     1.5  
     1.6  
     1.7 -symbolOop Bytecode_member_ref::signature() const {
     1.8 +Symbol* Bytecode_member_ref::signature() const {
     1.9    constantPoolOop constants = method()->constants();
    1.10    return constants->signature_ref_at(index());
    1.11  }
    1.12  
    1.13  
    1.14 -symbolOop Bytecode_member_ref::name() const {
    1.15 +Symbol* Bytecode_member_ref::name() const {
    1.16    constantPoolOop constants = method()->constants();
    1.17    return constants->name_ref_at(index());
    1.18  }
    1.19  
    1.20  
    1.21 -BasicType Bytecode_member_ref::result_type(Thread *thread) const {
    1.22 -  symbolHandle sh(thread, signature());
    1.23 -  ResultTypeFinder rts(sh);
    1.24 +BasicType Bytecode_member_ref::result_type() const {
    1.25 +  ResultTypeFinder rts(signature());
    1.26    rts.iterate();
    1.27    return rts.type();
    1.28  }

mercurial