mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 13:10:42 +00:00
rename some CCActions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34724 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd3542f84d
commit
e3bab80e33
@ -66,7 +66,7 @@ void CallingConvEmitter::EmitAction(Record *Action,
|
||||
if (Action->isSubClassOf("CCPredicateAction")) {
|
||||
O << IndentStr << "if (";
|
||||
|
||||
if (Action->isSubClassOf("CCMatchType")) {
|
||||
if (Action->isSubClassOf("CCIfType")) {
|
||||
ListInit *VTs = Action->getValueAsListInit("VTs");
|
||||
for (unsigned i = 0, e = VTs->getSize(); i != e; ++i) {
|
||||
Record *VT = VTs->getElementAsRecord(i);
|
||||
@ -74,7 +74,7 @@ void CallingConvEmitter::EmitAction(Record *Action,
|
||||
O << "LocVT == " << getEnumName(getValueType(VT));
|
||||
}
|
||||
|
||||
} else if (Action->isSubClassOf("CCMatchIf")) {
|
||||
} else if (Action->isSubClassOf("CCIf")) {
|
||||
O << Action->getValueAsString("Predicate");
|
||||
} else {
|
||||
Action->dump();
|
||||
|
Loading…
Reference in New Issue
Block a user