Mercurial > hg > graal-compiler
comparison src/share/vm/ci/ciMethod.cpp @ 7206:d2f8c38e543d
Merge
author | roland |
---|---|
date | Fri, 07 Dec 2012 01:09:03 -0800 |
parents | beebba0acc11 |
children | 291ffc492eb6 fcc9e7681d63 |
comparison
equal
deleted
inserted
replaced
7191:816b7e5bf2ed | 7206:d2f8c38e543d |
---|---|
740 } | 740 } |
741 return -1; // unknown | 741 return -1; // unknown |
742 } | 742 } |
743 | 743 |
744 // ------------------------------------------------------------------ | 744 // ------------------------------------------------------------------ |
745 // ciMethod::get_field_at_bci | |
746 ciField* ciMethod::get_field_at_bci(int bci, bool &will_link) { | |
747 ciBytecodeStream iter(this); | |
748 iter.reset_to_bci(bci); | |
749 iter.next(); | |
750 return iter.get_field(will_link); | |
751 } | |
752 | |
753 // ------------------------------------------------------------------ | |
754 // ciMethod::get_method_at_bci | |
755 ciMethod* ciMethod::get_method_at_bci(int bci, bool &will_link, ciSignature* *declared_signature) { | |
756 ciBytecodeStream iter(this); | |
757 iter.reset_to_bci(bci); | |
758 iter.next(); | |
759 return iter.get_method(will_link, declared_signature); | |
760 } | |
761 | |
762 // ------------------------------------------------------------------ | |
745 // Adjust a CounterData count to be commensurate with | 763 // Adjust a CounterData count to be commensurate with |
746 // interpreter_invocation_count. If the MDO exists for | 764 // interpreter_invocation_count. If the MDO exists for |
747 // only 25% of the time the method exists, then the | 765 // only 25% of the time the method exists, then the |
748 // counts in the MDO should be scaled by 4X, so that | 766 // counts in the MDO should be scaled by 4X, so that |
749 // they can be usefully and stably compared against the | 767 // they can be usefully and stably compared against the |