comparison src/share/vm/ci/ciCallProfile.hpp @ 8151:b8f261ba79c6

Minimize diff to plain HotSpot version.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 07 Mar 2013 21:00:29 +0100
parents 04b9a2566eec
children
comparison
equal deleted inserted replaced
8150:b66f831ac5ab 8151:b8f261ba79c6
59 59
60 public: 60 public:
61 // Note: The following predicates return false for invalid profiles: 61 // Note: The following predicates return false for invalid profiles:
62 bool has_receiver(int i) const { return _limit > i; } 62 bool has_receiver(int i) const { return _limit > i; }
63 int morphism() const { return _morphism; } 63 int morphism() const { return _morphism; }
64 int limit() const { return _limit; }
65 64
66 int count() const { return _count; } 65 int count() const { return _count; }
67 int receiver_count(int i) { 66 int receiver_count(int i) {
68 assert(i < _limit, "out of Call Profile MorphismLimit"); 67 assert(i < _limit, "out of Call Profile MorphismLimit");
69 return _receiver_count[i]; 68 return _receiver_count[i];