mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-06 19:37:56 +00:00
Add a helper method
llvm-svn: 21486
This commit is contained in:
parent
dfae677997
commit
9484bc95af
@ -85,6 +85,7 @@ public:
|
||||
unsigned char getDoubleAlignment() const { return DoubleAlignment; }
|
||||
unsigned char getPointerAlignment() const { return PointerAlignment; }
|
||||
unsigned char getPointerSize() const { return PointerSize; }
|
||||
unsigned char getPointerSizeInBits()const { return PointerSize*8; }
|
||||
|
||||
/// getTypeSize - Return the number of bytes necessary to hold the specified
|
||||
/// type.
|
||||
|
Loading…
x
Reference in New Issue
Block a user