Modified to conform to the new Charm API.
authorMilind Bhandarkar <milind@cs.uiuc.edu>
Mon, 15 Feb 1999 21:48:05 +0000 (21:48 +0000)
committerMilind Bhandarkar <milind@cs.uiuc.edu>
Mon, 15 Feb 1999 21:48:05 +0000 (21:48 +0000)
src/langs/sdag/xlator/CEntry.C

index f4b3fc66d76fe8c35b934f4b0b886ccf591117ed..0cb281f9bddf0cfeda55577272ecc3f6d43b9768 100644 (file)
@@ -23,7 +23,7 @@ void CEntry::generateCode(CString *className)
   // actual code begins
   pC(1,"CWhenTrigger *tr;\n");
   if(refNumNeeded) {
-    pC(1,"int refnum = GetRefNumber(msg);\n");
+    pC(1,"int refnum = CkGetRefNum(msg);\n");
     pC(1,"__cDep->bufferMessage(%d, (void *) msg, refnum);\n", entryNum);
     pC(1,"tr = __cDep->getTrigger(%d, refnum);\n", entryNum);
   } else {