mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
Support: Delete {aligned_,}{u,}{little,big}8_t
The byte has no endianness, so these types don't make sense. uint8_t should be used instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217631 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -353,11 +353,11 @@ struct ExceptionDataRecord {
|
||||
return makeArrayRef(&Data[Offset], EpilogueCount());
|
||||
}
|
||||
|
||||
ArrayRef<support::ulittle8_t> UnwindByteCode() const {
|
||||
ArrayRef<uint8_t> UnwindByteCode() const {
|
||||
const size_t Offset = HeaderWords(*this)
|
||||
+ (E() ? 0 : EpilogueCount());
|
||||
const support::ulittle8_t *ByteCode =
|
||||
reinterpret_cast<const support::ulittle8_t *>(&Data[Offset]);
|
||||
const uint8_t *ByteCode =
|
||||
reinterpret_cast<const uint8_t *>(&Data[Offset]);
|
||||
return makeArrayRef(ByteCode, CodeWords() * sizeof(uint32_t));
|
||||
}
|
||||
|
||||
@@ -380,4 +380,3 @@ inline size_t HeaderWords(const ExceptionDataRecord &XR) {
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user