charmxi sdag: Delete an unused function
authorPhil Miller <mille121@illinois.edu>
Mon, 26 Mar 2012 20:16:03 +0000 (15:16 -0500)
committerPhil Miller <mille121@illinois.edu>
Mon, 26 Mar 2012 20:16:03 +0000 (15:16 -0500)
src/xlat-i/sdag/CSdagConstruct.C
src/xlat-i/xi-symbol.h

index 4592f8eb9afaa183f82bb22b91d0965187f47330..e5bbea57ff88af5a7f35632b9be788cb6249d5fa 100644 (file)
@@ -1264,32 +1264,6 @@ void SdagConstruct::generateAtomic(XStr& op)
   op << "  }\n\n";
 }
 
-void SdagConstruct::generatePrototype(XStr& op, ParamList *list)
-{
-   ParamList *pl = list;
-   int count = 0;
-
-   if (pl->isVoid() == 1) {
-     op << "void"; 
-   }
-   else {
-     while(pl != NULL) {
-       if (count > 0)
-          op <<", ";
-       op << pl->param->getType();
-
-       if (pl->isReference())
-         op << "&";
-
-       op << pl->getGivenName();
-
-       pl = pl->next;
-       count++;
-     }
-   }
-}
-
-
 void SdagConstruct::generatePrototype(XStr& op, TList<CStateVar*>& list)
 {
   CStateVar *sv;
index 907d5f4958a3372fb8a30e48d499b5e70f6f2dc3..734f336acab3362c617875a2392d9cef5541f07f 100644 (file)
@@ -1232,7 +1232,6 @@ private:
   void generateAtomic(XStr& op);
   void generateForward(XStr& op);
   void generateConnect(XStr& op);
-  void generatePrototype(XStr& op, ParamList *list);
   void generatePrototype(XStr& op, TList<CStateVar*>&);
   void generateCall(XStr& op, TList<CStateVar*>&,
                     const char* name, const char* nameSuffix = 0);