summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CallingConvEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-28 05:29:06 +0000
committerChris Lattner <sabre@nondot.org>2007-02-28 05:29:06 +0000
commit7fb0823a7bb91c8176f84461de30a1da6170b66e (patch)
tree8d546e556326eaea1bcc97ddc57a97858473fbaf /llvm/utils/TableGen/CallingConvEmitter.cpp
parent0706d8496c871151421964dd2c386c8c4169cf9d (diff)
downloadbcm5719-llvm-7fb0823a7bb91c8176f84461de30a1da6170b66e.tar.gz
bcm5719-llvm-7fb0823a7bb91c8176f84461de30a1da6170b66e.zip
rename some CCActions
llvm-svn: 34724
Diffstat (limited to 'llvm/utils/TableGen/CallingConvEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/CallingConvEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/CallingConvEmitter.cpp b/llvm/utils/TableGen/CallingConvEmitter.cpp
index d15b1f9c60c..b85d828f9d7 100644
--- a/llvm/utils/TableGen/CallingConvEmitter.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud