| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 inline int count_of_code_ptr() const { return count_of_code_ptr_; } | 721 inline int count_of_code_ptr() const { return count_of_code_ptr_; } |
| 722 inline int count_of_heap_ptr() const { return count_of_heap_ptr_; } | 722 inline int count_of_heap_ptr() const { return count_of_heap_ptr_; } |
| 723 inline int count_of_32bit() const { return count_of_32bit_; } | 723 inline int count_of_32bit() const { return count_of_32bit_; } |
| 724 | 724 |
| 725 private: | 725 private: |
| 726 bool Is64BitEntry(RelocInfo::Mode rmode); | 726 bool Is64BitEntry(RelocInfo::Mode rmode); |
| 727 bool Is32BitEntry(RelocInfo::Mode rmode); | 727 bool Is32BitEntry(RelocInfo::Mode rmode); |
| 728 bool IsCodePtrEntry(RelocInfo::Mode rmode); | 728 bool IsCodePtrEntry(RelocInfo::Mode rmode); |
| 729 bool IsHeapPtrEntry(RelocInfo::Mode rmode); | 729 bool IsHeapPtrEntry(RelocInfo::Mode rmode); |
| 730 | 730 |
| 731 // TODO(rmcilroy): This should ideally be a ZoneList, however that would mean |
| 732 // RelocInfo would need to subclass ZoneObject which it currently doesn't. |
| 731 std::vector<RelocInfo> entries_; | 733 std::vector<RelocInfo> entries_; |
| 732 std::vector<int> merged_indexes_; | 734 std::vector<int> merged_indexes_; |
| 733 int count_of_64bit_; | 735 int count_of_64bit_; |
| 734 int count_of_code_ptr_; | 736 int count_of_code_ptr_; |
| 735 int count_of_heap_ptr_; | 737 int count_of_heap_ptr_; |
| 736 int count_of_32bit_; | 738 int count_of_32bit_; |
| 737 }; | 739 }; |
| 738 | 740 |
| 739 | 741 |
| 740 extern const Instr kMovLrPc; | 742 extern const Instr kMovLrPc; |
| (...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1689 public: | 1691 public: |
| 1690 explicit EnsureSpace(Assembler* assembler) { | 1692 explicit EnsureSpace(Assembler* assembler) { |
| 1691 assembler->CheckBuffer(); | 1693 assembler->CheckBuffer(); |
| 1692 } | 1694 } |
| 1693 }; | 1695 }; |
| 1694 | 1696 |
| 1695 | 1697 |
| 1696 } } // namespace v8::internal | 1698 } } // namespace v8::internal |
| 1697 | 1699 |
| 1698 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1700 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
| OLD | NEW |