mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
Add a helper method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21486 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ea1049139e
commit
3fa94bffcb
@ -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…
Reference in New Issue
Block a user