mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Add some cleanup to the DataLayout changes requested by Chandler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166607 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -262,6 +262,14 @@ public:
|
||||
}
|
||||
return 8*val->second.TypeBitWidth;
|
||||
}
|
||||
/// Layout pointer size, in bits, based on the type.
|
||||
/// If this function is called with a pointer type, then
|
||||
/// the type size of the pointer is returned.
|
||||
/// If this function is called with a vector of pointers,
|
||||
/// then the type size of the pointer is returned.
|
||||
/// Otherwise the type sizeo f a default pointer is returned.
|
||||
unsigned getPointerTypeSizeInBits(Type* Ty) const;
|
||||
|
||||
/// Size examples:
|
||||
///
|
||||
/// Type SizeInBits StoreSizeInBits AllocSizeInBits[*]
|
||||
|
Reference in New Issue
Block a user