int weakID = smfe.getWeaklyConnectedGroupID(taskOrStallSite);
String blockName;
+ //No need generate code for empty traverser
+ if (smfe.isEmpty())
+ return;
+
if( isStallSite ) {
blockName = taskOrStallSite.toString();
processedStallSites.put(taskOrStallSite, var);
blockName = task.getPrettyIdentifier();
}
- //No need generate code for empty traverser
- if (smfe.isEmpty())
- return;
+
String methodName = "void traverse___" + inVar + removeInvalidChars(blockName) + "___(void * InVar, ";
int index = -1;