[llvm-commits] CVS: llvm/utils/TableGen/CallingConvEmitter.cpp

Chris Lattner sabre at nondot.org
Tue Feb 27 21:29:23 PST 2007



Changes in directory llvm/utils/TableGen:

CallingConvEmitter.cpp updated: 1.3 -> 1.4
---
Log message:

rename some CCActions


---
Diffs of the changes:  (+2 -2)

 CallingConvEmitter.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/utils/TableGen/CallingConvEmitter.cpp
diff -u llvm/utils/TableGen/CallingConvEmitter.cpp:1.3 llvm/utils/TableGen/CallingConvEmitter.cpp:1.4
--- llvm/utils/TableGen/CallingConvEmitter.cpp:1.3	Tue Feb 27 22:43:48 2007
+++ llvm/utils/TableGen/CallingConvEmitter.cpp	Tue Feb 27 23:29:06 2007
@@ -66,7 +66,7 @@
   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 @@
         O << "LocVT == " << getEnumName(getValueType(VT));
       }
 
-    } else if (Action->isSubClassOf("CCMatchIf")) {
+    } else if (Action->isSubClassOf("CCIf")) {
       O << Action->getValueAsString("Predicate");
     } else {
       Action->dump();






More information about the llvm-commits mailing list