From 613c802c8cf6d9ccf0404e6a27039afde922a4a2 Mon Sep 17 00:00:00 2001 From: parrt Date: Sun, 24 Jul 2011 15:26:52 -0800 Subject: [PATCH] rm dead code [git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8905] --- .../src/org/antlr/v4/runtime/atn/ParserATNSimulator.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/runtime/Java/src/org/antlr/v4/runtime/atn/ParserATNSimulator.java b/runtime/Java/src/org/antlr/v4/runtime/atn/ParserATNSimulator.java index ad658f009..01444e2c1 100644 --- a/runtime/Java/src/org/antlr/v4/runtime/atn/ParserATNSimulator.java +++ b/runtime/Java/src/org/antlr/v4/runtime/atn/ParserATNSimulator.java @@ -52,14 +52,6 @@ public class ParserATNSimulator extends ATNSimulator { protected Set closureBusy = new HashSet(); - /** 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(); @@ -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);