Home | History | Annotate | Download | only in src

Lines Matching refs:ConstantPoolEntry

1637   info_[ConstantPoolEntry::INTPTR].entries.reserve(64);
1638 info_[ConstantPoolEntry::INTPTR].regular_reach_bits = ptr_reach_bits;
1639 info_[ConstantPoolEntry::DOUBLE].regular_reach_bits = double_reach_bits;
1643 ConstantPoolEntry::Access ConstantPoolBuilder::NextAccess(
1644 ConstantPoolEntry::Type type) const {
1647 if (info.overflow()) return ConstantPoolEntry::OVERFLOWED;
1649 int dbl_count = info_[ConstantPoolEntry::DOUBLE].regular_count;
1651 int ptr_count = info_[ConstantPoolEntry::INTPTR].regular_count;
1654 if (type == ConstantPoolEntry::DOUBLE) {
1656 int ptr_reach_bits = info_[ConstantPoolEntry::INTPTR].regular_reach_bits;
1660 return ConstantPoolEntry::OVERFLOWED;
1663 DCHECK(type == ConstantPoolEntry::INTPTR);
1665 return ConstantPoolEntry::OVERFLOWED;
1669 return ConstantPoolEntry::REGULAR;
1673 ConstantPoolEntry::Access ConstantPoolBuilder::AddEntry(
1674 ConstantPoolEntry& entry, ConstantPoolEntry::Type type) {
1677 const int entry_size = ConstantPoolEntry::size(type);
1682 std::vector<ConstantPoolEntry>::iterator it = info.shared_entries.begin();
1697 ConstantPoolEntry::Access access =
1698 (merged ? ConstantPoolEntry::REGULAR : NextAccess(type));
1702 if (entry.sharing_ok() && !merged && access == ConstantPoolEntry::REGULAR) {
1712 if (access == ConstantPoolEntry::REGULAR) {
1723 ConstantPoolEntry::Type type) {
1725 std::vector<ConstantPoolEntry>& shared_entries = info.shared_entries;
1726 const int entry_size = ConstantPoolEntry::size(type);
1730 std::vector<ConstantPoolEntry>::iterator shared_it = shared_entries.begin();
1743 ConstantPoolEntry::REGULAR, type);
1749 ConstantPoolEntry::Access access,
1750 ConstantPoolEntry::Type type) {
1753 std::vector<ConstantPoolEntry>& entries = info.entries;
1754 std::vector<ConstantPoolEntry>& shared_entries = info.shared_entries;
1755 const int entry_size = ConstantPoolEntry::size(type);
1761 if (access == ConstantPoolEntry::REGULAR) {
1766 if (access == ConstantPoolEntry::REGULAR) {
1770 DCHECK(access == ConstantPoolEntry::OVERFLOWED);
1776 std::vector<ConstantPoolEntry>::iterator it = entries.begin();
1781 ConstantPoolEntry::Access entry_access;
1794 entry_access = ConstantPoolEntry::REGULAR;
1797 DCHECK(entry_access == ConstantPoolEntry::OVERFLOWED ||
1819 EmitGroup(assm, ConstantPoolEntry::REGULAR, ConstantPoolEntry::DOUBLE);
1820 EmitGroup(assm, ConstantPoolEntry::REGULAR, ConstantPoolEntry::INTPTR);
1821 if (info_[ConstantPoolEntry::DOUBLE].overflow()) {
1823 EmitGroup(assm, ConstantPoolEntry::OVERFLOWED,
1824 ConstantPoolEntry::DOUBLE);
1826 if (info_[ConstantPoolEntry::INTPTR].overflow()) {
1827 EmitGroup(assm, ConstantPoolEntry::OVERFLOWED,
1828 ConstantPoolEntry::INTPTR);