public static Tag getParsePhase(Journal journal)
{
Tag parsePhase = null;
Task lastTask = getLastTask(journal);
if (lastTask != null)
{
CompilerName compilerName = lastTask.getCompiler();
String parseAttributeName = ATTR_PARSE;
if (compilerName == CompilerName.C1)
{
parseAttributeName = ATTR_BUILDIR;
}
List<Tag> parsePhases = lastTask.getNamedChildrenWithAttribute(TAG_PHASE, ATTR_NAME, parseAttributeName);
int count = parsePhases.size();
if (count != 1)
{