Mercurial > hg > truffle
comparison src/share/vm/ci/ciCallProfile.hpp @ 2990:66ecfc755c86
inlining of monomorphic profiled callsites with quick type checks
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 15 Jun 2011 16:49:46 +0200 |
parents | c760f78e0a53 |
children | be4ca325525a |
comparison
equal
deleted
inserted
replaced
2956:f887649da523 | 2990:66ecfc755c86 |
---|---|
58 | 58 |
59 public: | 59 public: |
60 // Note: The following predicates return false for invalid profiles: | 60 // Note: The following predicates return false for invalid profiles: |
61 bool has_receiver(int i) { return _limit > i; } | 61 bool has_receiver(int i) { return _limit > i; } |
62 int morphism() { return _morphism; } | 62 int morphism() { return _morphism; } |
63 int limit() { return _limit; } | |
63 | 64 |
64 int count() { return _count; } | 65 int count() { return _count; } |
65 int receiver_count(int i) { | 66 int receiver_count(int i) { |
66 assert(i < _limit, "out of Call Profile MorphismLimit"); | 67 assert(i < _limit, "out of Call Profile MorphismLimit"); |
67 return _receiver_count[i]; | 68 return _receiver_count[i]; |