forked from OSchip/llvm-project
parent
44b08bfeeb
commit
d7e05d628a
|
@ -101,6 +101,7 @@ static const char *GetBlockName(unsigned BlockID,
|
||||||
default: return 0;
|
default: return 0;
|
||||||
case bitc::MODULE_BLOCK_ID: return "MODULE_BLOCK";
|
case bitc::MODULE_BLOCK_ID: return "MODULE_BLOCK";
|
||||||
case bitc::PARAMATTR_BLOCK_ID: return "PARAMATTR_BLOCK";
|
case bitc::PARAMATTR_BLOCK_ID: return "PARAMATTR_BLOCK";
|
||||||
|
case bitc::PARAMATTR_GROUP_BLOCK_ID: return "PARAMATTR_GROUP_BLOCK_ID";
|
||||||
case bitc::TYPE_BLOCK_ID_NEW: return "TYPE_BLOCK_ID";
|
case bitc::TYPE_BLOCK_ID_NEW: return "TYPE_BLOCK_ID";
|
||||||
case bitc::CONSTANTS_BLOCK_ID: return "CONSTANTS_BLOCK";
|
case bitc::CONSTANTS_BLOCK_ID: return "CONSTANTS_BLOCK";
|
||||||
case bitc::FUNCTION_BLOCK_ID: return "FUNCTION_BLOCK";
|
case bitc::FUNCTION_BLOCK_ID: return "FUNCTION_BLOCK";
|
||||||
|
@ -159,7 +160,9 @@ static const char *GetCodeName(unsigned CodeID, unsigned BlockID,
|
||||||
case bitc::PARAMATTR_BLOCK_ID:
|
case bitc::PARAMATTR_BLOCK_ID:
|
||||||
switch (CodeID) {
|
switch (CodeID) {
|
||||||
default: return 0;
|
default: return 0;
|
||||||
|
case bitc::PARAMATTR_CODE_ENTRY_OLD: return "ENTRY";
|
||||||
case bitc::PARAMATTR_CODE_ENTRY: return "ENTRY";
|
case bitc::PARAMATTR_CODE_ENTRY: return "ENTRY";
|
||||||
|
case bitc::PARAMATTR_GRP_CODE_ENTRY: return "ENTRY";
|
||||||
}
|
}
|
||||||
case bitc::TYPE_BLOCK_ID_NEW:
|
case bitc::TYPE_BLOCK_ID_NEW:
|
||||||
switch (CodeID) {
|
switch (CodeID) {
|
||||||
|
|
Loading…
Reference in New Issue