Home | History | Annotate | Download | only in src

Lines Matching full:constantpoolentry

1701   info_[ConstantPoolEntry::INTPTR].entries.reserve(64);
1702 info_[ConstantPoolEntry::INTPTR].regular_reach_bits = ptr_reach_bits;
1703 info_[ConstantPoolEntry::DOUBLE].regular_reach_bits = double_reach_bits;
1707 ConstantPoolEntry::Access ConstantPoolBuilder::NextAccess(
1708 ConstantPoolEntry::Type type) const {
1711 if (info.overflow()) return ConstantPoolEntry::OVERFLOWED;
1713 int dbl_count = info_[ConstantPoolEntry::DOUBLE].regular_count;
1715 int ptr_count = info_[ConstantPoolEntry::INTPTR].regular_count;
1718 if (type == ConstantPoolEntry::DOUBLE) {
1720 int ptr_reach_bits = info_[ConstantPoolEntry::INTPTR].regular_reach_bits;
1724 return ConstantPoolEntry::OVERFLOWED;
1727 DCHECK(type == ConstantPoolEntry::INTPTR);
1729 return ConstantPoolEntry::OVERFLOWED;
1733 return ConstantPoolEntry::REGULAR;
1737 ConstantPoolEntry::Access ConstantPoolBuilder::AddEntry(
1738 ConstantPoolEntry& entry, ConstantPoolEntry::Type type) {
1741 const int entry_size = ConstantPoolEntry::size(type);
1746 std::vector<ConstantPoolEntry>::iterator it = info.shared_entries.begin();
1761 ConstantPoolEntry::Access access =
1762 (merged ? ConstantPoolEntry::REGULAR : NextAccess(type));
1766 if (entry.sharing_ok() && !merged && access == ConstantPoolEntry::REGULAR) {
1776 if (access == ConstantPoolEntry::REGULAR) {
1787 ConstantPoolEntry::Type type) {
1789 std::vector<ConstantPoolEntry>& shared_entries = info.shared_entries;
1790 const int entry_size = ConstantPoolEntry::size(type);
1794 std::vector<ConstantPoolEntry>::iterator shared_it = shared_entries.begin();
1807 ConstantPoolEntry::REGULAR, type);
1813 ConstantPoolEntry::Access access,
1814 ConstantPoolEntry::Type type) {
1817 std::vector<ConstantPoolEntry>& entries = info.entries;
1818 std::vector<ConstantPoolEntry>& shared_entries = info.shared_entries;
1819 const int entry_size = ConstantPoolEntry::size(type);
1825 if (access == ConstantPoolEntry::REGULAR) {
1830 if (access == ConstantPoolEntry::REGULAR) {
1834 DCHECK(access == ConstantPoolEntry::OVERFLOWED);
1840 std::vector<ConstantPoolEntry>::iterator it = entries.begin();
1845 ConstantPoolEntry::Access entry_access;
1858 entry_access = ConstantPoolEntry::REGULAR;
1861 DCHECK(entry_access == ConstantPoolEntry::OVERFLOWED ||
1883 EmitGroup(assm, ConstantPoolEntry::REGULAR, ConstantPoolEntry::DOUBLE);
1884 EmitGroup(assm, ConstantPoolEntry::REGULAR, ConstantPoolEntry::INTPTR);
1885 if (info_[ConstantPoolEntry::DOUBLE].overflow()) {
1887 EmitGroup(assm, ConstantPoolEntry::OVERFLOWED,
1888 ConstantPoolEntry::DOUBLE);
1890 if (info_[ConstantPoolEntry::INTPTR].overflow()) {
1891 EmitGroup(assm, ConstantPoolEntry::OVERFLOWED,
1892 ConstantPoolEntry::INTPTR);