diff options
| author | Zachary Turner <zturner@google.com> | 2018-12-04 23:56:07 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2018-12-04 23:56:07 +0000 |
| commit | 68b6a46fedf3599be1f54b98f6c4917ecd45ca05 (patch) | |
| tree | 7145ae7b671e7d278202e3185ab81f21583c7304 | |
| parent | f6d96e0f985cc1f69aeb8dfbf962e75e711fb163 (diff) | |
| download | bcm5719-llvm-68b6a46fedf3599be1f54b98f6c4917ecd45ca05.tar.gz bcm5719-llvm-68b6a46fedf3599be1f54b98f6c4917ecd45ca05.zip | |
Remove the hash code from CVRecord.
This is no longer used and is just taking up space in the structure.
Heap allocation of this structure is on the critical path, so space
actually matters.
llvm-svn: 348318
| -rw-r--r-- | llvm/include/llvm/DebugInfo/CodeView/CVRecord.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h b/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h index 9dbeb438f4a..11ca9ff108d 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h +++ b/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h @@ -45,13 +45,8 @@ public: return RecordData.drop_front(sizeof(RecordPrefix)); } - Optional<uint32_t> hash() const { return Hash; } - - void setHash(uint32_t Value) { Hash = Value; } - Kind Type; ArrayRef<uint8_t> RecordData; - Optional<uint32_t> Hash; }; template <typename Kind> struct RemappedRecord { |

