rm dead code

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8905]
This commit is contained in:
parrt 2011-07-24 15:26:52 -08:00
parent b4b02bb813
commit 613c802c8c
1 changed files with 0 additions and 9 deletions

View File

@ -52,14 +52,6 @@ public class ParserATNSimulator extends ATNSimulator {
protected Set<ATNConfig> closureBusy = new HashSet<ATNConfig>();
/** Upon entry for prediction, we might need to execute actions and
* we need to know original context passed to us from parser or
* lexer. This is the stack and any args, locals, labels, etc...
* Meaningless across adaptivePredict() calls but easier as field
* than passing down many function calls.
protected RuleContext _ctx;
*/
public ParserATNSimulator(ATN atn) {
super(atn);
ctxToDFAs = new HashMap<RuleContext, DFA[]>();
@ -78,7 +70,6 @@ public class ParserATNSimulator extends ATNSimulator {
public int adaptivePredict(TokenStream input, int decision, RuleContext originalContext) {
predict_calls++;
// this._ctx = originalContext;
DFA dfa = decisionToDFA[decision];
if ( dfa==null || dfa.s0==null ) {
ATNState startState = atn.decisionToState.get(decision);