mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Mark some Type and EVT methods as LLVM_READONLY.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198115 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -132,7 +132,7 @@ unsigned Type::getPrimitiveSizeInBits() const {
|
||||
/// getScalarSizeInBits - If this is a vector type, return the
|
||||
/// getPrimitiveSizeInBits value for the element type. Otherwise return the
|
||||
/// getPrimitiveSizeInBits value for this type.
|
||||
unsigned Type::getScalarSizeInBits() {
|
||||
unsigned Type::getScalarSizeInBits() const {
|
||||
return getScalarType()->getPrimitiveSizeInBits();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user