Interpreter doesn't use compiler env - removed dead field
git-svn-id: svn://10.0.0.236/trunk@259423 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
dd143fdf6e
commit
b5fa596eea
@ -59,7 +59,6 @@ import org.mozilla.javascript.debug.DebugFrame;
|
||||
public final class Interpreter extends Icode implements Evaluator
|
||||
{
|
||||
// data for parsing
|
||||
CompilerEnvirons compilerEnv;
|
||||
InterpreterData itsData;
|
||||
|
||||
static final int EXCEPTION_TRY_START_SLOT = 0;
|
||||
@ -230,7 +229,6 @@ public final class Interpreter extends Icode implements Evaluator
|
||||
String encodedSource,
|
||||
boolean returnFunction)
|
||||
{
|
||||
this.compilerEnv = compilerEnv;
|
||||
CodeGenerator cgen = new CodeGenerator();
|
||||
itsData = cgen.compile(compilerEnv, tree, encodedSource, returnFunction);
|
||||
return itsData;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user