comparison src/share/vm/ci/ciMethod.cpp @ 7194:beebba0acc11

7172640: C2: instrinsic implementations in LibraryCallKit should use argument() instead of pop() Reviewed-by: kvn, jrose
author twisti
date Mon, 26 Nov 2012 17:25:11 -0800
parents bb33c6fdcf0d
children 291ffc492eb6 fcc9e7681d63
comparison
equal deleted inserted replaced
7193:ee32440febeb 7194:beebba0acc11
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