diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-28 05:29:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-28 05:29:06 +0000 |
commit | e3bab80e338ac81b5b911c6ebc513aeafc335ce5 (patch) | |
tree | 4289950225804fcc5d2a50d6f724a71e786b9d50 /utils | |
parent | fd3542f84ded13a83f31ed895b46d54a7659be27 (diff) |
rename some CCActions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/CallingConvEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/CallingConvEmitter.cpp b/utils/TableGen/CallingConvEmitter.cpp index d15b1f9c60..b85d828f9d 100644 --- a/utils/TableGen/CallingConvEmitter.cpp +++ b/utils/TableGen/CallingConvEmitter.cpp @@ -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(); |