Remove unreferenced branch targets

This commit is contained in:
Sam Harwell 2013-02-25 12:48:03 -06:00
parent d9a8735361
commit d5addbd287
3 changed files with 3 additions and 4 deletions

View File

@ -618,7 +618,7 @@ namespace Antlr4.Runtime.Atn
}
nextTransition_continue: ;
}
nextTransition_break: ;
if (optimizedTransitions != null)
{
if (state.IsOptimized)
@ -634,7 +634,7 @@ nextTransition_break: ;
}
}
}
nextState_break: ;
return removedEdges;
}

View File

@ -515,7 +515,7 @@ namespace Antlr4.Runtime.Atn
}
outer_continue: ;
}
outer_break: ;
return result.ToArray();
}

View File

@ -218,7 +218,6 @@ namespace Antlr4.Runtime
return _token;
outer_continue: ;
}
outer_break: ;
}
finally
{