mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14201 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -432,7 +432,7 @@ bool DSNode::mergeTypeInfo(const Type *NewTy, unsigned Offset,
|
||||
while (O < Offset) {
|
||||
assert(Offset-O < TD.getTypeSize(SubType) && "Offset out of range!");
|
||||
|
||||
switch (SubType->getPrimitiveID()) {
|
||||
switch (SubType->getTypeID()) {
|
||||
case Type::StructTyID: {
|
||||
const StructType *STy = cast<StructType>(SubType);
|
||||
const StructLayout &SL = *TD.getStructLayout(STy);
|
||||
@ -488,7 +488,7 @@ bool DSNode::mergeTypeInfo(const Type *NewTy, unsigned Offset,
|
||||
const Type *NextSubType = 0;
|
||||
unsigned NextSubTypeSize = 0;
|
||||
unsigned NextPadSize = 0;
|
||||
switch (SubType->getPrimitiveID()) {
|
||||
switch (SubType->getTypeID()) {
|
||||
case Type::StructTyID: {
|
||||
const StructType *STy = cast<StructType>(SubType);
|
||||
const StructLayout &SL = *TD.getStructLayout(STy);
|
||||
|
Reference in New Issue
Block a user